Release and renew IP
Marius Gedminas
marius at pov.lt
Mon Oct 13 00:32:07 UTC 2008
On Mon, Oct 13, 2008 at 12:20:59AM +0000, Anthony M. Rasat wrote:
> >How do I release and/or renew an >IP address in a command line?
>
> May I assume that is a DHCP interface of eth0? Here a "shorter" way:
>
> sudo dhclient eth0
Ah, but should it be dhclient or dhclient3? If you end up with two DHCP
clients on one interface, they will interfere with each other causing
your connection to stop working mysteriously every 5 minutes or so.
> And now the "proper" way which also require proper configuration:
>
> sudo /etc/init.d/network restart
Does that work when you use Network Manager?
Marius Gedminas
--
Eagleson's Law:
Any code of your own that you haven't looked at for six or more
months, might as well have been written by someone else. (Eagleson
is an optimist, the real number is more like three weeks.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081013/90891e21/attachment.sig>
More information about the ubuntu-users
mailing list