Re: NetworkManager-resolv.conf -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/2012 11:36 PM, Ed Greshko wrote:
> On 11/17/2012 08:47 PM, Timothy Murphy wrote:
>> Ed Greshko wrote:
>>
>>>> Also, in my experience NM does NOT get the DNS settings from the server.
>>>>
>>>> I run NM on my Fedora-17/KDE laptop.
>>>> Normally this works fine - it has certainly improved greatly over the
>>>> years. But if I go out of WiFi range then NM comments out the DNS entries
>>>> in /etc/resolv.conf .
>>>> However, if I go back in range, it does not add the DNS entries
>>>> from /etc/dhcp/dhcpd.conf on the server, where I have
>>>>
>>>>   # option definitions common to all supported networks...
>>>>   option domain-name "gayleard.com";
>>>>   option domain-name-servers 159.134.237.6, 159.134.248.17;
>>> I don't know what you mean by "from the server".  But, if in the case you
>>> cite above you mean your laptop is the server and it has info in
>>> /etc/dhcp/dhcpd.conf then I wouldn't expect its information added to your
>>> DNS settings either.
>> I think what I said is perfectly clear.
>> My laptop is not the server.
>> I don't see how anyone could interpret what I said to mean that.
>> Surely if someone speaks of a laptop and a server
>> the implication is that they are different machines?
>>
>> To spell it out.
>> My server is an HP MicroServer running CentOS-6.3 .
>> My laptop is a ThinkPad T61p running Fedora-17/KDE .
>> I have shown above the entry I have in /etc/dhcp/dhcpd.conf on the server .
> I'm sorry if my stupidity has pissed you off in some way.
>
>> As I said, if I lose WiFi connection then /etc/resolv.conf on my laptop
>> is over-written (commented out).
>> When I come back into WiFi range, /etc/resolv.conf is not re-written.
>> Nor is it re-written if I re-start NM on my laptop.
>> However, if I re-boot my laptop then it is re-written.
>>
>> Have you actually gone out of range while linked to an access point?
>>
> Yes......
>
> When out of range it reads...
>
> # 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
>
>
> Coming back in range it reads....

Copy paste error at 11:30 PM....

# Generated by NetworkManager
search greshko.com
nameserver 192.168.0.1
nameserver 192.168.0.55

is what it reads when coming back in range....



-- 
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux