devalone 2008-08-14
PC端Linux系统为RedHat 9。
安装bootp
下载bootp-2.4.3-7.i386.rpm
rpm -ivh bootp-2.4.3-7.i386.rpm
添加配置文件 /etc/bootp
service bootps
{
disable =no
socket_type =dgram
protocol =udp
wait =yes
user =root
server =/usr/sbin/bootpd
}
添加配置文件/etc/bootptab
test:\
ht= 1:\
ha= 0x123456789a00:\
ip=192.168.0.50:\
sm=255.255.255.0
修改/etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
server_args += -s /odm/tftpboot
disable = no
}
重启xinetd守护进程
/etc/init.d/xinetd restart