Ubuntu help needed
#1
Boost Pope
Thread Starter
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,076
Total Cats: 6,628
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?
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?
#2
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
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
#4
Boost Pope
Thread Starter
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,076
Total Cats: 6,628
Actually, this one is looking hopeful (havent tried it yet) http://freshmeat.net/projects/tftpgui/
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.
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.
#5
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
http://ubuntuforums.org/forumdisplay.php?f=326
#6
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
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
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
MEGAsquirt
47
10-26-2018 11:00 PM