Hi,
I'm dipping my toes in OpenWRT with some old Google Wifi pucks I scored.
What I have achieved so far:
My first puck (192.168.64.1) act as a router and has a wifi network and mesh network set up.
My second puck (192.168.64.3) is configured as a dump AP that has a wifi network with the same SSID and password as the first one. It can mesh with the first puck (.1). It has no wired backend (not possible).
What I see: wireless devices can connect to the wifi on the second puck without any issue. It gets an IP from the DHCP server on the first puck.
However, when I connect a device with an ethernet cable to the lan port on the second puck, it does not get an IP address from the DHCP.
I guess I'm missing something really basic, but I'm stuck a bit. Can anyone help? Thanks.
Relevant (I think) configs:
First puck (router)
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
/etc/config/mesh11sd
config mesh11sd 'setup'
option enabled '1'
option debuglevel '1'
option checkinterval '10'
option interface_timeout '10'
config mesh11sd 'mesh_params'
option mesh_fwding '1'
option mesh_rssi_threshold '-80'
option mesh_gate_announcements '1'
option mesh_hwmp_rootmode '3'
option mesh_max_peer_links '150'
/etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd91:0961:720e::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config device
option name 'lan'
option macaddr '88:3d:24:9c:de:66'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.64.1'
config device
option name 'wan'
option macaddr '88:3d:24:9c:de:65'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/a000000.wifi'
option band '2g'
option htmode 'HT20'
option channel 'auto'
option country 'BE'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'my super secret password (no it is not)'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/a800000.wifi'
option channel '36'
option band '5g'
option htmode 'VHT80'
option disabled '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'my super secret password (no it is not)'
config wifi-iface 'mesh'
option network 'mesh'
option device 'radio1'
option disabled '0'
option mode 'mesh'
option ifname 'mesh0'
option channel '36'
option network 'lan'
option mesh_id 'my-first-mesh'
option encryption 'none'
Second puck (dumb AP)
/etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
/etc/config/mesh11sd
config mesh11sd 'setup'
option enabled '1'
option debuglevel '1'
option checkinterval '10'
option interface_timeout '10'
config mesh11sd 'mesh_params'
option mesh_fwding '1'
option mesh_rssi_threshold '-80'
option mesh_gate_announcements '1'
option mesh_hwmp_rootmode '3'
option mesh_max_peer_links '150'
/etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd39:f9b5:7623::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
config device
option name 'lan'
option macaddr '70:3a:cb:f7:4b:06'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.64.3'
option gateway '192.168.64.1'
option dns '192.168.64.1'
config device
option name 'wan'
option macaddr '70:3a:cb:f7:4b:05'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/a000000.wifi'
option band '2g'
option htmode 'HT20'
option channel 'auto'
option country 'BE'
option cell_densitfy '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'my super secret password (no it is not)'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/a800000.wifi'
option channel '36'
option band '5g'
option htmode 'VHT80'
option disabled '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'my super secret password (no it is not)'
config wifi-iface 'mesh'
option network 'mesh'
option device 'radio1'
option disabled '0'
option mode 'mesh'
option ifname 'mesh0'
option network 'lan'
option mesh_id 'my-first-mesh'
option channel '36'
option encryption 'none'