The third thing I do is set up my system to a static ip. Every time I try to set my IP in /etc/network/interfaces and after a reboot it comes back with the right IP number but there is no name server resolving going on. I've been scouring the interwebs for a few hours for a solution since it should be such a simple thing to workout, but what confuses me even more is that most of these supposedly Debian 9 guides on how to do it still use the old names for NIC's like eth0 while I read that the new names are something enp5s0 (like the one I have) so I don't really trust that the guides are for Stretch. (and I can't remember that I had to do this for Jessie with the DNS resolving)
I read at https://www.debian.org/doc/manuals/debi ... resolution that you're suppose to add /etc/resolv.conf but after reboot the file is missing again. I also get a failed message during boot (only happens when I set static ip in /etc/network/interfaces)
Code: Select all
[failed] to start raise network interfaces.
edit: the text I add in /etc/network/interfaces
Code: Select all
auto enp5s0
iface enp5s0 inet static
address 10.101.242.21
netmask 255.255.255.0
gateway 10.101.242.21