InicioLinuxSetear IP servidor TFTP en DHCP de dd-wrt para PXE

Setear IP servidor TFTP en DHCP de dd-wrt para PXE

Linux5/27/2014
PXE Server through DD-WRT router setup DHCPd and DNSMasq


UDHCPd

Log into DD-WRT.
Go to the Setup tab
Find the Network Address Server Settings (DHCP) section.
Make sure the following two boxes are unchecked:
Use DNSMasq for DHCP
Use DNSMasq for DNS

Go to Services tab.
Find the DHCP Server section.
Within that, find the Additional DHCPd Options text box and add the following three lines:
boot_file pxelinux.0
siaddr <server ip address>
option tftp <server ip address>
Apply settings.


___________________________________________________________________

DNSMasq, OLDER
This is a quick run down on how I got my PXE server up using a Buffalo router as the DHCP/DNS server.
My router is a Buffalo WHR-G54S with DD-WRT installed with DNSMasq (default install).

No matter what linux distribution you have, the main component you need is a TFTP daemon. I recommend
tftpd-hpa as it has the most uses in my collection of PXE installations of OSes. So in Debian/Ubuntu
run "(sudo) apt-get install tftpd-hpa". In RHEL, SLES and company it is the standard from the DVDs.

In Debian/Ubuntu, the tftp directory will most likely be /var/lib/tftpboot. The other OSes will most likely
be in /tftpboot. What happens from there is dependent on whatever OSes are going to be installed. I guess
I'll place a link later with my solutions.

Afterward, find the IP address of the PXE server (ie 10.20.30.1). Try to keep it static if possible. Go to the router
configuration page and find where "DNSMasq options" is located. Add the line below to the options:

dhcp-boot=pxelinux.0,,10.20.30.1

Apply settings on the router. Make sure your tftp daemon is running and all files necessary are in the tftp folder.

Start up a system that is capable of PXE booting and attempt to boot with that method. The router should supply
the IP address and redirect the TFTP request to the PXE server. The PXE server should reply and away it goes.
Posted 31st July 2012 by Noisome
Datos archivados del Taringa! original
66puntos
557visitas
0comentarios
Actividad nueva en Posteamelo
0puntos
4visitas
0comentarios
Dar puntos:

Dejá tu comentario

0/2000

Autor del Post

r
rockflaco🇦🇷
Usuario
Puntos0
Posts2
Ver perfil →
PosteameloArchivo Histórico de Taringa! (2004-2017). Preservando la inteligencia colectiva de la internet hispanohablante.

CONTACTO

18 de Septiembre 455, Casilla 52

Chillán, Región de Ñuble, Chile

Solo correo postal

© 2026 Posteamelo.com. No afiliado con Taringa! ni sus sucesores.

Contenido preservado con fines históricos y culturales.