tftp、tftpd都可以安装,但是netkit-inetd包没有,就用了xinetd代替了
根目录下建立了tftpboot,属性改为777
此时修改/etc/inetd.conf,vi 时候很难才把文件写好,出现问题:按上下键有大写字母,只能用delete才能消除
不过好不容易改好了inetd.conf
添加的tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot
重新加载/etc/init.d/xinetd restart
ok,xinetd可以启动,但是不能够get和put
此时反思,应该修改的是xinetd.conf,
service tftp
{
disable =no
socket_type =dgram
protocol =udp
wait =yes
user =root
server =/usr/sbin/in.tftpd
server_args =-s /tftpboot
}
但修改后服务可以打开,但是仍然不能get和put
报错为:Access violation
请问达人,这是什么原因啊?
高人帮看看tftp服务配置问题,反复弄也搞不定
-
- 帖子: 9
- 注册时间: 2009-09-07 16:00
高人帮看看tftp服务配置问题,反复弄也搞不定
上次由 vivila 在 2009-10-10 14:35,总共编辑 1 次。
-
- 帖子: 9
- 注册时间: 2009-09-07 16:00
Re: 达人帮看看tftp服务配置问题?
有人遇到过没?或者其中什么道理呢?
-
- 帖子: 9
- 注册时间: 2009-09-07 16:00
-
- 帖子: 1
- 注册时间: 2009-10-21 10:03
Re: 高人帮看看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=1002
flags=IPv4
}
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=1002
flags=IPv4
}