关于不能使用 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 也没用, 这是为什么?
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,也很好。
但现在我用FreeBSD作tftpd server,也很好。
作者: elecboy 发布时间: 2003-08-24
呵呵, 有没有人用 Debian 调试过路由器的??
作者: pstar 发布时间: 2003-08-26
从路由器里导出配置比较烦,要先touch 一个文件,chown ,chmod后才可以用。用GOOGLE搜索一下,有人写过文章。
作者: kevinwqw 发布时间: 2003-08-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28