using tftp - can't get image, but can ping both ways
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does /usr/sbin/in.tftpd exist?
tftp is the client, in.tftpd is the server. The connect command only saves the hostname it does not actually create a connection.
In a nutshell when xinetd detects a packet on port 69 it will launch the server tftpd. The client is not detecting anything from the server and so times out.
ok, thanks MichaelK,
getting further now.
the file in.tftpd now exists.
Now on the linux box I can do 'tftp'.
I can connect to 127.0.0.1
I do the get uImage. It waits for a while before coming back with a 'Transfer Timed out' message.
uImage is definitley there in /tftpboot. I also get the same error if I try and do a non existent file.
If I go to a dos prompt on another pc and do an ftp then connect to the linux box I get weird errors about:
Can't exec "/usr/sbin/pure-ftpd": No such file or directory at /usr/sbin/pure-ft
pd-wrapper line 174.
/usr/sbin/pure-ftpd-wrapper: Cannot exec /usr/sbin/pure-ftpd: No such file or di
rectory at /usr/sbin/pure-ftpd-wrapper line 174.
Connection closed by remote host.
Not sure these are relevant but it does mean maybe that I will have issues doing an ftp
Last edited by adetheheat; 04-13-2011 at 05:30 AM.
firsly thanks for your help Michael,
permissions on /tftboot 777 and uImage is 644 ie it has read access for everyone.
Aside: I was unaware that ftp and tftp were different tools. I'm using tftp as you know.
Try turning on trace and verbose to help. These are tftp commands.
So
1. #tftp
2. >connect 127.0.0.1
3. >trace
4. >verbose
5. >get uImage
Post any debug infomation.
getting from 127.0.0.1:uimage to uimage
sent RRQ <file=uimage, mode=netascii>
sent RRQ <file=uimage, mode=netascii>
sent RRQ <file=uimage, mode=netascii>
sent RRQ <file=uimage, mode=netascii>
Transfer timed out
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.