Ethernet and wireless networking disabled Ubuntu 14.04.1 LTS server

Solution 1:

Try these and use manual pages to know about the commands using man command.

sudo nmcli nm enable true

or

sudo service network-manager restart

or

sudo ip link set eth0 up 

and

sudo ip link set wlan0 up

Solution 2:

Please be more specific.

The config file to setup your nics is:

/etc/network/interfaces

did you try?

sudo ifup eth0;sudo ifup wlan0

You can also check the status of your nics executing

ip a

You can always check your logs to see what is happening:

cat /var/log/syslog