Re: re Laptop Does Not See eth0 [RESOLVED]
Rich Shepard <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 18 Mar 2012, Bradley D. Thornton wrote: > It appears that Rich wants to use DNS, since presumably, he is operating a > nameserver with Split Zones, which means it simply reports one set of AUTH > data to the general public, and another 'augmented' set of AUTH zone data > to a limited amount of clients that includes private or other IPs not > intended for the public. Not quite. The local LAN uses static IP addresses and defines DNS servers in /etc/resolv.conf. > The problem he's experiencing is due to the DHCP server[s] handing out > nameservers that don't have the zone data he desires. All wireless access points (hotels, coffee shops, etc.) run dhcp and those servers over-write /etc/resolv.conf, frequently leaving it empty. Therefore, when plugged into the Ethernet cable here (with the static IP addresses) the 'network is unreachable.' > There's an easy way to address this situation, and that's by > incorporating /etc/resolv.conf.head and /etc/resolv.conf.tail files. I'll look for these. > No messy scripts for non-priv users ;) Actually, if I can grok how to add her to /etc/sudoers for the command just adding 'cp /etc/resolv.conf.home /etc/resolv.conf' to her ~/.bash_logout would work quite well. Rich