Re: re Laptop Does Not See eth0 [RESOLVED]
"Bradley D. Thornton" <[email protected]>
| Newsgroups | gmane.linux.slackware |
|---|---|
| Organization | NorthTech Computer |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 On 03/18/2012 05:15 PM, Bengt Richter wrote: > On 03/18/2012 11:13 AM Rich Shepard wrote: > [...] >> >> All that's left to do is write a shell script she can run that copies >> /etc/resolv.conf.home to /etc/resolv.conf for use on the LAN. Each >> time the >> laptop is used at some wifi hot spot it overwrites /etc/resolv.conf so I >> need to restore it for use here where we run static IP addresses for >> the few >> hosts on the LAN. A shell script that runs with /etc/sudoers will do the >> trick. >> > Couldn't you just use /etc/hosts ? 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. The problem he's experiencing is due to the DHCP server[s] handing out nameservers that don't have the zone data he desires. There's an easy way to address this situation, and that's by incorporating /etc/resolv.conf.head and /etc/resolv.conf.tail files. No messy scripts for non-priv users ;) I hope that helps! Kindest regards, - -- Bradley D. Thornton Manager Network Services NorthTech Computer TEL: +1.310.388.9469 (US) TEL: +44.203.318.2755 (UK) TEL: +41.43.508.05.10 (CH) http://NorthTech.US -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Find this cert at x-hkp://pool.sks-keyservers.net iQEcBAEBAwAGBQJPZsUcAAoJEE1wgkIhr9j356UH/0X/4G/dKkMR3AA0sZk0ux96 FpRUfMykd3uo7ux/pBrjc/Z5K9GxL1+TsNOUKYdGbjh9W9zfPvhisnGV6V6dnq49 ZhN0Nc4axYb99QaFnTg3Ohxg9xWBmAFhVPUqZwzal5yPc72MmLun1lOiS4s+YqYn AnUsqnavrtFo0l1lkdHDtol0ZbODS4EGOMJD4FEU3raXuoOSKP7IvNNKBmdkc7K3 GRFGxSBlooA3hDBUl95HgZmDWNCah7wO8qp9Lhod6YNL80DhQXum9BbYNSKkVZz0 5Hx+gDOOy2qGrFdiQ1xxY63fY84/66WaHrV2FfQZE6Lgv6sa6fOnDAGVlJ88KLo= =tJlx -----END PGP SIGNATURE-----