Created
November 23, 2025 23:33
-
-
Save webknjaz/b5879c46b2641c34d73af52c553ae051 to your computer and use it in GitHub Desktop.
Notes from troubleshooting the OpenWRT config when Google Home's routes were broken af
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uci del dhcp.lan.dhcp_option | |
| uci add_list dhcp.lan.dhcp_option='6,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='121,10.60.0.1/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='249,10.60.0.1/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='121,10.20.0.1/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='249,10.20.0.1/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='121,10.0.0.1/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='249,10.0.0.1/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='121,10.60.0.10/32,192.168.1.1' | |
| uci add_list dhcp.lan.dhcp_option='249,10.60.0.10/32,192.168.1.1' | |
| uci commit dhcp | |
| /etc/init.d/dnsmasq restart | |
| #### | |
| uci del dhcp.lan.dhcp_option_force | |
| uci add_list dhcp.lan.dhcp_option_force=121,10.60.0.1/32,192.168.1.1 # <- breaks Google Home if w/o default gw | |
| uci add_list dhcp.lan.dhcp_option_force=249,10.60.0.1/32,192.168.1.1 # <- breaks Google Home if w/o default gw | |
| uci add_list dhcp.lan.dhcp_option_force=121,0.0.0.0/0,192.168.1.1 # <- default gw | |
| uci add_list dhcp.lan.dhcp_option_force=249,0.0.0.0/0,192.168.1.1 # <- default gw | |
| uci commit dhcp | |
| /etc/init.d/dnsmasq restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment