免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1436 | 回复: 8
打印 上一主题 下一主题

tftp issue [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-07-22 16:40 |只看该作者 |倒序浏览
**********************
* 1.0 Problem Statement *
**********************
1.1 tftp failed:
$ tftp 10.71.47.75
tftp>; put 123test.txt
Transfer timed out.

Server:N1405
Client:SB2000

why&how to configure tftp server correctly??

论坛徽章:
0
2 [报告]
发表于 2004-07-22 16:57 |只看该作者

tftp issue

Please try to touch a file with the same file name as that you want to put onto the server. As follow:

server$ cd /tftpboot        -->;  assume the tftp root is " /tftpboot " (default)
server$ touch 123test.txt

client$ tftp 10.71.47.75
tftp>; put 123test.txt

论坛徽章:
0
3 [报告]
发表于 2004-07-22 16:58 |只看该作者

tftp issue

Please try to touch a file with the same file name as that you want to put onto the server. As follow:

server$ cd /tftpboot        -->;  assume the tftp root is " /tftpboot " (default)
server$ touch 123test.txt
server$ chmod 777 123test.txt

client$ tftp 10.71.47.75
tftp>; put 123test.txt

论坛徽章:
0
4 [报告]
发表于 2004-07-22 17:54 |只看该作者

tftp issue

原帖由 "Allan.Chen" 发表:
Please try to touch a file with the same file name as that you want to put onto the server. As follow:

server$ cd /tftpboot        -->;  assume the tftp root is " /tftpboot " (default)
server$ t..........


"Transfer timed out" all the same
……
what can I do??

论坛徽章:
0
5 [报告]
发表于 2004-07-22 19:17 |只看该作者

tftp issue

Another solution:
please check the /etc/inetd.conf by this
$ grep tftp /etc/inetd.conf

please check the line, there should be no "#" before tftp

论坛徽章:
0
6 [报告]
发表于 2004-07-22 19:23 |只看该作者

tftp issue

看看ftp服务打开了没有:
#cat /etc/inetd/inetd.conf | grep ftp

论坛徽章:
0
7 [报告]
发表于 2004-07-23 09:17 |只看该作者

tftp issue

I take following action:

Enabling TFTP Access on a Sun Solaris System
Follow these steps to enable TFTP access on a Sun Solaris system:


--------------------------------------------------------------------------------

Step 1   Log in as root.

Step 2   Add or uncomment the following line in your /etc/inetd.conf file:

tftp    dgram   udp     wait    root    /usr/sbin/in.tftpd  in.tftpd



Step 3   Specify the TFTP directory. By default it is /tftpboot unless you append "-s <directory>;" in the previous step. View the in.tftpd man page for more information.

Step 4   Either reboot your system or use the following commands to find the "inetd" process and send it the SIGHUP signal to force it to reread the inetd.conf file:

/bin/ps -ef | grep inetd

kill -1 inetd_process_ID


but  always "Transfer timed out"

论坛徽章:
0
8 [报告]
发表于 2004-07-23 09:27 |只看该作者

tftp issue

dear yangzai:(楼主)
您不是早已搞定了吗?我相信您的实力。!!     

论坛徽章:
0
9 [报告]
发表于 2004-07-23 09:27 |只看该作者

tftp issue

It's ok after I reboot the server  
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP