This is an old revision of the document!
Networking
Networking is horribly fucked up and quickly getting worse.
Static IP, not relying on GUI
networkmanager will just get in the way and fuck everything up every chance it gets. Make sure at minimum there are no profiles set in the GUI. If active it will nuke /etc/resolv.conf, which fucking sucks because that breaks everything.
Set basic configuration in /etc/network/interfaces:
auto enp2s0 iface enp2s0 inet static address 10.0.0.1 netmask 255.255.255.0 gateway 10.0.0.2 dns-nameservers 8.8.8.8
dns-nameservers probably does nothing, of course. You need
nameserver 8.8.8.8
in /etc/resolv.conf, and you might as well put it in resolve.conf.default as well for next time something fucking nukes it.
Next attempt: apt-get remove network-manager and why the fuck not chattr -i /etc/resolv.conf for the sheer JOY OF IT. Note that network manager symlinks resolv.conf to its own bowels, so that needs to be replaced before chattr will work.
Want to figure out what the fuck is going on with ifconfig? HA HA, YOU CAN'T BECAUSE WE DELETED IT.
apt-get install net-tools
or get with the programme and figure out what the fuck ip does. Don't google, because it TURNS OUT THAT “IP” ACTUALLY MEANS A ZILLION OTHER THINGS ALL MORE INTERESTING THAN SOME TURD THAT PEOPLE JUST WANT TO REPLACE WITH IFCONFIG.