Renew an IP on Linux
Solved
fiston
-
brupala Posted messages 111142 Registration date Status Member Last intervention -
brupala Posted messages 111142 Registration date Status Member Last intervention -
Hello,
I would like to know how to renew an IP address in Linux (I am using Ubuntu)
Thank you very much
I would like to know how to renew an IP address in Linux (I am using Ubuntu)
Thank you very much
10 answers
-
@pampelline:
killall -HUP dhcpcd (killall in lowercase)
in your console type:
sudo dhclient -r eth0
-if your network card is called eth0, otherwise replace eth0 with the name of your card.
-this command is equivalent to IPCONFIG /RELEASE.
-you enter your password or your root password if one of them is requested.
sudo dhclient eth0
-if your network card is called eth0 otherwise replace eth0 with the name of your card.
-this command is equivalent to IPCONFIG /RENEW.
-you enter your password or your root password if one of them is requested.
The commands must be typed in a terminal of course
That's it, I think that's all :)