Asus RT-N13U Option 66 and Option 67

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
dbutch1976
DD-WRT Novice


Joined: 09 Mar 2014
Posts: 5

PostPosted: Fri Feb 05, 2021 16:41    Post subject: Asus RT-N13U Option 66 and Option 67 Reply with quote
Hello,

I'm doing some work in my home lab, my goal is to have as few devices as possible powered on at all times. To achieve this, I would ideally like my router to handle my DHCP and DNS. Part of what I'm working with in my lab requires both option 66 and option 67 configured as scope options. I can't use the router/modem provided by my ISP as it does not support this feature, so I dusted off my old Asus RT-N13U with the sole purpose of using it for DHCP,DNS, and IP reservations the only settings which are not working are option 66 and option 67.

Everything My config is below:

Router Model: Asus RT-N13U
Firmware: DD-WRT v3.0-r27378 (06/19/15) std
Use DNSMasq for DHCP (ON)
Use DNSMasq for DNS (ON)
Services Services  DNSMasq
DNSMasq (Enable)
Local DNS (Enable)
No DNS Rebind (Enable)
Query DNS in Strict Order (Enable)
Add Requestor MAC to DNS Query (Disable)

Additional DNSMasq Options
dhcp-option=option:dns-server,192.168.0.2
dhcp-option=br0,option:router,192.168.0.1
dhcp-option=66,"192.168.0.239"
dhcp-option=67,"undionly.kpxe.vmw-hardwired"

Anything obviously wrong or is the router just not capable of this?
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Fri Feb 05, 2021 16:58    Post subject: Reply with quote
I presume you are trying to do PXE / TFTP booting. I see no mention of using option 67 in the configuration:

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

You should also consider upgrading to a more recent release, keeping in mind that the caveat is that you should be prepared to de-brick if necessary:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/02-04-2021-r45677/asus-rtn13u/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/02-04-2021-r45677/asus-rtn13ub1/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Fri Feb 05, 2021 17:03    Post subject: Reply with quote
You have a realy old version and a realy particular setup.
It looks like this is a WAP (Wireles Acces Point) but then running a DHCP/DNS server.

Not impossible but strange Smile

I am pretty sure that the tftp compiler option is not set by default (and I assume that tftp is mandatory for pxe)

You should be able to check with :
dnsmasq -v

I am afraid it will show no-TFTP

(The last time I compiled with TFTP it made my DNSMasq crash Sad )

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
dbutch1976
DD-WRT Novice


Joined: 09 Mar 2014
Posts: 5

PostPosted: Fri Feb 05, 2021 22:20    Post subject: Reply with quote
kernel-panic69 wrote:
I presume you are trying to do PXE / TFTP booting. I see no mention of using option 67 in the configuration:

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

You should also consider upgrading to a more recent release, keeping in mind that the caveat is that you should be prepared to de-brick if necessary:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/02-04-2021-r45677/asus-rtn13u/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/02-04-2021-r45677/asus-rtn13ub1/


Thanks for the quick response. I have updated to Firmware: DD-WRT v3.0-r45677

You mentioned you don't see a mention of using option 67 in the configuration:

Aren't these the required configurations within DNSMasq?

dhcp-option=66,"192.168.0.239"
dhcp-option=67,"undionly.kpxe.vmw-hardwired"
dbutch1976
DD-WRT Novice


Joined: 09 Mar 2014
Posts: 5

PostPosted: Fri Feb 05, 2021 22:22    Post subject: Reply with quote
egc wrote:
You have a realy old version and a realy particular setup.
It looks like this is a WAP (Wireles Acces Point) but then running a DHCP/DNS server.

Not impossible but strange Smile



I don't want to use this for wireless clients at all, wireless network mode is set to disabled. Should I set the wireless mode to something else or does it matter?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Fri Feb 05, 2021 23:25    Post subject: Reply with quote
dbutch1976 wrote:
You mentioned you don't see a mention of using option 67 in the configuration:

Aren't these the required configurations within DNSMasq?

dhcp-option=66,"192.168.0.239"
dhcp-option=67,"undionly.kpxe.vmw-hardwired"


Read the man page again (I didn't see the number 67 specifically mentioned):

http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

And you skipped over this:

egc wrote:
I am pretty sure that the tftp compiler option is not set by default (and I assume that tftp is mandatory for pxe)

You should be able to check with :
dnsmasq -v

I am afraid it will show no-TFTP

(The last time I compiled with TFTP it made my DNSMasq crash Sad )


Also, option 67 is the file to be used, if I am not mistaken...

https://jocha.se/blog/tech/setting-option-66-and-67-for-dhcp

Perhaps this may shed some light:

https://wiki.archlinux.org/index.php/dnsmasq

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
dbutch1976
DD-WRT Novice


Joined: 09 Mar 2014
Posts: 5

PostPosted: Tue Feb 09, 2021 21:35    Post subject: Reply with quote
egc wrote:
I am pretty sure that the tftp compiler option is not set by default (and I assume that tftp is mandatory for pxe)

You should be able to check with :
dnsmasq -v

I am afraid it will show no-TFTP

(The last time I compiled with TFTP it made my DNSMasq crash Sad )


Sorry I'm really new to this and I'm not sure where I run this command from. You want me to telnet into the router and run dnsmasq -v by itself? When I do that I get no output.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum