Re: [vserver] tftp server problem

From: Corin Langosch <corinl_at_gmx.de>
Date: Mon 18 Feb 2008 - 12:05:13 GMT
Message-ID: <47B97479.8040605@gmx.de>

Hi,

I tried with atftpd and tftp-hpa, both don't work for me.

This is how it looks like:

cat /etc/default/atftpd
USE_INETD=false
OPTIONS="--daemon --port 69 --tftpd-timeout 300 --retry-timeout 5
--maxthread 100 --verbose=7 /tftpboot"

netstat -l -p | grep tft
udp 0 0 192.168.1.203:tftp
*:* 4864/atftpd

syslog:
Feb 18 12:56:59 system atftpd[4863]: Advanced Trivial FTP server started
(0.7)
Feb 18 12:56:59 system atftpd[4864]: running in daemon mode on port 69
Feb 18 12:56:59 system atftpd[4864]: logging level: 9
Feb 18 12:56:59 system atftpd[4864]: directory: /tftpboot/
Feb 18 12:56:59 system atftpd[4864]: user: nobody.nogroup
Feb 18 12:56:59 system atftpd[4864]: log file: syslog
Feb 18 12:56:59 system atftpd[4864]: server timeout: Not used
Feb 18 12:56:59 system atftpd[4864]: tftp retry timeout: 5
Feb 18 12:56:59 system atftpd[4864]: maximum number of thread: 100
Feb 18 12:56:59 system atftpd[4864]: option timeout: enabled
Feb 18 12:56:59 system atftpd[4864]: option tzise: enabled
Feb 18 12:56:59 system atftpd[4864]: option blksize: enabled
Feb 18 12:56:59 system atftpd[4864]: option multicast: enabled
Feb 18 12:56:59 system atftpd[4864]: address range: 239.255.0.0-255
Feb 18 12:56:59 system atftpd[4864]: port range: 1758
Feb 18 12:57:25 system dhcpd: DHCPDISCOVER from 00:13:8f:56:02:81 via eth0
Feb 18 12:57:26 system dhcpd: DHCPOFFER on 192.168.1.32 to
00:13:8f:56:02:81 via eth0
Feb 18 12:57:27 system dhcpd: DHCPREQUEST for 192.168.1.32
(192.168.1.203) from 00:13:8f:56:02:81 via eth0
Feb 18 12:57:27 system dhcpd: DHCPACK on 192.168.1.32 to
00:13:8f:56:02:81 via eth0
Feb 18 12:57:27 system atftpd[4864]: Creating new socket:
192.168.1.203:32940
Feb 18 12:57:27 system atftpd[4864]: Serving pxelinux.0 to 192.168.1.32:2070
Feb 18 12:57:27 system atftpd[4864]: tsize option -> 13992
Feb 18 12:57:27 system atftpd[4864]: Creating new socket:
192.168.1.203:32941
Feb 18 12:57:27 system atftpd[4864]: Serving pxelinux.0 to 192.168.1.32:2071
Feb 18 12:57:27 system atftpd[4864]: blksize option -> 1456
Feb 18 12:57:32 system atftpd[4864]: timeout: retrying...
Feb 18 12:57:32 system atftpd[4864]: timeout: retrying...
Feb 18 12:57:37 system atftpd[4864]: timeout: retrying...
Feb 18 12:57:37 system atftpd[4864]: timeout: retrying...
Feb 18 12:57:42 system atftpd[4864]: timeout: retrying...
Feb 18 12:57:42 system atftpd[4864]: timeout: retrying...

When running exactly the same setup on directly on the host and not on
the vserver everything works.
Btw...a dhcp server is working just fine in this vserver, only the damn
tftp thing wont work :(

How to debug this further, any hints?

Corin

Ben Green schrieb:
> On Sun, 17 Feb 2008 18:49:17 -0000, Corin Langosch <corinl@gmx.de> wrote:
>
>
>> Hi,
>> I'm running a debian server using 2.6.22-3-vserver-amd64 and util-vserver version 0.30.214; Sep 18 2007, 18:23:59.
>> My problem is running a tftp server inside a vserver guest so I can boot other machines over the network from it. The tftp server works without any problems when running on the host itself, but as soon as it's running in a guest it stops working as expected. Looking at the logs of the tftp server I see request comming in but then a lot of timeouts happen.
>> I first thought it's because of my firewall but I checked the logs and no packets are dropped. To make sure I completely disabled the firewall (removed all iptables rules) but it still does not work.
>> I tested the whole setup on a different machine, exactly the same problem.
>>
>
>
> Which TFTP server are you using?
>
> I am using ATFTPD and it works fine for me.
>
>
Received on Mon Feb 18 12:05:31 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 18 Feb 2008 - 12:05:38 GMT by hypermail 2.1.8