Insert BS here A place to discuss anything you want

Ubuntu help needed

Thread Tools
 
Search this Thread
 
Old 07-17-2011, 12:34 PM
  #1  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
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?
Joe Perez is offline  
Old 07-17-2011, 02:18 PM
  #2  
Elite Member
iTrader: (5)
 
Stealth97's Avatar
 
Join Date: Oct 2007
Location: Canton, Ga
Posts: 2,156
Total Cats: 66
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
Stealth97 is offline  
Old 07-17-2011, 02:43 PM
  #3  
Elite Member
iTrader: (1)
 
gearhead_318's Avatar
 
Join Date: Dec 2010
Location: SoCal
Posts: 3,966
Total Cats: 21
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.
gearhead_318 is offline  
Old 07-17-2011, 02:50 PM
  #4  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
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.
Joe Perez is offline  
Old 07-17-2011, 03:24 PM
  #5  
Elite Member
iTrader: (12)
 
icantthink4155's Avatar
 
Join Date: Apr 2008
Location: Longs, SC
Posts: 2,566
Total Cats: 13
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
icantthink4155 is offline  
Old 07-17-2011, 05:06 PM
  #6  
Junior Member
iTrader: (4)
 
redrider706's Avatar
 
Join Date: May 2009
Location: Athens GA
Posts: 440
Total Cats: 6
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
redrider706 is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Trent
WTB
2
10-01-2015 12:15 PM
brandonbkd
MEGAsquirt
0
09-28-2015 11:52 PM
Voltwings
Cars for sale/trade
0
09-27-2015 06:40 PM



Quick Reply: Ubuntu help needed



All times are GMT -4. The time now is 12:19 PM.