Notices
Insert BS here A place to discuss anything you want

Ubuntu help needed

Thread Tools
 
Search this Thread
 
Old Jul 17, 2011 | 12:34 PM
  #1  
Joe Perez's Avatar
Thread Starter
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,381
Total Cats: 7,504
From: Chicago. (The less-murder part.)
Default Ubuntu help needed

Ok, so I was just having too many problems making the 3CDaemon TFTP server work reliably on my laptop under Win7. Worked fine on the old Vaio using XP, but the new one always aborts transfers halfway through.

So, I've got Ubuntu 10.04 "Lucid Lynx" installed and running off of a USB stick (not the Live version, but a proper full install). I went through the Ubuntu Software Center and installed the HPA TFTP server.

Now what?

Seriously, I have no idea how to actually configure and run this software. It didn't drop a shortcut into the Applications menu, and doing a search on the local filesystem for "tftp" produces more results than I can comprehend. (Isn't Ubuntu supposed to be user-friendly?)

All I need to do is configure this thing to allow a client to log in and fetch a certain file from a certain directory. No security, no BS, I just need it to serve one file to anybody who asks for it.

Help?
Old Jul 17, 2011 | 02:18 PM
  #2  
Stealth97's Avatar
Elite Member
iTrader: (5)
 
Joined: Oct 2007
Posts: 2,156
Total Cats: 67
From: Canton, Ga
Default

I'm not familiar with that particular program. Have you tried to TFTP to it yet? If you've installed it, and maybee rebooted it might already be running, but you may have to activate it from the command line. Open up terminal and type "man 3CDaemon" and see if there is a manual page for it, that would be a start.

edit, nevermind. Thats the one you used on Win7.

try running "man hpa" from the CLI.

edit again,

here is what appears to be a good article on it:

https://help.ubuntu.com/community/Ub...eshooting/TFTP
Old Jul 17, 2011 | 02:43 PM
  #3  
gearhead_318's Avatar
Elite Member
iTrader: (1)
 
Joined: Dec 2010
Posts: 3,966
Total Cats: 21
From: SoCal
Default

Originally Posted by Joe Perez
All I need to do is configure this thing to allow a client to log in and fetch a certain file from a certain directory. No security, no BS, I just need it to serve one file to anybody who asks for it.

Help?
How about you put the file on "Transmission BitTorrent Client" (Applications -> Internet -> Transmission BitTorrent Client) so your clients can just download it like any other torrent file.
Old Jul 17, 2011 | 02:50 PM
  #4  
Joe Perez's Avatar
Thread Starter
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,381
Total Cats: 7,504
From: Chicago. (The less-murder part.)
Default

Originally Posted by Stealth97
https://help.ubuntu.com/community/UbuntuLTSP/Troubleshooting/TFTP
Actually, this one is looking hopeful (havent tried it yet) http://freshmeat.net/projects/tftpgui/

Originally Posted by Gearhead_318
How about you put the file on "Transmission BitTorrent Client" (Applications -> Internet -> Transmission BitTorrent Client) so your clients can just download it like any other torrent file.
Because my "client" is an embedded microcontroller (well, several hundred of them) with no user interface and barely enough computational horsepower to realize that it's turned on, much less run a bittorrent client. It's also a mature product that's been around since 2002, and even if we were to crack open the old code and change the update mechanism to something different, I'd need to use TFTP to upload the new code to it in the first place.
Old Jul 17, 2011 | 03:24 PM
  #5  
icantthink4155's Avatar
Elite Member
iTrader: (12)
 
Joined: Apr 2008
Posts: 2,566
Total Cats: 13
From: Longs, SC
Default

I dont have an answer, but on the Ubuntu forum in Absolute beginner talk you usually get pretty fast responses.

http://ubuntuforums.org/forumdisplay.php?f=326
Old Jul 17, 2011 | 05:06 PM
  #6  
redrider706's Avatar
Junior Member
iTrader: (4)
 
Joined: May 2009
Posts: 440
Total Cats: 6
From: Athens GA
Default

Joe,

Do a

sudo netstat -lp

and see if it shows anything listening on the tftp port.
You can then check the config file at /etc/default/tftpd-hpa to see the defaults.

Here is an example from another ubuntu machine:


# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"

The TFTP_DIRECTORY is where you will put your files.

Hope this helps.
-Raj
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
MEGAsquirt
47
Oct 26, 2018 11:00 PM
Trent
WTB
2
Oct 1, 2015 12:15 PM
brandonbkd
MEGAsquirt
0
Sep 28, 2015 11:52 PM
Voltwings
Cars for sale/trade
0
Sep 27, 2015 06:40 PM




All times are GMT -4. The time now is 07:23 AM.