atftpd doesn't understand backslashes
Cedric
cedric.dewijs at tiscali.nl
Mon Jun 4 05:46:10 UTC 2007
Hi All,
I'm trying to boot a PC via PXE, so i can install windows 2000 on it. This
process is described here:
http://oss.netfarm.it/guides/ris-linux.php
http://oss.netfarm.it/guides/ris-linux.pdf
I have installed the following packages:
atftpd tftp
After some trial-and-error i discovered kubuntu 7.04 keeps the directory from
where tftpd reads here: /tftpboot. The files in the directory /tftpboot are
found and read without problem, but when the windows installer asks the
following file, atftpd can't find it:
\win2k\i386\txtsetup.sis
As the following test reveals, the problem is that the windows installer uses
backslashes, and tftpd wants to see forward slashes:
cedric at athlon:/tmp$ tftp
tftp> connect 127.0.0.1
tftp> get pxelinux.0
Received 13554 bytes in 0.0 seconds
tftp> get /win2k/i386/txtsetup.sif
Received 380765 bytes in 0.3 seconds
tftp> get \win2k\i386\tctsetup.sif
Error code 1: File not found
tftp> quit
cedric at athlon:/tmp$
In the man file, i've found the option "-m remap-file". Can this be used to
convert the backslashes into forward slashes?
Technical info:
cedric at athlon:/tmp$ /usr/sbin/in.tftpd -V
atftp-0.7 (server)
cedric at athlon:/tmp$ cat /etc/inetd.conf
#bootps dgram udp wait root /usr/sbin/bootpd
bootpd -i -t 120
#<off># netbios-ssn stream tcp nowait
root /usr/sbin/tcpd /usr/sbin/smbd
tftp dgram udp wait
nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout
5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl
1 --maxthread 100 --verbose=5 /tftpboot
cedric at athlon:/tmp$ uname -a
Linux athlon 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686
GNU/Linux
cedric at athlon:/tmp$ cd /tftpboot/
cedric at athlon:/tftpboot$ find
.
./W2KLD.ori
./W2KLD
./w2k.0
./win2k
./win2k/i386
./win2k/i386/txtsetup.sif
./pxelinux.0ntdetect.com
./pxelinux.0
./pxelinux.0winnt.sif
./pxelinux.0ntdetect.com.ori
./pxelinux.cfg
./pxelinux.cfg/default
./pxelinux.cfg/01-00-d0-b7-86-ee-7e
./memtest86
cedric at athlon:/tftpboot$
Best regards,
Cedric
--
The only stupid question is the one you don't ask
More information about the ubuntu-users
mailing list