LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-13-2011, 02:13 AM   #1
manaila
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Rep: Reputation: 0
TFTP server for Linux


Hi,
I am implementing a Linux embedded system. I write my application on a linux desktop, cross-compile it and then use tftpd32 and PuTTY on Windows to transfer my application to a the embedded system. For example, this is what I type on PuTTY to transfer:
tftp 265000 MyApp
265000 is the address on the embedded system where I download MyApp to, from the PC. The hashes(###...)will be displayed on PuTTY until download has completed.
So I just want to work only on Linux(both writing the code and transferring). I searched this on the internet, and I got atftp and tftp-server which are said to be the same as tftpd32. I also installed PuTTY for Linux(although, some find it unnecessary for Linux, when searching on the internet).
Now the problem is I do not know how I can use (configure) tftp-server to know the location of the file that I want to transfer so that I can then type tftp 265000 MyApp on PuTTY to start transferring. I searched a couple of sites including these ones: http://www.ubuntugeek.com/howto-setu...in-ubuntu.html and http://www.webune.com/forums/how-to-...-in-linux.html, but could not find any help.

Could you please help me with how I can achieve file transfer to my embedded system same way as I did on Windows, or any alternative.
 
Old 09-13-2011, 04:05 AM   #2
rodrifra
Member
 
Registered: Mar 2007
Location: Spain
Distribution: Debian
Posts: 202

Rep: Reputation: 36
I am using tftpd-hpa and I start it with

/usr/sbin/in.tftpd -l -s /path/to/tftp/dir
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DOS - netboot (PXE booting) from Linux TFTP server Bhagyesh Linux - Newbie 1 12-04-2009 08:59 PM
LXer: Advanced TFTP server setup in Ubuntu Linux LXer Syndicated Linux News 0 08-19-2008 01:50 PM
TFTP server in Redhat Linux enterprise Server 5 dominiclajs Linux - Newbie 1 05-30-2008 04:03 AM
Make a program can collect linux command output regularly and send to a tftp server fragon Programming 2 04-07-2008 04:49 PM
tftp issue, unable to transfer kernel image using tftp to boot ltsp-client noobs4linux Linux - Networking 1 02-07-2007 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration