Linksys AC Series Router Configuration Tips for OpenWRT: Difference between revisions
mNo edit summary |
|||
Line 1,409: | Line 1,409: | ||
*If a custom /etc/dhcpd.conf file is NOT being used and the standard OpenWRT method of using /etc/config/dhcp method is used (again, HINT: Use a custom /etc/dhcpd.conf file), the DHCPD startup script erases the symbolic link that connects /tmp/resolv.conf --> /tmp/resolv.conf.auto in favor of its own custom /tmp/resolv.conf file (/etc/resolv.conf). This can break DNS settings for networking in general and MWAN3. | *If a custom /etc/dhcpd.conf file is NOT being used and the standard OpenWRT method of using /etc/config/dhcp method is used (again, HINT: Use a custom /etc/dhcpd.conf file), the DHCPD startup script erases the symbolic link that connects /tmp/resolv.conf --> /tmp/resolv.conf.auto in favor of its own custom /tmp/resolv.conf file (/etc/resolv.conf). This can break DNS settings for networking in general and MWAN3. | ||
Solution? Add the following lines to the /etc/init.d/dhcpd startup script;<syntaxhighlight lang="text"> | Solution? Add the following lines to the /etc/init.d/dhcpd startup script to solve the above mentioned issue, plus some optional stuff;<syntaxhighlight lang="text"> | ||
# In the start_service() section after this line: config_file="/etc/dhcpd.conf" | |||
# Add these two lines; | |||
echo -n $"Starting ISC-DHCPD with /etc/dhcpd.conf file" | |||
echo | |||
stop_service() | stop_service() | ||
{ | { |