We wonder why both ethernet and wireless are disabled. Is this machine running Network Manager?
ps aux | grep -i network
In my server, where it is running, part of the output is:
root 792 0.0 0.1 356644 9196 ? Ssl Jun26 0:14 NetworkManager
If it is not running, what is the result of:
sudo ifconfig p4p1 up sudo dhclient p4p1