On 23.09.2012 15:41, Marek Pawinski wrote:
> On 23/09/2012 13:06, Tom H wrote:
>> On Sun, Sep 23, 2012 at 4:17 AM, Marek Pawinski<li...@pawinski.co.za>  wrote:
>>> Squeeze 6.05 amd64, I had backports enabled and made the mistake of updating
>>> to the latest back port kernel amongst other updates a few days ago.
>>>
>>> When I rebooted I had no internet connectivity so I removed the back port
>>> kernel thinking it was that.
>>>
>>> But now with my original 2.6.32-5-amd64 kernel every time I reboot,
>>> /etc/resolve.conf is empty and I have to enter my DNS server by hand.
>>>
>>> If I can remember correctly I do not use network manger but placed my
>>> entries in the interfaces file.
>> What are the contents of "/etc/network/interfaces" and
>> /etc/NetworkManager/NetworkManager.conf"?
>>
>> Do you have any scripts in "/etc/NetworkManager/dispatcher.d/"?
>>
>>
> 
> Here they are, three of them:
> 
> cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> #allow-hotplug eth0
> #NetworkManager#iface eth0 inet dhcp
> 
> # The primary network interface
> auto eth0
> iface eth0 inet static
> address 192.168.2.106
> gateway 192.168.2.1
> netmask 255.255.255.0
> network 192.168.2.0
> broadcast 192.168.2.255
> 
> 
> cat /etc/NetworkManager/NetworkManager.conf
> [main]
> plugins=ifupdown,keyfile
> 
> [ifupdown]
> managed=false

Do you have any other network interfaces besides eth0?
If eth0 is your only one and it is *not* managed by NM, then NM
shouldn't touch /etc/resolv.conf and this would be a valid bug.
In that case please file a bug against the network-manager package.
Please follow the advice at [1] and include the logs for NM.

Thanks,
Michael

[1] https://live.gnome.org/NetworkManager/Debugging
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to