What is the linux (ubuntu) equivalent of "ipconfig /release" and then "ipconfig /renew" I would like to create a quick script to release and renew the IP.
What is the linux (ubuntu) equivalent of "ipconfig /release" and then "ipconfig /renew" I would like to create a quick script to release and renew the IP.
Registered Linux User: 450747 Registered Ubuntu User: 16269
See the documentation of iwconfig and ifconfig with
andCode:iwconfig --help
in terminal.Code:ifconfig --help
"If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.
Release IP address
sudo dhclient -r <interface such as eth0, wlan0, etc>
Renew DNS lease
sudo dhclient <interface>
Bookmarks