Hi everyone,
I am running into troubles with setting up a postconf script.
So the thing is I do not use the wan port on my rt-n66u so I need to setup manually the default route each time the router experiences a reboot (basically during power outage ...)
I do not mind do that manually but when I'm not home, then it becomes a problem because no-one can use the internet ... since this router is also the dns server!
the line is simple :
So created a dnsmasq.postconf file with that line in it, hoping it would work. but is does not ...
Each time the router restart, If I add the route, then nothing happens, it does not work. but if I, first, restart the dhcp/dns server and then add the route, then is works!
I do not really know what's going on so if anyone has an idea, I'm ready to hear it!
Thanks,
Pierre
I am running into troubles with setting up a postconf script.
So the thing is I do not use the wan port on my rt-n66u so I need to setup manually the default route each time the router experiences a reboot (basically during power outage ...)
I do not mind do that manually but when I'm not home, then it becomes a problem because no-one can use the internet ... since this router is also the dns server!
the line is simple :
Code:
route add default gw 192.168.0.1 br0
So created a dnsmasq.postconf file with that line in it, hoping it would work. but is does not ...
Each time the router restart, If I add the route, then nothing happens, it does not work. but if I, first, restart the dhcp/dns server and then add the route, then is works!
I do not really know what's going on so if anyone has an idea, I'm ready to hear it!
Thanks,
Pierre