Bug#253717: atftpd fails to work with 3com PXE card 3c509c-txm
Package: atftpd Version: 0.6.3 Architecture: powerpc I've been mucking about with netboot/PXE/RPL and finally managed to netboot pxegrub. This is great, except the PXE card i was using does not belong to me. I found a 3com 3c509c-txm that does belong to me, and has PXE. However, the 3com card with the same configuration does *not* work. 192.168.6.3 is the machine with the PXE 3com card, and 192.168.6.7 is the DHCP/tftp server. [A /etc/inetd.conf] tftpdgram udp waitroot /usr/sbin/tcpd /usr/sbin/in.tftpd --daemon --no-multicast --tftpd-timeout 0 -m 1000 --verbose=7 /tftpboot [/A] Yes, i know, it should not be user 'root'. I was trying the same configuration of another post I googled for, where it said these options had been used successfully on a 3c509-tx [A /var/log/syslog] Jun 10 13:12:27 sine tftpd[19103]: running in daemon mode on port 69 Jun 10 13:12:27 sine tftpd[19103]: logging level: 7 Jun 10 13:12:27 sine tftpd[19103]: directory: /tftpboot/ Jun 10 13:12:27 sine tftpd[19103]: user: nobody.nogroup Jun 10 13:12:27 sine tftpd[19103]: log file: syslog Jun 10 13:12:27 sine tftpd[19103]: server timeout: Not used Jun 10 13:12:27 sine tftpd[19103]: tftp retry timeout: 5 Jun 10 13:12:27 sine tftpd[19103]: maximum number of thread: 1000 Jun 10 13:12:27 sine tftpd[19103]: option timeout: enabled Jun 10 13:12:27 sine tftpd[19103]: option tzise: enabled Jun 10 13:12:27 sine tftpd[19103]: option blksize: enabled Jun 10 13:12:27 sine tftpd[19103]: option multicast: disabled Jun 10 13:12:27 sine tftpd[19103]: address range: 239.255.0.0-255 Jun 10 13:12:27 sine tftpd[19103]: port range:1753 Jun 10 13:12:42 sine tftpd[19105]: Serving pxegrub to 192.168.6.3:2072 Jun 10 13:12:42 sine tftpd[19105]: received RRQ mode: octet, tsize: 0> Jun 10 13:12:42 sine tftpd[19105]: tsize option -> 199204 Jun 10 13:12:42 sine tftpd[19105]: sent OACK Jun 10 13:12:42 sine tftpd[19105]: received ERROR Aborted> Jun 10 13:12:42 sine tftpd[19105]: Aborting transfer Jun 10 13:12:42 sine tftpd[19105]: Server thread exiting Jun 10 13:12:42 sine tftpd[19106]: Serving pxegrub to 192.168.6.3:2073 Jun 10 13:12:42 sine tftpd[19106]: received RRQ mode: octet, blksize: 1456> Jun 10 13:12:42 sine tftpd[19106]: blksize option -> 1456 Jun 10 13:12:42 sine tftpd[19106]: sent OACK Jun 10 13:12:47 sine tftpd[19106]: timeout: retrying... Jun 10 13:12:47 sine tftpd[19106]: sent OACK Jun 10 13:12:47 sine tftpd[19106]: received ACK Jun 10 13:12:47 sine tftpd[19106]: sent DATA Jun 10 13:12:50 sine tftpd[19107]: Invalid request <4> from 192.168.6.3 Jun 10 13:12:50 sine tftpd[19107]: sent ERROR TFTP operation> Jun 10 13:12:50 sine tftpd[19107]: Server thread exiting Jun 10 13:12:52 sine tftpd[19106]: timeout: retrying... Jun 10 13:12:52 sine tftpd[19106]: sent DATA Jun 10 13:12:57 sine tftpd[19106]: timeout: retrying... Jun 10 13:12:57 sine tftpd[19106]: sent DATA Jun 10 13:13:02 sine tftpd[19106]: timeout: retrying... Jun 10 13:13:02 sine tftpd[19106]: sent DATA Jun 10 13:13:07 sine tftpd[19106]: timeout: retrying... Jun 10 13:13:07 sine tftpd[19106]: sent DATA Jun 10 13:13:12 sine tftpd[19106]: Aborting transfer Jun 10 13:13:12 sine tftpd[19106]: Server thread exiting [/A] It worked fine with the other card, but not the 3c509c-txm. Just to be sure, i'm doing... apt-get remove --purge atftpd rm /etc/default/atftpd apt-get install atftpd [B dpkg configuration of atftpd] Configure server? Yes. Start server by inetd? Yes Server timeout? 300 Port for tftp request? 69 Retry timeout? 5 Maximum threads? 100 Enable 'timeout'? Yes Enable 'tsize'? Yes Enable 'block size'? Yes Enable 'multicast'? No Verbosity level? 7 (Log_DEBUG) Base directory? /tftpboot Log to file instead of syslog? No okay, then... /etc/init.d/inetd stop /etc/init.d/dhcp3-server stop killall in.tftpd [B /etc/dhcp3/dhcpd.conf] allow booting; allow bootp; option routers 192.168.6.1; option subnet-mask 255.255.255.0; option domain-name "pimpcat.org"; option domain-name-servers 192.168.6.1; default-lease-time 600; max-lease-time 7200; ddns-updates off; log-facility local5; subnet 192.168.6.0 netmask 255.255.255.0 { option domain-name-servers 192.168.6.1; option domain-name "pimpcat.org"; option routers 192.168.6.1; default-lease-time 43200; max-lease-time 86400; } option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-delay code 5 = unsigned integer 8; option grub-menu code 150 = text; group { option vendor-class-identifier "PXEClient"; filename "pxegrub"; next-server 192.168.6.7; option root-path "/tftpboot"; option PXE.mtftp-ip 0.0.0.0; vendor-option-space PXE; host eden { hardware ethernet 00:50:fc:b1:ad:95; fixed-address 192.168.6.1; option grub-menu "(nd)/config/grub-eden.conf
Bug#253717: atftpd Packet Capture + syslog [LONG email]
Hello, i just thought the following syslog/packet capture might be helpful. First off, the syslog: [SNIP /var/log/syslog] Jun 10 15:05:30 sine dhcpd: Internet Software Consortium DHCP Server V3.0.1rc13Jun 10 15:05:30 sine dhcpd: Copyright 1995-2003 Internet Software Consortium. Jun 10 15:05:30 sine dhcpd: All rights reserved. Jun 10 15:05:30 sine dhcpd: For info, please visit http://www.isc.org/products/DHCP Jun 10 15:05:30 sine dhcpd: Wrote 0 deleted host decls to leases file. Jun 10 15:05:30 sine dhcpd: Wrote 0 new dynamic host decls to leases file. Jun 10 15:05:30 sine dhcpd: Wrote 0 leases to leases file. Jun 10 15:05:45 sine kernel: device eth0 entered promiscuous mode Jun 10 15:06:29 sine dhcpd: DHCPDISCOVER from 00:01:02:c1:42:3c via eth0 Jun 10 15:06:29 sine dhcpd: DHCPOFFER on 192.168.6.3 to 00:01:02:c1:42:3c via eth0 Jun 10 15:06:31 sine dhcpd: DHCPREQUEST for 192.168.6.3 (192.168.6.7) from 00:01:02:c1:42:3c via eth0 Jun 10 15:06:31 sine dhcpd: DHCPACK on 192.168.6.3 to 00:01:02:c1:42:3c via eth0 Jun 10 15:06:31 sine in.tftpd[21345]: connect from 192.168.6.3 (192.168.6.3) Jun 10 15:06:31 sine tftpd[21345]: Trivial FTP server started (0.6.2) Jun 10 15:06:31 sine tftpd[21345]: started by inetd Jun 10 15:06:31 sine tftpd[21345]: logging level: 7 Jun 10 15:06:31 sine tftpd[21345]: directory: /tftpboot/ Jun 10 15:06:31 sine tftpd[21345]: user: nobody.nogroup Jun 10 15:06:31 sine tftpd[21345]: log file: syslog Jun 10 15:06:31 sine tftpd[21345]: server timeout: 300 Jun 10 15:06:31 sine tftpd[21345]: tftp retry timeout: 5 Jun 10 15:06:31 sine tftpd[21345]: maximum number of thread: 100 Jun 10 15:06:31 sine tftpd[21345]: option timeout: enabled Jun 10 15:06:31 sine tftpd[21345]: option tzise: enabled Jun 10 15:06:31 sine tftpd[21345]: option blksize: enabled Jun 10 15:06:31 sine tftpd[21345]: option multicast: disabled Jun 10 15:06:31 sine tftpd[21345]: address range: 239.255.0.0-255 Jun 10 15:06:31 sine tftpd[21345]: port range:1753 Jun 10 15:06:31 sine tftpd[21347]: Serving pxegrub to 192.168.6.3:2070 Jun 10 15:06:31 sine tftpd[21347]: received RRQ mode: octet, tsize: 0> Jun 10 15:06:31 sine tftpd[21347]: tsize option -> 199204 Jun 10 15:06:31 sine tftpd[21347]: sent OACK Jun 10 15:06:31 sine tftpd[21347]: received ERROR Aborted> Jun 10 15:06:31 sine tftpd[21347]: Aborting transfer Jun 10 15:06:31 sine tftpd[21347]: Server thread exiting Jun 10 15:06:31 sine tftpd[21348]: Serving pxegrub to 192.168.6.3:2071 Jun 10 15:06:31 sine tftpd[21348]: received RRQ mode: octet, blksize: 1456> Jun 10 15:06:31 sine tftpd[21348]: blksize option -> 1456 Jun 10 15:06:31 sine tftpd[21348]: sent OACK Jun 10 15:06:31 sine tftpd[21348]: received ACK Jun 10 15:06:31 sine tftpd[21348]: sent DATA Jun 10 15:06:36 sine tftpd[21348]: timeout: retrying... Jun 10 15:06:36 sine tftpd[21348]: sent DATA Jun 10 15:06:36 sine tftpd[21348]: received ACK Jun 10 15:06:36 sine tftpd[21348]: sent DATA Jun 10 15:06:37 sine tftpd[21348]: received ACK Jun 10 15:06:37 sine tftpd[21348]: sent DATA Jun 10 15:06:39 sine tftpd[21348]: received ACK Jun 10 15:06:39 sine tftpd[21348]: sent DATA Jun 10 15:06:43 sine tftpd[21348]: received ACK Jun 10 15:06:43 sine tftpd[21348]: sent DATA Jun 10 15:06:48 sine tftpd[21348]: timeout: retrying... Jun 10 15:06:48 sine tftpd[21348]: sent DATA Jun 10 15:06:49 sine tftpd[21348]: received ACK Jun 10 15:06:49 sine tftpd[21348]: sent DATA Jun 10 15:06:54 sine tftpd[21348]: timeout: retrying... Jun 10 15:06:54 sine tftpd[21348]: sent DATA Jun 10 15:06:54 sine tftpd[21348]: received ACK Jun 10 15:06:54 sine tftpd[21348]: sent DATA Jun 10 15:06:55 sine tftpd[21348]: received ACK Jun 10 15:06:55 sine tftpd[21348]: sent DATA Jun 10 15:06:57 sine tftpd[21348]: received ACK Jun 10 15:06:57 sine tftpd[21348]: sent DATA Jun 10 15:06:57 sine tftpd[21348]: received ACK Jun 10 15:06:57 sine tftpd[21348]: sent DATA Jun 10 15:06:57 sine tftpd[21348]: received ACK Jun 10 15:06:57 sine tftpd[21348]: sent DATA Jun 10 15:06:57 sine tftpd[21348]: received ACK Jun 10 15:06:57 sine tftpd[21348]: sent DATA Jun 10 15:06:59 sine tftpd[21348]: received ACK Jun 10 15:06:59 sine tftpd[21348]: sent DATA Jun 10 15:07:04 sine tftpd[21348]: received ACK Jun 10 15:07:04 sine tftpd[21348]: sent DATA Jun 10 15:07:09 sine tftpd[21348]: timeout: retrying... Jun 10 15:07:09 sine tftpd[21348]: sent DATA Jun 10 15:07:10 sine tftpd[21348]: received ACK Jun 10 15:07:10 sine tftpd[21348]: sent DATA Jun 10 15:07:10 sine tftpd[21348]: received ACK Jun 10 15:07:10 sine tftpd[21348]: sent DATA Jun 10 15:07:10 sine tftpd[21348]: received ACK Jun 10 15:07:10 sine tftpd[21348]: sent DATA Jun 10 15:07:12 sine tftpd[21348]: received ACK Jun 10 15:07:12 sine tftpd[21348]: sent DATA Jun 10 15:07:17 sine tftpd[21348]: received ACK Jun 10 15:07:17 sine tftpd[21348]: sent DATA Jun 10 15:07:22 sine tftpd[21348]: timeout: retrying... Jun 10 15:07:22 sine tftpd[21348]: