Re: Two elementary questions on LANs

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

 



On 06/18/2011 06:33 PM, Timothy Murphy wrote:
> Just to be clear: dhcp wasn't running at the point I am talking about.
> NM did delete the nameserver information in /etc/resolv.conf .
> I saw then that one can go to NM's Manage Connections
> and specify the nameservers one wants to use.
> When I did that the nameservers remained in /etc/resolv.conf

What precisely do you mean when you say "dhcp wasn't running at the
point I am talking about"?

Do you mean your DHCP server was off?  Or, do you mean that you had
BOOTPROTO=none set in your ifcfg- file? 

I know I'm being "picky" when I say that I wouldn't use the work
"remained" when talking about the information in /etc/resolv.conf.  It
actually gets rewritten by NM from information kept in the ifcfg- file
each time the interface is brought up or down.

When you bring it down....NM will rewrite it to read....

# 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

And then when brought up rewrite it to read something like....

# Generated by NetworkManager
search greshko.com
nameserver 192.168.0.55


-- 
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

[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