every reboot screws up my network

Patrick Asselman iceblink at seti.nl
Fri Mar 30 06:22:44 UTC 2012

 On Thu, 29 Mar 2012 16:58:00 +0000 (UTC), Bruce Bowler wrote:
> On Thu, 29 Mar 2012 09:15:17 -0700, Knute Johnson wrote:
 It might be due to this brilliant thing called networkmanager which was 
 probably invented for laptops using dhcp, but it will readily overwrite 
 your resolve.conf with an empty one on a static ip machine. (If someone 
 can explain the logic behind that please let me know!) It bit me really 
 hard on a remote server that i manage... it lost all access to the 
 outside world. Google for "resolv.conf networkmanager". I think the 
 'solution' is to make resolv.conf non-writeable for root.

 If I ever meet the guy who implemented this networkmanager I'm inclined 
 to do something evil to him!

 Best regards,
 Patrick Asselman

>> On 3/29/2012 8:42 AM, Knute Johnson wrote:
>>> On 3/29/2012 8:13 AM, Bruce Bowler wrote:
>>>> Running 11.04 and every time I reboot, resolv.conf gets screwed 
>>>> up.
>>>> I've tried a couple of different things, but none of them works...
>>>> 1) changed the IPv4 settings from network tools to do "automatic
>>>> (dhcp) addressed only" and set the DNS servers and Search domains
>>>> appropriately.
>>>> 2) modified /etc/resolv.conf/resolv.conf.d/head to specify the
>>>> appropriate search and nameserver directives
>>>> After a reboot /etc/resolv.conf is no longer a symlink and does 
>>>> not
>>>> contain any nameserver entries (it does have the proper search
>>>> directive).
>>>> I can manually re-establish the symlink and things work properly, 
>>>> but
>>>> that's obviously not a viable long term solution...
>>>> Any ideas?
>>>> Thanks!
>>>> Bruce
>>> Is this on a server Bruce? I had the same problem with my server
>>> install and the fix was to put a newer resolv.conf (from 12.04) 
>>> package
>>> in. Unfortunately I didn't save the instructions but if you can 
>>> search
>>> this list you should be able to find the thread. I don't have that 
>>> many
>>> posts so you could search for my name. I think it was about 3 or 4
>>> months ago.
>> It's version 1.63ubuntu3 of resolvconf.
> Thanks Knute, I'll give that a try.  FWIW, it's a desktop, not a 
> server,
> running as a VM (vmware).
> Bruce

More information about the ubuntu-users mailing list