|
|
1. debian:/home/qwer# whereis dhclient
dhclient: /sbin/dhclient
2. # vi /etc/init.d/dhclient
# chmod 755 dhclient
3. # debian:/etc/init.d# /etc/init.d/dhclient start
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/lo/<null>
Sending on LPF/lo/<null>
Listening on LPF/eth0/00:b9:00:01:6c:4a
Sending on LPF/eth0/00:b9:00:01:6c:4a
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 6
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
SIOCADDRT: File exists
bound to 192.168.1.3 -- renewal in 129600 seconds. |
|