Asus RT-N66. In Access Point mode DHCP server is disabled. I have been trying to enable dhcp server using jffs config file and startup script. I can not get it running correctly.
jffs is enabled and I can store files in it that survive reboot.
I created this dnsmasq.conf file in jffs. [ /jffs/configs/dnsmasq.conf ]:
I created this startup script services-start in jffs [ /jffs/scripts/services-start ]:
ps | grep dns* shows that dnsmasq runs at startup (as does the 000dnsmasqstarted file being created in /tmp.
However, connecting devices are not getting any ip / dns from dhcp. I also tried naming the config file dnsmasq.config-add but that also did not work.
Thank you for your help.
jffs is enabled and I can store files in it that survive reboot.
I created this dnsmasq.conf file in jffs. [ /jffs/configs/dnsmasq.conf ]:
Code:
dhcp-range=192.168.1.171,192.168.1.199,255.255.255.0,24h
dhcp-option=3,192.168.1.20
dhcp-option=6,208.67.222.222,208.67.220.200
dhcp-host=00:EA:24:EE:E2:B4,192.168.1.155,24h
Code:
#!/bin/sh
killall dnsmasq
dnsmasq -c 1500 --log-async -n
touch /tmp/000dnsmasqstarted
However, connecting devices are not getting any ip / dns from dhcp. I also tried naming the config file dnsmasq.config-add but that also did not work.
Thank you for your help.