Debian 7 Restart Network

Im using Debian Wheezy (7) desktop with DHCP. I had problems switching from wired to wireless and back, etc. I found that following other instructions did not work. The network will go down no problem;

/etc/init.d/networking stop

netstat will show you that the network is down. Except;

/etc/init.d/networking restart

Does not bring the network back up. Adding these two commands fixed the problem;

ifconfig eth0 up
service networking start


You may also like...