On Tuesday 13 September 2016 06:00:11 Uwe Brauer wrote:
> "relosrl" == relosrl
<relosrl(a)tiscalinet.it> writes:
Il 13/09/2016 11:40, Uwe Brauer ha scritto:
And now after every rebook my DNS server is
deleted and I have
re configure my wired net, very inconvient, not sure who is the
culprit here.
I solve with:
chattr +i resolv.conf
Well
sudo chattr +i /run/resolv.conf
Gives
chattr: Inappropriate ioctl for device while reading flags on
resolv.conf
Rodolfo
Not /run/resolv.conf,
/etc/resolv.conf. On some systems, it may be a
link. I nuked the link and made a real file that contained 'hosts,dns'
as I use hosts files for local dns on my little network, only using dhcp
for transient connections. I also did the chattr +i on that,
and /etc/network/interfaces back when you couldn't remove NM, so that
was my way of disabling that monster.
Frowned on in strong language by TPTB here, but no stronger than NM
caused when it tears a perfectly good network connection down and then
fails to invent one that works. DNS is defined
in /etc/network/interfaces as the gateway, which is my router, so any
addresses not in my /etc/hosts file are forwarded to DD-WRT in the
router, which is the only place my ISP's supplied dns servers are used.
Now, watch the firestorm because I mentioned NM in less than glowing
terms.
---------------------------------------------------------------------
To unsubscribe, e-mail:
trinity-users-unsubscribe(a)lists.pearsoncomputing.net For additional
commands, e-mail: trinity-users-help(a)lists.pearsoncomputing.net Read
list messages on the web archive:
http://trinity-users.pearsoncomputing.net/ Please remember not to
top-post:
http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
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>