Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-12-2006, 05:28 AM
|
#1
|
LQ Newbie
Registered: May 2006
Location: Singapore
Distribution: Ubuntu 9.10
Posts: 16
Rep:
|
tftp server problems on Ubuntu 6.06
I am about to give up and become an insurance agent...
Tried everything to get a tftp server running on Ubuntu 6.06
tftpd, atftpd and tftpd-hpa
Start from inet.d as well as stand-alone
Ran clients thru localhost, LAN, cross-cable
Read all posts related to tftp...
The best I can get is timeout
Anyone can give me a hint what is left to try?
TiA
|
|
|
10-12-2006, 08:22 AM
|
#2
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
Is there any reason why you want a TFTP server?
Unless there is, I suggest using SSH, which is secure and also provides SFTP and SCP. There is plenty of info available on setting up SSH, basically you need to install the openSSH server using apt-get and you are good to go. I have some info Here
--Ian
|
|
|
10-12-2006, 06:07 PM
|
#3
|
LQ Newbie
Registered: May 2006
Location: Singapore
Distribution: Ubuntu 9.10
Posts: 16
Original Poster
Rep:
|
Yes there is.
My TFTP client is a Uboot bootloader on an embedded platform.
The only way to get kernel / filesytem downloaded is by TFTP request from Uboot shell.
In the past got it working in a Redhat 9 environment.
Nevertheless, I can take a look into Uboot support for SSH.
|
|
|
10-12-2006, 06:38 PM
|
#4
|
Member
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702
Rep:
|
Re: TFTP
After you start the TFTP daemon check your netstat table for port 69.
Code:
# netstat -ul
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 *:tftp *:*
t for UDP and l for listening
In most case's the TFTP daemon has a configured root directory of /tftpboot.
|
|
|
10-16-2006, 08:15 PM
|
#5
|
LQ Newbie
Registered: Sep 2006
Posts: 5
Rep:
|
If your configure path is "/etc/inetd.conf", then check if you add "-s" parameter in that list. In my case, without "-s", I can not access /tftpboot directory for downloading and uploading. I also set my directory to /tftpboot and set the it to 777 permission.
Quote:
#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot
|
Hope it can help you,
|
|
|
All times are GMT -5. The time now is 10:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|