This is my first flashing of any router as of a few days ago. It actually went well. I followed the directions from riptidewave93 and then upgraded within LuCI to what is recommended on this website ("OpenWrt 19.07.7 r11306-c4a6851c72" is what LuCI is showing right now). No real issues there. After this upgrade, I was also able to connect to the device via ssh (ssh wouldn't let me before because pre-upgrade the Meraki wanted to use SHA1).
Wifi seems to work well right out of the box (only needs to be enabled). Things can connect to wifi & seem to see each other.
Wifi to WAN is another matter and there I seem to be completely lost. I think I have a good grasp of what I need (almost the most basic setup) but I'm not sure what that looks like or how to get there.
I am trying to connect via a pretty locked down Arris SBG6580 cable modem from Spectrum. It seems to be picky about DHCP (maybe it needs to happen around a narrow window of time during boot) but it otherwise works. There's no NAT, as far as I can tell. Things talk to 192.168.100.1 and automagically get assigned some non internal IP address & gateway.
The Meraki MR-12 has a wlan0 port, an eth0 port and presumably a eth1 port that cannot currently be accessed within openwrt (from what I have read regarding the original riptidewave93 build and from I have read in the forums here about the current builds). I assume any references to eth1 are irrelevant or incorrect.
I want a connection to eth0. I want NAT there & for DHCP to happen with incoming wlan connections.
I have been able to join wlan0 & eth0 but it was a failure because it somehow ended as a single network rather than as a route from 192.168.1.0/24 to 192.168.100.0/24 (it broke my network, as would be expected).
I was able to get wifi working one time but it was not doing DHCP (only one device got internet access and everything else could not see outside). I have no idea how I accomplished even that much (I reset settings since then). Other than that, I've never seen a ping go through from the MR12.
It looks like I am lost in LuCI & I am equally lost in the command line.
br-lan Link encap:Ethernet HWaddr 92:D0:5F:1D:6C:E5 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::90d0:5fff:fe1d:6ce5/64 Scope:Link inet6 addr: fd1a:5956:3460::1/60 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:104373 errors:0 dropped:0 overruns:0 frame:0 TX packets:72958 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12707599 (12.1 MiB) TX bytes:37243686 (35.5 MiB) eth0 Link encap:Ethernet HWaddr 92:D0:5F:1D:6C:E5 inet6 addr: fe80::90d0:5fff:fe1d:6ce5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:51928 errors:0 dropped:0 overruns:0 frame:0 TX packets:27640 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6055129 (5.7 MiB) TX bytes:6599913 (6.2 MiB) Interrupt:4 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:49080 errors:0 dropped:0 overruns:0 frame:0 TX packets:49080 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5257157 (5.0 MiB) TX bytes:5257157 (5.0 MiB) wlan0 Link encap:Ethernet HWaddr 00:03:7F:BE:EF:EC inet6 addr: fe80::203:7fff:febe:efec/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:86093 errors:0 dropped:0 overruns:0 frame:0 TX packets:79626 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12276915 (11.7 MiB) TX bytes:38252449 (36.4 MiB)
cat /etc/config/network gives
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fd1a:5956:3460::/48' config interface 'lan' option type 'bridge' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'modem' option ifname 'eth0' option proto 'dhcp' option broadcast '1'
cat /etc/config/dhcp gives:
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.auto' option nonwildcard '1' option localservice '1' config dhcp 'lan' option interface 'lan' option start '100' option limit '150' option leasetime '12h' option dhcpv6 'server' option ra 'server' option ra_management '1' 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'