TFTP timeout error
Hi
Getting the following error while keeping backup of cisco switch configuration. cisco#copy running-config tftp: Address or name of remote host []? 10.20.31.32 Destination filename [cisco-confg]? new ..... %Error opening tftp://10.20.31.32/new (Timed out). TFTP server configuration as follows.. [root@localhost ~]# cat /etc/xinetd.d/tftp i# default: off # description: The tftp server serves files using the trivial file transfer \ # protocol. The tftp protocol is often used to boot diskless \ # workstations, download configuration files to network-aware printers, \ # and to start the installation process for some operating systems. service tftp { socket_type = dgram protocol = udp port = 69 wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 } [root@localhost ~]# /etc/init.d/iptables status Table: filter Chain INPUT (policy ACCEPT) num target prot opt source destination Chain FORWARD (policy ACCEPT) num target prot opt source destination Chain OUTPUT (policy ACCEPT) num target prot opt source destination [root@localhost ~]# tftp localhost tftp> status Connected to localhost. Mode: netascii Verbose: off Tracing: off Literal: off Rexmt-interval: 5 seconds, Max-timeout: 25 seconds [root@localhost ~]# tftp localhost tftp> get hello.txt Transfer timed out. can any one trace to this what is wrong with TFTP server? Thanks |
Quote:
Quote:
|
Thanks TBOne for update.
You didn't start the service with the "-c" flag, so you will NEVER be able to upload files to it. Modify the server_args line to include the "-c". Its don't work for me. still the issue as tftp timeout error. I find to xinetd or udp service not listening on port 69. [root@localhost tftpboot]# netstat -anp |grep xinetd tcp 0 0 :::23 :::* LISTEN 26269/xinetd unix 2 [ ] DGRAM 341712 26269/xinetd [root@localhost tftpboot]# netstat -anp |grep udp udp 0 0 0.0.0.0:58462 0.0.0.0:* 23963/rpc.moun td udp 0 0 0.0.0.0:55262 0.0.0.0:* 1373/rsyslogd udp 0 0 0.0.0.0:875 0.0.0.0:* 23947/rpc.rquo tad udp 0 0 0.0.0.0:111 0.0.0.0:* 26335/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 1599/cupsd udp 0 0 0.0.0.0:36224 0.0.0.0:* 1450/rpc.statd udp 0 0 0.0.0.0:2049 0.0.0.0:* - udp 0 0 0.0.0.0:778 0.0.0.0:* 1450/rpc.statd udp 0 0 0.0.0.0:40467 0.0.0.0:* 23963/rpc.moun td udp 0 0 0.0.0.0:43030 0.0.0.0:* 23963/rpc.moun td udp 0 0 0.0.0.0:55452 0.0.0.0:* - udp 0 0 :::111 :::* 1432/rpcbind udp 0 0 :::759 :::* 1432/rpcbind udp 0 0 :::52866 :::* 23963/rpc.moun td udp 0 0 :::45583 :::* 23963/rpc.moun td udp 0 0 :::49962 :::* 1450/rpc.statd udp 0 0 :::49078 :::* 23963/rpc.moun td [root@localhost tftpboot]# lsof -i :69 --> Nothing output. Is possible to get udp on port69 or we can set it to tcp port? Is idea how to listen tftp server on port69? TFTP server installed RHEL6.2 os. Thanks |
Quote:
Quote:
http://thehomelab.blogspot.com/2012/...-server-6.html That has a detailed section on how to configure it, along with iptables rules, etc. |
All times are GMT -5. The time now is 11:50 AM. |