script@debian:~$ su
Password:
debian:/home/script# ifconfig eth0 up
debian:/home/script# dhclient eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:60:97:3f:54:1f
Sending on LPF/eth0/00:60:97:3f:54:1f
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.36 — renewal in 111113 seconds.
debian:/home/script# dhclient eth0
debian:/home/script#
legutóbbi hsz