LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2018, 05:22 PM   #1
rsideleau
LQ Newbie
 
Registered: Jul 2018
Posts: 4

Rep: Reputation: Disabled
tftp and busybox


I have ftp running on a Windows 7 laptop (I see the process started when I enter ftp at the console window) and the tftp on the embedded processor (AT91SAM9260) using busybox. I have never used the busybox Linux utility so I am not sure if it is setup correctly. The eth0 for Linux is 192.168.168.32 and the IP of the laptop is 192.168.168.20 and they both can ping each other.
I cd to the directory containing the file I want to send to the laptop, then I enter: "#tftp -p -r <filename> 192.168.168.20" and then after a delay I get "#tftp: timeout". I also used -p -l with the same results.
The laptop has C:\ shared for everyone and the firewall is OFF.
The real problem is I need to ftp from the laptop to the Linux processor and visa-versa. I tried ssh using PuTTY and I get no connection.
Thanks for any help or suggestions.
Richard
 
Old 07-10-2018, 08:33 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Not sure tftp and ftp work together. What do you wish to use? If you just need a one time thing then maybe tftp32 will be fine.

tftp is usually get and put.

Share is samba/cifs
 
1 members found this post helpful.
Old 07-10-2018, 08:49 PM   #3
rsideleau
LQ Newbie
 
Registered: Jul 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks.
I am still trying to figure out Linux BusyBox it seems a lot of normal Linux commands are not present.
I have seen reference to "sudo apt-get install cifs-utils", but the command line complains about sudo and apt-get.
 
Old 07-11-2018, 01:21 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Busybox is a sort of compiled set of tools. Minimal installs tend to use it. The version of the tools within each build of busybox may be different. The tools(programs) may have different options. A builder of one busybox build may strip everything to the bone in order to match space.

You normally can't easily add to an existing busybox. You may have an option to add a program in. cifs/samba I'd think is unlikely to be built into most instances of busybox.
 
1 members found this post helpful.
Old 07-11-2018, 05:02 PM   #5
rsideleau
LQ Newbie
 
Registered: Jul 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks. I need to study up on what I have for busybox.
 
Old 07-11-2018, 07:11 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
The question is more of what you are trying to do rather than what busybox is.

Busybox is just a collection of programs glomed together. Within your busybox you should have maybe 20 programs or so. Each of those programs have versions. Each of the version may have unique builds.

I'd think that you could use tftp or ftp assuming ports/firewalls are open and you have proper permissions. If I only needed a few files from windows and I knew I had TFTP working on linux I'd use it. Remember that TFTP isn't that reliable. It doesn't easily let you see the files on server. (there is I think a python way) TFTP32 is a bone simple server that can be used to serve more than simple tftp.

You should be able to test each use on windows 7. FTP to your local server. Some browsers work OK for ftp too. Some file managers work. Some things like putty work.

FTP is more advanced but you may not need it.

Last edited by jefro; 07-11-2018 at 07:15 PM.
 
Old 07-11-2018, 07:33 PM   #7
rsideleau
LQ Newbie
 
Registered: Jul 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank You for the info. I will be digging into it this weekend.

Found tftpd32 for Windows and configured as a server with the Linux bard as a client and it works! Thanks much.

Last edited by rsideleau; 07-15-2018 at 09:31 AM.
 
  


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
in.tftp pxelinux.0_ fails with TFTP open timeout deadeyes Linux - Server 1 05-28-2010 10:07 AM
Busybox Meh Linux - Newbie 4 03-01-2010 01:31 AM
after re-create tftp dir, tftp doesn't work anymore lastguy Linux - Networking 2 11-16-2007 03:33 PM
tftp issue, unable to transfer kernel image using tftp to boot ltsp-client noobs4linux Linux - Networking 1 02-07-2007 01:53 AM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:12 PM.

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