bananabrain
New Around Here
Good morning,
(RT-AC86U/384.13)
I've been trying to get a laptop to take the same ip address for both wireless and ethernet interfaces from the dhcp server. There's no possiblility of these interfaces being up simultaneously.
I've enabled custom scripts in the webui and put the following in /jffs/scripts/dnsmasq.postconf, according to the dnsmasq manpage and the asuswrt-merlin wiki...
EE is wireless, 06 is ethernet. It works beautifully and modifies /etc/dnsmasq.conf as expected.
My problem is that I can't find a way to translate that to something useful in the router's webui.
Under LAN/DHCP Server I have:
I would now expect to be able to add another entry from the offline hosts in the drop-down mac address list:
...but it throws an error "This entry has been in list", and will only allow a different ip address.
Hopefully I've doing something dumb or have missed something obvious.
Ill be very grateful if anyone can point out what it is.
Phil
(RT-AC86U/384.13)
I've been trying to get a laptop to take the same ip address for both wireless and ethernet interfaces from the dhcp server. There's no possiblility of these interfaces being up simultaneously.
I've enabled custom scripts in the webui and put the following in /jffs/scripts/dnsmasq.postconf, according to the dnsmasq manpage and the asuswrt-merlin wiki...
Code:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "dhcp-host=x:x:x:x:x:EE,192.168.1.102" "dhcp-host=x:x:x:x:x:EE,x:x:x:x:x:06,192.168.1.102" $CONFIG
EE is wireless, 06 is ethernet. It works beautifully and modifies /etc/dnsmasq.conf as expected.
My problem is that I can't find a way to translate that to something useful in the router's webui.
Under LAN/DHCP Server I have:
Code:
MAC Address IP Address Hostname
x:x:x:x:x:EE 192.168.1.102 gallipants
Code:
x:x:x:x:x:06 192.168.1.102 gallipants
...but it throws an error "This entry has been in list", and will only allow a different ip address.
Hopefully I've doing something dumb or have missed something obvious.
Ill be very grateful if anyone can point out what it is.
Phil