Internet access problem

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I have installed Ubantu 9.10 dual boot with XP

I am using a D-link router DSL-G624T with wired connection.

I have no internet problems with XP, but when booted into Ubuntu I
cannot access the internet.
I have a connection to the router.  (Putting 192.168.1.1 as a URL in
Firefox brings up the router page.)

I have tried editing the IP4 stettings to "manual". but I cannot
complete this action because I don't know what to put in to "Search
domains" box. So "apply" stays greyed out.

Any advice would be greatly appreciated.

Rob





--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones:

> I am using a D-link router DSL-G624T with wired connection.
>
> I have no internet problems with XP, but when booted into Ubuntu I
> cannot access the internet.
> I have a connection to the router.  (Putting 192.168.1.1 as a URL in
> Firefox brings up the router page.)

Since you can connect to the router, your network interface obviously
has been assigned an IP address.
Does (on the command line)
ping -c 2 91.189.90.41
show replies while
ping -c 2 www.ubuntu.com
does not? If so, post the contents of /etc/resolv.conf.
The output of the command
route -n
might be useful too.

> I have tried editing the IP4 stettings to "manual". but I cannot
> complete this action because I don't know what to put in to "Search
> domains" box. So "apply" stays greyed out.

Since you probably didn't do any manual configuration on XP, there
should be no need for manual configuration in Ubuntu either.
But as an experiment you could enter something like foo.bar there (just
to enable you to apply the settings).
The setting of "Search domains" isn't exactly important but rather
something for convenience. Simplified explanation: if your machine wants
to find the IP address of a simple host name, like "myhost", and fails
it will append the value of "Search domains" to the host and try
again[1]. I. e. it would try to find an IP for myhost.foo.bar in this
example.

[1] The explanation isn't technically exact, just meant to provide an
idea for what "Search domains" is good for. If you're interested, take a
look at
man resolv.conf
which describes this technically accurate.

--
Regards
  mks

--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Markus Schönhaber wrote:
> R Page-Jones:
>  
Many thanks for the reply.

>  
>> I am using a D-link router DSL-G624T with wired connection.
>>
>> I have no internet problems with XP, but when booted into Ubuntu I
>> cannot access the internet.
>> I have a connection to the router.  (Putting 192.168.1.1 as a URL in
>> Firefox brings up the router page.)
>>    
>
> Since you can connect to the router, your network interface obviously
> has been assigned an IP address.
> Does (on the command line)
> ping -c 2 91.189.90.41
> show replies while
> ping -c 2 www.ubuntu.com
> does not? If so, post the contents of /etc/resolv.conf.
> The output of the command
> route -n
> might be useful too.
>  
/etc/resolv.config was not recognised.so I have posted  the whole the
text from my pings:

PING 91.189.90.41 (91.189.90.41) 56(84) bytes of data.
64 bytes from 91.189.90.41: icmp_seq=1 ttl=50 time=74.9 ms
64 bytes from 91.189.90.41: icmp_seq=2 ttl=50 time=75.4 ms

--- 91.189.90.41 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 74.942/75.178/75.415/0.362 ms
robin@robin-desktop:~$ ping -c 2 www.ubunti.com
PING www.ubunti.com (64.20.60.106) 56(84) bytes of data.
64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=1 ttl=54 time=143 ms
64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=2 ttl=54 time=142 ms

--- www.ubunti.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 142.137/142.885/143.633/0.748 ms
robin@robin-desktop:~$  /etc/resolv.config
bash: /etc/resolv.config: No such file or directory
robin@robin-desktop:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
robin@robin-desktop:~$


>  
>> I have tried editing the IP4 stettings to "manual". but I cannot
>> complete this action because I don't know what to put in to "Search
>> domains" box. So "apply" stays greyed out.
>>    
>
> Since you probably didn't do any manual configuration on XP, there
> should be no need for manual configuration in Ubuntu either.
> But as an experiment you could enter something like foo.bar there (just
> to enable you to apply the settings).
> The setting of "Search domains" isn't exactly important but rather
> something for convenience. Simplified explanation: if your machine wants
> to find the IP address of a simple host name, like "myhost", and fails
> it will append the value of "Search domains" to the host and try
> again[1]. I. e. it would try to find an IP for myhost.foo.bar in this
> example.
>
> [1] The explanation isn't technically exact, just meant to provide an
> idea for what "Search domains" is good for. If you're interested, take a
> look at
> man resolv.conf
> which describes this technically accurate.
>  
Putting foo.bar in the domain search box didn't have any effect. The
"apply" button stayed greyed out. I must be doing something wrong here
but I can't see what!

Rob


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Leonard Chatagnier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones wrote:

> Markus Schönhaber wrote:
>    
>> R Page-Jones:
>>
>>      
> Many thanks for the reply.
>    
>>
>>      
>>> I am using a D-link router DSL-G624T with wired connection.
>>>
>>> I have no internet problems with XP, but when booted into Ubuntu I
>>> cannot access the internet.
>>> I have a connection to the router.  (Putting 192.168.1.1 as a URL in
>>> Firefox brings up the router page.)
>>>
>>>        
>> Since you can connect to the router, your network interface obviously
>> has been assigned an IP address.
>> Does (on the command line)
>> ping -c 2 91.189.90.41
>> show replies while
>> ping -c 2 www.ubuntu.com
>> does not? If so, post the contents of /etc/resolv.conf.
>> The output of the command
>> route -n
>> might be useful too.
>>
>>      
> /etc/resolv.config was not recognised.so I have posted  the whole the
> text from my pings:
>
> PING 91.189.90.41 (91.189.90.41) 56(84) bytes of data.
> 64 bytes from 91.189.90.41: icmp_seq=1 ttl=50 time=74.9 ms
> 64 bytes from 91.189.90.41: icmp_seq=2 ttl=50 time=75.4 ms
>
> --- 91.189.90.41 ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1002ms
> rtt min/avg/max/mdev = 74.942/75.178/75.415/0.362 ms
> robin@robin-desktop:~$ ping -c 2 www.ubunti.com
> PING www.ubunti.com (64.20.60.106) 56(84) bytes of data.
> 64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=1 ttl=54 time=143 ms
> 64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=2 ttl=54 time=142 ms
>
> --- www.ubunti.com ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
> rtt min/avg/max/mdev = 142.137/142.885/143.633/0.748 ms
>    

> robin@robin-desktop:~$  /etc/resolv.config
> bash: /etc/resolv.config: No such file or directory
>    
The correct command should be:

cat /etc/resolv.conf

> robin@robin-desktop:~$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
> robin@robin-desktop:~$
>
>
>    
>>
>>      
>>> I have tried editing the IP4 stettings to "manual". but I cannot
>>> complete this action because I don't know what to put in to "Search
>>> domains" box. So "apply" stays greyed out.
>>>
>>>        
>> Since you probably didn't do any manual configuration on XP, there
>> should be no need for manual configuration in Ubuntu either.
>> But as an experiment you could enter something like foo.bar there (just
>> to enable you to apply the settings).
>> The setting of "Search domains" isn't exactly important but rather
>> something for convenience. Simplified explanation: if your machine wants
>> to find the IP address of a simple host name, like "myhost", and fails
>> it will append the value of "Search domains" to the host and try
>> again[1]. I. e. it would try to find an IP for myhost.foo.bar in this
>> example.
>>
>> [1] The explanation isn't technically exact, just meant to provide an
>> idea for what "Search domains" is good for. If you're interested, take a
>> look at
>> man resolv.conf
>> which describes this technically accurate.
>>
>>      
> Putting foo.bar in the domain search box didn't have any effect. The
> "apply" button stayed greyed out. I must be doing something wrong here
> but I can't see what!
>
> Rob
>
>
>    


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones:

> Markus Schönhaber wrote:

>> Since you can connect to the router, your network interface obviously
>> has been assigned an IP address.
>> Does (on the command line)
>> ping -c 2 91.189.90.41
>> show replies while
>> ping -c 2 www.ubuntu.com
>> does not? If so, post the contents of /etc/resolv.conf.
>> The output of the command
>> route -n
>> might be useful too.

> PING 91.189.90.41 (91.189.90.41) 56(84) bytes of data.
> 64 bytes from 91.189.90.41: icmp_seq=1 ttl=50 time=74.9 ms
> 64 bytes from 91.189.90.41: icmp_seq=2 ttl=50 time=75.4 ms

Good, your router forwards packets sent by your machine to the internet
and vice versa.

> robin@robin-desktop:~$ ping -c 2 www.ubunti.com
> PING www.ubunti.com (64.20.60.106) 56(84) bytes of data.
> 64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=1 ttl=54 time=143 ms
> 64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=2 ttl=54 time=142 ms

Good. Name resolution seems to work too.
BTW: I was talking about www.ubuntu.com and not www.ubunti.com. And the
interesting thing is, I don't get ping replies from www.ubunti.com while
you do. Obviously your internet works even better than mine ;-)

> robin@robin-desktop:~$  /etc/resolv.config

It's /etc/resolv.conf, which is simply a text file. Opening it in a text
editor and pasting it's contents would be enough.

> robin@robin-desktop:~$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

That also looks reasonable to me.

> Putting foo.bar in the domain search box didn't have any effect. The
> "apply" button stayed greyed out. I must be doing something wrong here
> but I can't see what!

I was wondering about that but you sounded so sure. As I explained, the
search domain is not something which is not technically necessary to
make a network connection work. Therefore I see no reason why no
information in this field should cause the Apply button to stay greyed
out. What information did you not enter in this dialogue either?

Anyway, all the information you provided above seems to indicate that
your network connection is working perfectly well. So you should
probably explain what *exactly* you're talking about when you say "I
cannot access the internet". What exactly are you doing? What exactly is
the result of this action (error message, ...)?

--
Regards
  mks

--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Markus Schönhaber wrote:

> R Page-Jones:
>> Markus Schönhaber wrote:
>>    
>>> Since you can connect to the router, your network interface obviously
>>> has been assigned an IP address.
>>> Does (on the command line)
>>> ping -c 2 91.189.90.41
>>> show replies while
>>> ping -c 2 www.ubuntu.com
>>> does not? If so, post the contents of /etc/resolv.conf.
>>> The output of the command
>>> route -n
>>> might be useful too.
>>>      
>
>  
>> PING 91.189.90.41 (91.189.90.41) 56(84) bytes of data.
>> 64 bytes from 91.189.90.41: icmp_seq=1 ttl=50 time=74.9 ms
>> 64 bytes from 91.189.90.41: icmp_seq=2 ttl=50 time=75.4 ms
>>    
>
> Good, your router forwards packets sent by your machine to the internet
> and vice versa.
>
>  
>> robin@robin-desktop:~$ ping -c 2 www.ubunti.com
>> PING www.ubunti.com (64.20.60.106) 56(84) bytes of data.
>> 64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=1 ttl=54 time=143 ms
>> 64 bytes from www.ubunti.com (64.20.60.106): icmp_seq=2 ttl=54 time=142 ms
>>    
>
> Good. Name resolution seems to work too.
> BTW: I was talking about www.ubuntu.com and not www.ubunti.com. And the
> interesting thing is, I don't get ping replies from www.ubunti.com while
> you do. Obviously your internet works even better than mine ;-)
>
>  
>> robin@robin-desktop:~$  /etc/resolv.config
>>    
>
> It's /etc/resolv.conf, which is simply a text file. Opening it in a text
> editor and pasting it's contents would be enough.
>  /etc/resolv.conf   came back with "no permission" but cat /etc/resolv.con
> gave this result: # Generated by NetworkManager nameserver 192.168.1.1

> robin@robin-desktop:~$ route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
>  
>
> That also looks reasonable to me.
>
>  
>> Putting foo.bar in the domain search box didn't have any effect. The
>> "apply" button stayed greyed out. I must be doing something wrong here
>> but I can't see what!
>>    
>
> I was wondering about that but you sounded so sure. As I explained, the
> search domain is not something which is not technically necessary to
> make a network connection work. Therefore I see no reason why no
> information in this field should cause the Apply button to stay greyed
> out. What information did you not enter in this dialogue either?
>  
I put in an ip address for the computer (192.168.1.6), the Netmask
(255.255.255.0), the gateway (192.168.1.1)
and the Primary DNS supplied by my ISP (212.135.1.36)
> Anyway, all the information you provided above seems to indicate that
> your network connection is working perfectly well. So you should
> probably explain what *exactly* you're talking about when you say "I
> cannot access the internet". What exactly are you doing? What exactly is
> the result of this action (error message, ...)?
>  
Looking at the desktop:
Mouse arrow on the small "connection" icon at top RHS of screen shows
"Wired network connection Auto eth0 active"
Clicking the Firefox icon brings up the Welcome to Ubunto 9.10 screen.
Clicking on any of the links has no effect.
Trying google  (top RHS)  with some word  has no effect.
Putting a known URL in the Firefox address has no effect.

Your help much appreciated.


Rob


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones:

> Markus Schönhaber wrote:

>> I was wondering about that but you sounded so sure. As I explained, the
>> search domain is not something which is not technically necessary to
>> make a network connection work. Therefore I see no reason why no
>> information in this field should cause the Apply button to stay greyed
>> out. What information did you not enter in this dialogue either?

> I put in an ip address for the computer (192.168.1.6), the Netmask
> (255.255.255.0), the gateway (192.168.1.1)
> and the Primary DNS supplied by my ISP (212.135.1.36)

Hm, for me, the apply button gets enabled after entering just IP and
netmask.

>> Anyway, all the information you provided above seems to indicate that
>> your network connection is working perfectly well. So you should
>> probably explain what *exactly* you're talking about when you say "I
>> cannot access the internet". What exactly are you doing? What exactly is
>> the result of this action (error message, ...)?
>>  
> Looking at the desktop:
> Mouse arrow on the small "connection" icon at top RHS of screen shows
> "Wired network connection Auto eth0 active"
> Clicking the Firefox icon brings up the Welcome to Ubunto 9.10 screen.
> Clicking on any of the links has no effect.
> Trying google  (top RHS)  with some word  has no effect.
> Putting a known URL in the Firefox address has no effect.

What does "no effect" exactly mean? Does even the little circular
spinner not show any activity?
What does happen if you type something like
http://www.google.com
in the URL bar and wait for a couple of minutes? Firefox should
eventually display some message if it can't retrieve the desired web page.

Some other things you could check:
Did you configure Firefox to use a proxy / is the system configured to
use a proxy that might not be available?
If you have another browser installed on the machine: does the same
happen with it too?
What does (on the command line)
wget http://www.google.com
show?
If you click refresh in update-manager, does it work or do you get any
errors?

--
Regards
  mks


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Markus Schönhaber wrote:
> R Page-Jones:
>  
When I try to access the internet by putting something like
http://www.google.com in the URL bar the spinner icon comes on and after
a few minutes the "connection has timed out" message is displayed.
When I put wget http://www.google.com in the command I get:
robin@robin-desktop:~$ wget http://www.google.com
--2009-11-09 19:48:47--  http://www.google.com/
Resolving www.google.com... 1.0.0.0
Connecting to www.google.com|1.0.0.0|:80...

If I click update manager and then click the "check" box  it says
"Downloading Package Information". After a couple of minutes a message
comes up "An Error Has Occurred" with the following details:
W: Failed to fetch
http://gb.archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg 
Cannot initiate the connection to gb.archive.ubuntu.com:80
(2a01:450:10:1::10).
 - connect (101: Network is unreachable) [IP: 2a01:450:10:1::10 80]

As an experiment I put an xubuntu 9.40 live CD into my computer. The
program came up OK and connected to the internet without any problems. I
checked out a few web addresses and navigated round the web a bit to
check out the operation. All was OK.. (xubantu  8.04 also accesses the
internet without any problem.)

As a newcomer my object is to get some experience of linux and I am
inclined to install a version like this one which I know works OK. That
way I can find out more about the basics such as using the command line.

Once again my thanks for all the help.

Rob







>  
>> Markus Schönhaber wrote:
>>    
>>> I was wondering about that but you sounded so sure. As I explained, the
>>> search domain is not something which is not technically necessary to
>>> make a network connection work. Therefore I see no reason why no
>>> information in this field should cause the Apply button to stay greyed
>>> out. What information did you not enter in this dialogue either?
>>>      
>
>  
>> I put in an ip address for the computer (192.168.1.6), the Netmask
>> (255.255.255.0), the gateway (192.168.1.1)
>> and the Primary DNS supplied by my ISP (212.135.1.36)
>>    
>
> Hm, for me, the apply button gets enabled after entering just IP and
> netmask.
>
>  
>>> Anyway, all the information you provided above seems to indicate that
>>> your network connection is working perfectly well. So you should
>>> probably explain what *exactly* you're talking about when you say "I
>>> cannot access the internet". What exactly are you doing? What exactly is
>>> the result of this action (error message, ...)?
>>>  
>>>      
>> Looking at the desktop:
>> Mouse arrow on the small "connection" icon at top RHS of screen shows
>> "Wired network connection Auto eth0 active"
>> Clicking the Firefox icon brings up the Welcome to Ubunto 9.10 screen.
>> Clicking on any of the links has no effect.
>> Trying google  (top RHS)  with some word  has no effect.
>> Putting a known URL in the Firefox address has no effect.
>>    
>
> What does "no effect" exactly mean? Does even the little circular
> spinner not show any activity?
> What does happen if you type something like
> http://www.google.com
> in the URL bar and wait for a couple of minutes? Firefox should
> eventually display some message if it can't retrieve the desired web page.
>
> Some other things you could check:
> Did you configure Firefox to use a proxy / is the system configured to
> use a proxy that might not be available?
> If you have another browser installed on the machine: does the same
> happen with it too?
> What does (on the command line)
> wget http://www.google.com
> show?
> If you click refresh in update-manager, does it work or do you get any
> errors?
>
>  


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones:

> When I put wget http://www.google.com in the command I get:
> robin@robin-desktop:~$ wget http://www.google.com --2009-11-09
> 19:48:47--  http://www.google.com/ Resolving www.google.com...
> 1.0.0.0 Connecting to www.google.com|1.0.0.0|:80...

Not even remotely good. You should never see a public name
resolved to the address 1.0.0.0 (hm, and I thought we had name
resolution already eliminated from the list of possible problems).
Please show the output of (on the command line)
cat /etc/hosts
and
cat /etc/resolv.conf

> If I click update manager and then click the "check" box  it says
> "Downloading Package Information". After a couple of minutes a
> message comes up "An Error Has Occurred" with the following details:
> W: Failed to fetch
> http://gb.archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg Cannot
> initiate the connection to gb.archive.ubuntu.com:80
> (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP:
> 2a01:450:10:1::10 80]

Hm, interesting. gb.archive.ubuntu.com is resolved to a correct
address. Although it doesn't help you much since you've probably have no
IPv6 connectivity. What does
host gb.archive.ubuntu.com
show?
If you go to
System/Administration/Software Sources
an change "Download from:" to "Main server", does "check" in update
manager work better?

> As an experiment I put an xubuntu 9.40 live CD into my computer. The
>  program came up OK and connected to the internet without any
> problems. I checked out a few web addresses and navigated round the
> web a bit to check out the operation. All was OK.. (xubantu  8.04
> also accesses the internet without any problem.)

Which confirms that it's a configuration problem.
Did your network access ever work on this Ubuntu install?

--
Regards
  mks


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by kauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-10 at 02:12 +0100, Markus Schönhaber wrote:
> Hm, interesting. gb.archive.ubuntu.com is resolved to a correct
> address. Although it doesn't help you much since you've probably have no
> IPv6 connectivity.

I DO have IPv6 connectivity, and I DON'T get IPv6 coming back from
Google:

wget http://www.google.com
--2009-11-10 12:42:26--  http://www.google.com/
Resolving www.google.com... 203.217.23.16, 203.217.23.23, 203.217.23.30
Connecting to www.google.com|203.217.23.16|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.google.com.au/ [following]
--2009-11-10 12:42:27--  http://www.google.com.au/
Resolving www.google.com.au... 203.217.23.30, 203.217.23.16, 203.217.23.23
Reusing existing connection to www.google.com:80.
HTTP request sent, awaiting response... 200 OK

This is "GNU Wget 1.11.4" on 9.04.

Regards, K.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@...)                   +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)

GPG fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF



--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (204 bytes) Download Attachment

Re: Internet access problem

by kauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-11-10 at 12:46 +1100, Karl Auer wrote:
> I DO have IPv6 connectivity, and I DON'T get IPv6 coming back from
> Google:

I meant to add that you can turn IPv6 resolution off in wget with the
"-4" or "--inet4-only" option, or just prefer IPv4 using
"--prefer-family=IPv4".

Regards, K.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@...)                   +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)

GPG fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF



--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (204 bytes) Download Attachment

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Karl Auer:

> On Tue, 2009-11-10 at 02:12 +0100, Markus Schönhaber wrote:
>> Hm, interesting. gb.archive.ubuntu.com is resolved to a correct
>> address. Although it doesn't help you much since you've probably have no
>> IPv6 connectivity.
>
> I DO have IPv6 connectivity, and I DON'T get IPv6 coming back from
> Google:
>
> wget http://www.google.com
> --2009-11-10 12:42:26--  http://www.google.com/
> Resolving www.google.com... 203.217.23.16, 203.217.23.23, 203.217.23.30

That's because Google uses separate names for it's IPv6 enabled services
- at least if you've not taken additional measures to make the "normal"
Google names to resolve to IPv6 addresses:
http://www.google.com/intl/en/ipv6/

But Rob's case is different. For him, update manager wants to connect to
the IPv6 address gb.archive.ubuntu.com resolves to.
OTOH, for him www.google.com resolved to 1.0.0.0. And that's bad.

--
Regards
  mks

--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Lack of audio problem solved

by thomas-257 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I solved the no sound problem.  Or, I discovered the source of it.
The mute mode was checked.  Without audio output the wireless
speakers' transmitter goes into the off mode (and no light).

I came across the above solution after there was a major upgrade.
It is possible that before the upgrade the sound was not working.

Thomas

--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Markus Schönhaber wrote:

> R Page-Jones:
>
>  
>> When I put wget http://www.google.com in the command I get:
>> robin@robin-desktop:~$ wget http://www.google.com --2009-11-09
>> 19:48:47--  http://www.google.com/ Resolving www.google.com...
>> 1.0.0.0 Connecting to www.google.com|1.0.0.0|:80...
>>    
>
> Not even remotely good. You should never see a public name
> resolved to the address 1.0.0.0 (hm, and I thought we had name
> resolution already eliminated from the list of possible problems).
> Please show the output of (on the command line)
> cat /etc/hosts
> and
> cat /etc/resolv.conf
>  
Results as follows:
robin@robin-desktop:~$ cat /etc/hosts
127.0.0.1    localhost
127.0.1.1    robin-desktop

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
robin@robin-desktop:~$
robin@robin-desktop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
robin@robin-desktop:~$


>  
>> If I click update manager and then click the "check" box  it says
>> "Downloading Package Information". After a couple of minutes a
>> message comes up "An Error Has Occurred" with the following details:
>> W: Failed to fetch
>> http://gb.archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg Cannot
>> initiate the connection to gb.archive.ubuntu.com:80
>> (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP:
>> 2a01:450:10:1::10 80]
>>    
>
> Hm, interesting. gb.archive.ubuntu.com is resolved to a correct
> address. Although it doesn't help you much since you've probably have no
> IPv6 connectivity. What does
> host gb.archive.ubuntu.com
> show?
> If you go to
> System/Administration/Software Sources
> an change "Download from:" to "Main server", does "check" in update
> manager work better?
>  
No, it is the same.

>  
>> As an experiment I put an xubuntu 9.40 live CD into my computer. The
>>  program came up OK and connected to the internet without any
>> problems. I checked out a few web addresses and navigated round the
>> web a bit to check out the operation. All was OK.. (xubantu  8.04
>> also accesses the internet without any problem.)
>>    
>
> Which confirms that it's a configuration problem.
> Did your network access ever work on this Ubuntu install?
>  
When I insert the CD rom and run 9.10 from live cd rom, it is still not
possible to access the internet.

Regards
Rob.


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones:

> Markus Schönhaber wrote:
>> R Page-Jones:
>>
>>  
>>> When I put wget http://www.google.com in the command I get:
>>> robin@robin-desktop:~$ wget http://www.google.com --2009-11-09
>>> 19:48:47--  http://www.google.com/ Resolving www.google.com...
>>> 1.0.0.0 Connecting to www.google.com|1.0.0.0|:80...
>>>    
>> Not even remotely good. You should never see a public name
>> resolved to the address 1.0.0.0 (hm, and I thought we had name
>> resolution already eliminated from the list of possible problems).
>> Please show the output of (on the command line)
>> cat /etc/hosts
>> and
>> cat /etc/resolv.conf
>>  
> Results as follows:
> robin@robin-desktop:~$ cat /etc/hosts
> 127.0.0.1    localhost
> 127.0.1.1    robin-desktop
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts

Looks good.

> robin@robin-desktop:~$
> robin@robin-desktop:~$ cat /etc/resolv.conf
> # Generated by NetworkManager
> nameserver 192.168.1.1
> robin@robin-desktop:~$

Looks like what is to be expected, too.
And doesn't explain why www.google.com resolves to 1.0.0.0.

>>> If I click update manager and then click the "check" box  it says
>>> "Downloading Package Information". After a couple of minutes a
>>> message comes up "An Error Has Occurred" with the following details:
>>> W: Failed to fetch
>>> http://gb.archive.ubuntu.com/ubuntu/dists/karmic/Release.gpg Cannot
>>> initiate the connection to gb.archive.ubuntu.com:80
>>> (2a01:450:10:1::10). - connect (101: Network is unreachable) [IP:
>>> 2a01:450:10:1::10 80]
>>>    
>> Hm, interesting. gb.archive.ubuntu.com is resolved to a correct
>> address. Although it doesn't help you much since you've probably have no
>> IPv6 connectivity. What does
>> host gb.archive.ubuntu.com
>> show?
>> If you go to
>> System/Administration/Software Sources
>> an change "Download from:" to "Main server", does "check" in update
>> manager work better?
>>  
> No, it is the same.

Then I'm out of ideas.

Just a last shot in the dark: since update manager tries to connect to
an IPv6 address - do you see any improvement if you disable IPv6?
You could add
ipv6.disable=1
to the boot options.
Easier, and maybe something worth trying first, is disabling IPv6 only
for Firefox: Type
about:config
in the URL bar and press return, accept the warning, and type ipv6 in
the filter bar. You should see the
network.dns.disableIPv6
entry. Double click it to change it's value tor true.
Does that cause any improvement?

--
Regards
  mks

--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by NoOp-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/10/2009 12:03 PM, Markus Schönhaber wrote:
...
>
> Just a last shot in the dark: since update manager tries to connect to
> an IPv6 address - do you see any improvement if you disable IPv6?
> You could add
> ipv6.disable=1
> to the boot options.

That hasn't worked in some time (see the list archives). Perhaps it does
now, but System|Help|Internet and Networks / Troubleshooting seems to
provide a way that might:

<quote>
5.2.7. IPv6 Not Supported

   1. IPv6 is supported by default in Ubuntu and can sometimes cause
problems.
   2. To disable it, open a Terminal (Applications ▸ Accessories ▸
Terminal) and type the command: gksudo gedit /etc/modprobe.d/aliases.
   3. Find the line alias net-pf-10 ipv6 and change it to read alias
net-pf-10 off.
   4. Reboot Ubuntu.
</quote>


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

NoOp wrote:

> On 11/10/2009 12:03 PM, Markus Schönhaber wrote:
> ...
>  
>> Just a last shot in the dark: since update manager tries to connect to
>> an IPv6 address - do you see any improvement if you disable IPv6?
>> You could add
>> ipv6.disable=1
>> to the boot options.
>>    
>
> That hasn't worked in some time (see the list archives). Perhaps it does
> now, but System|Help|Internet and Networks / Troubleshooting seems to
> provide a way that might:
>
> <quote>
> 5.2.7. IPv6 Not Supported
>
>    1. IPv6 is supported by default in Ubuntu and can sometimes cause
> problems.
>    2. To disable it, open a Terminal (Applications ▸ Accessories ▸
> Terminal) and type the command: gksudo gedit /etc/modprobe.d/aliases.
>    3. Find the line alias net-pf-10 ipv6 and change it to read alias
> net-pf-10 off.
>    4. Reboot Ubuntu.
> </quote>
>  
When I enter the command line:

gksudo gedit /etc/modprobe.d/aliases
An empty box comes up with "aliases (/etc/modprobe.d) - gedit" as a title across the top, but the box itself is completely empty.

>
> Rob


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by NoOp-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/10/2009 04:03 PM, R Page-Jones wrote:

> NoOp wrote:
>> On 11/10/2009 12:03 PM, Markus Schönhaber wrote: ...
>>
>>> Just a last shot in the dark: since update manager tries to
>>> connect to an IPv6 address - do you see any improvement if you
>>> disable IPv6? You could add ipv6.disable=1 to the boot options.
>>>
>>
>> That hasn't worked in some time (see the list archives). Perhaps it
>> does now, but System|Help|Internet and Networks / Troubleshooting
>> seems to provide a way that might:
>>
>> <quote> 5.2.7. IPv6 Not Supported
>>
>> 1. IPv6 is supported by default in Ubuntu and can sometimes cause
>> problems. 2. To disable it, open a Terminal (Applications ▸
>> Accessories ▸ Terminal) and type the command: gksudo gedit
>> /etc/modprobe.d/aliases. 3. Find the line alias net-pf-10 ipv6 and
>> change it to read alias net-pf-10 off. 4. Reboot Ubuntu. </quote>
>>
> When I enter the command line:
>
> gksudo gedit /etc/modprobe.d/aliases An empty box comes up with
> "aliases (/etc/modprobe.d) - gedit" as a title across the top, but
> the box itself is completely empty.

Seems that the documentation is _way_ outdated... BTW: that was from
both Jaunty (9.04) and Karmic (9.10) help docs.


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by Markus Schönhaber-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

R Page-Jones:

> When I enter the command line:
>
> gksudo gedit /etc/modprobe.d/aliases
> An empty box comes up with "aliases (/etc/modprobe.d) - gedit" as a title across the top, but the box itself is completely empty.

Did you do what I suggested to disable IPv6 for Firefox? If so, does it
improve things?

As mention previously, to disable IPv6 add
ipv6.disable=1
to the boot options. To do that
gksudo gedit /etc/default/grub
search for the line containing GRUB_CMDLINE_LINUX_DEFAULT, which should
look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
change it to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"
Save the file, quit gedit and do
sudo update-grub
and reboot.

--
Regards
  mks

--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Re: Internet access problem

by R Page-Jones :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eureka!  I did the changes exactly as you said and on the next boot  the
internet was working OK. I checked it out by surfing a few web sites and
all is well.

Once again many thanks.

Rob

Markus Schönhaber wrote:

> R Page-Jones:
>
>  
>> When I enter the command line:
>>
>> gksudo gedit /etc/modprobe.d/aliases
>> An empty box comes up with "aliases (/etc/modprobe.d) - gedit" as a title across the top, but the box itself is completely empty.
>>    
>
> Did you do what I suggested to disable IPv6 for Firefox? If so, does it
> improve things?
>
> As mention previously, to disable IPv6 add
> ipv6.disable=1
> to the boot options. To do that
> gksudo gedit /etc/default/grub
> search for the line containing GRUB_CMDLINE_LINUX_DEFAULT, which should
> look like this:
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
> change it to
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"
> Save the file, quit gedit and do
> sudo update-grub
> and reboot.
>
>  
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.704 / Virus Database: 270.14.60/2495 - Release Date: 11/10/09 19:56:00
>
>  


--
ubuntu-users mailing list
ubuntu-users@...
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
< Prev | 1 - 2 | Next >