+ -
当前位置:首页 → 问答吧 → 关于不能使用 tftpd 的问题

关于不能使用 tftpd 的问题

时间:2003-08-22

来源:互联网

由于常常要使用 tftpd 服务从设备中导出配置, 或者从机器上升级内核, 但是在使用的过程,出现下面问题:

Router 提示如下:

sys# copy running-configuration to tftp-server
TFTP server? 10.0.1.4
Destination filename? j
2003-08-22 09:27:58 %TFTP-E-NORESPONSE, No response from server: 10.0.1.4

inetd.conf 配置如下:

#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot


目录结构属性如下:

laptop:/tftpboot# ls -las
total 80
4 drwxr-xr-x 2 nobody root 4096 2003-08-22 09:21 .
4 drwxr-xr-x 21 root root 4096 2003-08-21 11:05 ..
24 -rwxrwxrwx 1 nobody root 21924 2003-08-22 08:52 cc
24 -rwxrwxrwx 1 nobody root 21924 2003-08-22 09:13 fff
0 -rwxrwxrwx 1 nobody root 0 2003-08-22 09:22 j

监听端口如下

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:imaps 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:time 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:discard 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:daytime 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:imap2 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ftp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:smtp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8990 0.0.0.0:* LISTEN
udp 0 0 0.0.0.0:discard 0.0.0.0:*
udp 0 0 0.0.0.0:tftp 0.0.0.0:*

让我觉得奇怪的是 tftp 竟然没用 listen , 重新启动 inetd 也没用, 这是为什么?

作者: pstar   发布时间: 2003-08-22

呵呵,没人用这个程序么??

作者: pstar   发布时间: 2003-08-24

没用过...

作者: carlos   发布时间: 2003-08-24

试试atftpd(apt-get install atftpd),以前用过,挺好的,没问题。
但现在我用FreeBSD作tftpd server,也很好。

作者: elecboy   发布时间: 2003-08-24

呵呵, 有没有人用 Debian 调试过路由器的??

作者: pstar   发布时间: 2003-08-26

从路由器里导出配置比较烦,要先touch 一个文件,chown ,chmod后才可以用。用GOOGLE搜索一下,有人写过文章。

作者: kevinwqw   发布时间: 2003-08-26