Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save webknjaz/b5879c46b2641c34d73af52c553ae051 to your computer and use it in GitHub Desktop.

Select an option

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
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