alternative to "ipconfig renew"

Roy Marples uberlord at gentoo.org
Tue Sep 6 02:29:48 EDT 2005


On Tue, 2005-09-06 at 00:56 -0400, Hyewon Jun wrote:
> In window, we can use "ipconfig renew" to obtain a new IP address
> using DHCP. Is there a similar command in Linux to obtain a new IP address
> from a DHCP server?

# dhcpcd
dhcpcd -n eth0

# pump
pump --renew --interface eth0

# udhcpc (pidfile location and name may be different)
kill -signal SIGUSR1 `cat /var/run/udhcpc-eth0.pid`

# dhclient - you'll have to read up on it's OMAPI thing

Thanks

Roy




More information about the HostAP mailing list