2014-07-27 19:33 GMT+03:00 James <wirel...@tampabay.rr.com>: > Grand Duet <grand.duet <at> gmail.com> writes: > > >> >> In short: the contents of the file /etc/resolv.conf >> >> is unpredictably different from one reboot to another. >> >> It is either >> >> # Generated by net-scripts for interface lo >> >> domain mynetwork or >> >> # Generated by net-scripts for interface "eth0" >> >> nameserver My.First.DNS-Server.IP >> >> nameserver My.Second.DNS-Server.IP >> >> nameserver 8.8.8.8 > > > I set my nameservers all manually in this file and they do > not every change.
I also thought that /etc/resolv.conf do not change at every reboot before run into this problem and tried to write down my own /etc/resolv.conf > I do not run systemd. I'm not sure of your issue(s) but, > historically, resolv.conf should not be displaying this behavior. Historically, may be, but currently the main net config file is /etc/config.d/net, at least for openRC. /etc/resolv.conf is produced at every boot from /etc/config.d/net by net-scripts. >> > and also the output of the "rc-update show" command? >> >> # rc-update show > >> mtab | boot >> net.eth0 | default >> net.lo | boot >> netmount | default > > >> Everywhere above eth0 has been put instead of its udev "predictable" name. >> Do you think that I need >> carrier_timeout_eth0=20 >> somewhere in /etc/conf.d/net ? > > I do not try and force the "eth' names onto an interface > I have these in rc-status: > > mtab | boot > net.enp5s0 | default > netmount | default > > I just look at the dmesg output and use the new, default > funky names. You can read up on these evolving interface > names by googling. You did not understood my remark above correctly: in my system config files I do use these "fu*ky" names but instead of exposing them to the whole Internet I have changed a "fu*ky" name for eth0 back to eth0 for better clarity and security. :) > Here is one link (often posted to this user group) to get you started: > > > http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ > > > hth, > James > >