cp /usr//share/doc/dhcp*/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
service dhcpd start
vi /var/lib/dhclient/dhclient-eth1.leases
vim /etc/sysconfig/dhcpd
[root@clientlinux ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
NM_CONTROLLED=no
ONBOOT=yes
BOOTPROTO=dhcp <==就是他!指定這一個就對了!
[root@clientlinux ~]# /etc/init.d/network restart
net-tools
ether-wake
[root@www ~]# ether-wake -i eth1 11:22:33:44:55:66
更多功能可以這樣查閱喔:
[root@www ~]# ether-wake -u
网友评论