Internet access problem
R Page-Jones
rmp-j at ukonline.co.uk
Sat Nov 7 19:55:05 UTC 2009
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 at 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 at robin-desktop:~$ /etc/resolv.config
bash: /etc/resolv.config: No such file or directory
robin at 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 at 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
More information about the ubuntu-users
mailing list