Hello
I have KAMIKAZE (8.09.1, r16278) on my WRT54GS. I use this device as a WLAN router, DNS and DHCP server. I have installed a TFTP server on my fileserver and want to use this server for booting. The client get the IP from my router but ignore the dhcp option 66. If I enable the TFTP server on the router and but a the pxelinux.cfg/default on the router this file is loaded. But I have no place for the kernel on the router so I need to forward to an other TFTP server.
I have also tried to but this in /etc/config/dhcp:
config 'dhcp' 'boot'
option 'name' 'minix'
option 'filename' 'pxelinux.0'
option 'servername' 'itix'
option 'serveraddress' '192.168.1.4'
with no success.
bye
tomix
Topic: Problem: Set an other TFTP-Server
The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
try something like
config 'dnsmasq'
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'filterwin2k' '0'
option 'localise_queries' '1'
option 'local' '/lan/'
option 'domain' 'lan'
option 'expandhosts' '1'
option 'nonegcache' '0'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
option 'dhcp_boot' '/pxelinux.0,0.0.0.0'
option 'enable_tftp' '1'
option 'tftp_root' '/home/tftp'
wurststulle wrote:
try something like
config 'dnsmasq' option 'domainneeded' '1' option 'boguspriv' '1' option 'filterwin2k' '0' option 'localise_queries' '1' option 'local' '/lan/' option 'domain' 'lan' option 'expandhosts' '1' option 'nonegcache' '0' option 'authoritative' '1' option 'readethers' '1' option 'leasefile' '/tmp/dhcp.leases' option 'resolvfile' '/tmp/resolv.conf.auto' option 'dhcp_boot' '/pxelinux.0,0.0.0.0' option 'enable_tftp' '1' option 'tftp_root' '/home/tftp'
But I did not want a tftp_root on the WRT. With a TFTP directory on the WRT it works (I mount a NFS share on the WRT for that). Thanks for the dnsmasq config. I try:
option 'dhcp_boot' '/pxelinux.0,192.168.1.4'
192.168.1.4 is the TFTP-server I want.
Bye
tomix
The discussion might have continued from here.
Page 1 of 1