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
14comentarios
Actividad nueva en Posteamelo
0puntos
0visitas
0comentarios
Dar puntos:

Dejá tu comentario

0/2000
14 Comentarios archivados
Del Taringa! original
C@Caniones6/1/2014+1-0
Tenquiu
r@rockflacoxXFacundo5/31/2014+0-0
@xXFacundo Tu vida debe ser re interesante entonces. Contame más ¿Con qué te pajeás? ¿Con poringa?
x@xXFacundorockflaco5/31/2014+0-0
@rockflaco No me pajeo tanto con T! como vos
r@rockflacoxXFacundo5/31/2014+0-0
@xXFacundo Muy buena tu respuesta. 3 días te llevó pensarla?
a@antizeptic5/28/2014+0-0
anda cagar flaco ni vos sabes para que sirve esto jaja
r@rockflaco5/28/2014+3-0
Quería postear algo que no le sirva a nadie y bueno justo estaba leyendo esto
S@SergioOnceAgain5/28/2014+2-0
que carajo es esto lo puedo romper?
r@rockflaco5/28/2014+1-0
click derecho L1 R12 piña patada pete
r@rockflaco5/28/2014+1-0
Para tener un tftp en un host sin necesidad de instalar otro dhcp, por medio del dhcp de dd-wrt
W@Wk5/28/2014+4-0
como puedo cambiar el fondo de escritorio vieja?
c@copperchild5/28/2014+0-0
para que sirve? cual es la utilidad?
r@rockflaco5/27/2014+0-0
Almirante brouwn
d@danielarario5/27/2014+1-0
Que se yo, estoy re duro
x@xXFacundo5/27/2014+8-1
Al menos traducilo no?

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.