On Monday 26 December 2016 08:26:54 Mark wrote: > On 12/25/2016 03:31 PM, Gene Heskett wrote: > > Then still as root, nano /etc/resolv.conf and make it read: > > > > nameserver 192.168.xx.1 (where xx is your local networks 3rd set of > > numbers) > > order hosts,dns (or order hosts,nameserver either seems to work > > fine) > > > > Write it, close nano, and chattr +i /etc/resolv.conf. cat it to be > > sure its correct. > > > > Cheers, Gene Heskett > > /etc/resolv.conf is a soft link to /run/resolvconf/resolv.conf. If > you delete the soft link and create a real resolv.conf in /etc there's > no need to go through the chattr nonsense since it won't be the file > resolvconf tries to write to. > > Mark
I tried that, Mark. And it was wiped before I could apply the chattr +i. Perhaps 10 seconds elapsed time. It is/was a softlink on wheezy, but on raspi-jessie its a real file that is generated by resolveconfig. root@raspberrypi:/home/pi/linuxcnc/configs/sheldon-lathe# ls -la /etc/resolv.conf -rw-r--r-- 1 root root 86 Sep 23 00:08 /etc/resolv.conf That isn't a link. And I didn't remove the link, I edited the real file. Then, not knowing what the armhf debian-jessie uses for a network-manager clone, I just brute forced the retention of the settings with a chattr +i on both that, and /etc/network/interfaces. I like stuff that Just Works(TM) and it works without generation of any muttering in the logs. Its something I have been doing since network-destroyer arrived on the scene around a decade ago. Back then it had so many dependencies you couldn't remove it, but a/o wheezy you can remove it without eviscerating the system, so most of my wheezy machines have had it removed. Thanks Mark. I hope you had a nice Christmas. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
