I installed Kubuntu 9.10 and Ubuntu 9.10. Both had no internet
connection. I had numerous errors like no repository sources, errors
like 'Requested packages are already installed' when they were not
present on the box and many other non-related faults. All were caused by
lack of a DNS server connection. After a week of trying various things
like disabling ipv6 and getting nowhere (although it did fix Firefox), I
did an 'apt-get update' and instead of just failing it resolved to
10.0.0.0 (not my dns server or router). I read that this could be
something to do with D-Link routers not supporting ipv6. That problem
aside, after some more research I found that the 10.0.0.0 problem
relates to the /etc/resolv.conf file being overwritten with some of the
info from /etc/dhcp3/dhclient.conf. So to fix it....

su {then enter pass}
nano /etc/dhcp3/dhclient.conf

then edit the following line from....
#prepend domain-name-server 127xxx.xxx.xxx.1, xxx.xxx.xxx.2

to....
prepend domain-name-server 111.222.333.444

(where 111.222.333.444 is *your* DNS server)

then save the file and disconnect and reconnect your wlan0 and/or eth0
interface via the network connection icon on the notification bar/panel.
When the interface is up the etc/resolv.conf file still gets overwritten
and the incorrect nameserver 10.0.0.0 is still there but the correct DNS
server is added _before_ it. Thus the internet (and apt-get etc) now
works fine :-D

So you could say this problem is solved. It seems this problem is giving
*ubuntu 9.10 a bad name. Let's hope the next version resolves this (pun
intended ;-)


Regards,
Guru
http://guru.mameworld.info

-- 
keeps rewriting /etc/resolv.conf
https://bugs.launchpad.net/bugs/435874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to