06-06-2018, 04:42 AM
(06-05-2018, 01:10 PM)ab1jx Wrote: But you can ratchet the stupidity down a notch by falling back to the previous scheme:
https://www.freedesktop.org/wiki/Softwar...faceNames/
By creating /etc/systemd/network/99-default.link that's a symlink to /dev/null it turns it off.
Yes, it is nightmare. I thought I had managed to turn it off before, using that symlink trick. There is also the option of passing 'net.ifnames=0' to the kernel at boot. (This would be via the /boot/efi/extlinux/extlinux.conf file, and adding to the 'append' line for kernel-latest.
Which image are you actually running, as I gather it is a debian one, but what flavour, and what version?
(06-06-2018, 12:16 AM)cooker Wrote: recently version of debian has /etc/resolv.conf controlled by daemon (NetworkManager.service ? pls double check) so that direct edit on this file is not stable. I cannot recall detail but there is a lot of help on google about this.
I had to poke DNS resolving at one point on a image as something was broken. The worked well on ubuntu to smack a running system into submission...
Code:
sudo mkdir /run/resolvconf && sudo tee "nameserver 1.1.1.1" /run/resolvconf/resolv.conf
It may be necessary to use nmtui / nmcli to configure the networking if NetworkManager is in use...