openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
163 stars 100 forks source link

is pxe support ? #99

Open ch0mik opened 7 years ago

ch0mik commented 7 years ago

I want to redirect to pxe server on odhcpd - it is possible ?

config dhcp 'lan' allow booting; allow bootp; .... group { next-server 192.168.1.2; filename "/tftpboot/pxelinux.0"; }

dedeckeh commented 7 years ago

@ch0mik pxe server support is not supported by the odhcpd DHCPv4 server

roogler commented 7 years ago

Add the following to /etc/config/dhcp:


config boot
        option filename '<PXE file to boot>'
        option servername '<FQDN of tftp server>'
        option serveraddress '<IP address of tftp server>'
boktai1000 commented 6 years ago

Doing some research on this package/service and seeing some conflicting information. @dedeckeh mentioned that it's not supported, but @roogler seems to have configuration to make it work. I'm looking into running odhcpd and don't have the hardware to test right now, but it sure would be nice if someone could post an update regarding this and if it is supported, close out the issue. @ch0mik have you been able to get this to work?

Thanks!

roogler commented 6 years ago

I run OpenWRT Chaos Calmer, and use it to PXE boot.

Cheers,

Randy

On Wednesday July 18, 2018, Keegan Jacobson wrote:

Doing some research on this package/service and seeing some conflicting information. @dedeckeh mentioned that it's not supported, but @roogler seems to have configuration to make it work. I'm looking into running odhcpd and don't have the hardware to test right now, but it sure would be nice if someone could post an update regarding this and if it is supported, close out the issue. @ch0mik have you been able to get this to work?

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.*

roogler commented 6 years ago

Looking further into my setup, it seems that although there is an odhcpd process running, dhcp is being handled by dnsmasq.

On Thursday July 19, 2018, roogler wrote:

I run OpenWRT Chaos Calmer, and use it to PXE boot.

Cheers,

Randy

On Wednesday July 18, 2018, Keegan Jacobson wrote:

Doing some research on this package/service and seeing some conflicting information. @dedeckeh mentioned that it's not supported, but @roogler seems to have configuration to make it work. I'm looking into running odhcpd and don't have the hardware to test right now, but it sure would be nice if someone could post an update regarding this and if it is supported, close out the issue. @ch0mik have you been able to get this to work?

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.*