LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   tftp server problems on Ubuntu 6.06 (https://www.linuxquestions.org/questions/ubuntu-63/tftp-server-problems-on-ubuntu-6-06-a-491727/)

rojak 10-12-2006 05:28 AM

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

IBall 10-12-2006 08:22 AM

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

rojak 10-12-2006 06:07 PM

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.

dxqcanada 10-12-2006 06:38 PM

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.

xinxin 10-16-2006 08:15 PM

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:07 PM.