Tuesday, July 10, 2012

Reset the network adapter from the command line

If you really want to reset the network adapter you usually need to unload and reload the kernel module that it uses.
If you just want to reconfigure it you can usually do:
sudo /etc/init.d/network-manager restart
But if you just want a new dhcp lease (that's the technical name for obtain a new IP from the router), you just need to use:
sudo dhclient -v eth1

https://help.ubuntu.com/10.04/internet/C/troubleshooting-wireless.html

No comments:

Post a Comment