Chinaunix

标题: 求助:pxe 安装centos问题 [打印本页]

作者: kelly_sh    时间: 2007-01-04 17:26
标题: 求助:pxe 安装centos问题
客户机采用pxe启动时,提示:pxe E32:tftp time out,查看tftp服务是启动状态,哪位大虾能给个详细的配置步骤,谢谢啦!
作者: maluyao    时间: 2007-01-04 17:30
用tftp 命令手工下载点东西,看看能不能成功
作者: Yuri.G.    时间: 2007-01-04 17:34
你的dhcp怎么配置的?指定tftp服务器了麽?
作者: kelly_sh    时间: 2007-01-05 10:24
现在我连dhcp也启动不了了,配置文件如下:ddns-update-style interim;
ignore client-updates;
allow booting;
allow bootp;
subnet 172.18.6.0 netmask 255.255.255.0
{ range 172.18.6.91 172.18.6.99;
   option routers 172.18.6.1;
   option subnet-mask 255.255.255.0;
   default-lease-time 21600;
   max-lease-time 43200;
filename "/pxelinux.0";
}
tftp与dhcp装在同一台服务器上
作者: peixubin    时间: 2007-01-05 10:28
dhcp启动时提示信息?
如果tftp timeout,请检查firewall.
还要确认是否tftp到一台正确的服务器,可以用tcpdump跟踪一下
作者: kelly_sh    时间: 2007-01-05 10:42
客户端显示:no dhcp or PROXYdhcp are received.
服务器端显示dhcp、xinetd均启动成功,netstat -nutap|grep dhcp
udp        0      0 0.0.0.0:67                  0.0.0.0:*                               7643/dhcpd  
netstat -nutap|grep xinetd
tcp        0      0 0.0.0.0:23                  0.0.0.0:*                   LISTEN      7447/xinetd         
udp        0      0 0.0.0.0:69                  0.0.0.0:*
作者: peixubin    时间: 2007-01-05 10:51
还要启动pxe服务


先把firewall关了。

[ 本帖最后由 peixubin 于 2007-1-5 10:52 编辑 ]
作者: kelly_sh    时间: 2007-01-05 10:58
客户端还是服务器端?怎么启动?
作者: kelly_sh    时间: 2007-01-05 11:01
我已经执行了service iptables stop,防火墙是处于关掉的状态
作者: peixubin    时间: 2007-01-05 11:01
当然是server端的。
作者: peixubin    时间: 2007-01-05 11:03
如果pxe包未装,先装一下(光盘上pxe*.rpm)。
再service pxe start
作者: Yuri.G.    时间: 2007-01-05 11:06
哪有pxe包啊?
你确认你启动了tftp.tftp正确配置麽?tftp根目录有pxelinux.0麽?
作者: kelly_sh    时间: 2007-01-05 11:16
怎么启动?
作者: peixubin    时间: 2007-01-05 11:27
原帖由 Yuri.G. 于 2007-1-5 11:06 发表
哪有pxe包啊?
你确认你启动了tftp.tftp正确配置麽?tftp根目录有pxelinux.0麽?

[root@ygs-recfiles-1 root]# rpm -qa |grep pxe
pxe-0.1-36
[root@ygs-recfiles-1 root]# uname -r
2.4.21-32.ELsmp
[root@ygs-recfiles-1 root]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
[root@ygs-recfiles-1 root]#

a.gif (193.17 KB, 下载次数: 13)

a.gif

作者: peixubin    时间: 2007-01-05 11:28
pxe服务源代码在网上也有下载
作者: kelly_sh    时间: 2007-01-05 12:09
tftp配置文件:
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /tftpboot
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
,/tftpboot下有pxelinux.0
作者: kelly_sh    时间: 2007-01-05 16:23
我重新安装了一遍dhcp和tftp,现在提示:No boot file received。什么原因呀?
作者: peixubin    时间: 2007-01-05 16:38

  1. filename "/pxelinux.0";
复制代码

改成

  1. filename "pxelinux.0";
复制代码

试试




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2