LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 668|回复: 1

让dhclient随系统启动

[复制链接]
发表于 2006-8-21 21:51:30 | 显示全部楼层 |阅读模式
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.
发表于 2006-8-21 22:11:00 | 显示全部楼层
Strongly recommend you upgrade your dhcp-client package to dhcp3-client.  You may have more command line options too.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表