Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: axessit on October 08, 2015, 05:06:51 AM
-
Am trying to set up old PC's to PXE boot a kiosk. At present, and using our domain windows DHCP and that points to our WDT server. I have that currently working to pxeboot the PC's fine, but I have (for good reason) to press F12 to continue the boot. The boot files are hosting on the SME in an ibay.
I am trying to point DHCP to set the pxeboot options for the reserved mac address, and it is kind of working - it picks up the DHCP and sets the TFTP option onto the SME box fine, and it is requesting the pxelinux.0 file, but TFTP is timing out.
On the client I get PXE-E32: TFTP Open timeout a couple of times then it exits (as it should). If I change the pxelinux.0 filename, it comes back straight away the file can't be found, so I know the boot options are correct. Looking in the TFTP log on the server simply shows the connection made, but just checked the messages log and I see
Oct 8 15:04:02 smeserver in.tftpd[3899]: RRQ from 10.105.110.80 filename boot/pxelinux.0
Oct 8 15:04:02 smeserver in.tftpd[3899]: tftp: client does not accept options
Google around I found to add “-r blksize” ont the end of the server_args line, however that looks like it was using xinetd, SME is not using that.
Any ideas ?
-
Are you using the SME tftpd contrib ? If so the requires are for tftp-server and that requires xinetd
You might think the options are run from:
/etc/xinetd.d/tftp
But they aren't....
/var/service/tftpd/run - manually sets arguments when started - view it for CL/DB options but I don't think there is one in there for server-args (a NFR I guess)
Simple test is just to use a plain tftp client to see if you can grab the pxelinux.0 file
Try :
tftp my.tftp.server
get pxelinux.0
I think you could then try editing /var/service/tftpd/run and add the -B option as follows :
exec udpsvd -h $TFTPD_LOG_SETTING -u $TFTPD_USER \
$TFTPD_ACCESS_SETTING $TFTPD_UDPPORT \
in.tftpd $TFTPD_LOG_SETTING $TFTPD_PRIVILEGE_SETTING \
-u $TFTPD_USER $TFTPD_TIMEOUT_SETTING -s $TFTPD_DIRECTORY -B max-block-size
No guarantees and YMMV....
B. Rgds
John
-
Yep, using the SME tftpd contrib.
I tried downloading a simple windows client, and that doesn't work either. I see the connects OK in the log. I'll try the service/tftpd/run option Monday.
-
Yeah, added the -r blksize to the end of the line as you suggested, then bingo, up she boots.
Cheers John.
-
Yeah, added the -r blksize to the end of the line as you suggested, then bingo, up she boots.
Cheers John.
No worries and pleased I could help !
If I remember it may be something we could add a db variable for it in the contrib. Ought to open a bug on it.
Also I'm not sure why its embedded in the run file and not from the config at
/etc/xinetd.d/tftp
I'll try and find out.
B. Rgds
John