Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   Insert BS here (https://www.miataturbo.net/insert-bs-here-4/)
-   -   Ubuntu help needed (https://www.miataturbo.net/insert-bs-here-4/ubuntu-help-needed-59157/)

Joe Perez 07-17-2011 12:34 PM

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?

Stealth97 07-17-2011 02:18 PM

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

gearhead_318 07-17-2011 02:43 PM


Originally Posted by Joe Perez (Post 750115)
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.

Joe Perez 07-17-2011 02:50 PM


Originally Posted by Stealth97 (Post 750145)
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 (Post 750152)
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.

icantthink4155 07-17-2011 03:24 PM

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

redrider706 07-17-2011 05:06 PM

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


All times are GMT -4. The time now is 08:22 PM.


© 2024 MH Sub I, LLC dba Internet Brands