Re: NM re-writing /etc/resolv.conf
- From: Timothy Murphy <gayleard eircom net>
- To: networkmanager-list gnome org
- Subject: Re: NM re-writing /etc/resolv.conf
- Date: Sat, 03 Mar 2012 10:59:30 +0000
Timothy Murphy wrote:
> Dan Williams wrote:
>
>>> >> This morning, when I brought my hibernating Fedora-16 laptop to life,
>>> >> I found NM had re-written /etc/resolv.conf , leaving only comments.
>>> >>
>>> >> The laptop was connected to the internet before hibernation,
>>> >> and had been working normally.
>
>> When you get in this state, can you run 'nmcli dev' for me?
>
> =========================================
> [tim@blanche ~]$ sudo nmcli dev
> DEVICE TYPE STATE
> p2p1 802-3-ethernet unavailable
> wlan0 802-11-wireless connected
> --------------------------------------
> [tim@blanche ~]$ cat /etc/resolv.conf
> # Generated by NetworkManager
>
>
> # No nameservers found; try putting DNS servers into your
> # ifcfg files in /etc/sysconfig/network-scripts like so:
> #
> # DNS1=xxx.xxx.xxx.xxx
> # DNS2=xxx.xxx.xxx.xxx
> # DOMAIN=lab.foo.com bar.foo.com
> [tim@blanche ~]$
> =========================================
I should have added that /etc/sysconfig/network-scripts/ifcfg-wlan0
does contain the lines
--------------------------------
DNS1=159.134.237.6
DNS2=159.134.237.17
DOMAIN=gayleard.com
--------------------------------
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]