MacWifi only working on _first_ network configured for, not others.
Hi ant,
I hope you might be able to help - I am doing my best to try and solve the issue myself so I've asked experts on the OpenWRT forum about this issue:
https://forum.openwrt.org/t/macwifi-json-connect-with-openwrt-issue/99641
The issue I posted:
Hi I'm hoping someone can advise me in understanding a problem I'm having with the Json api & OpenWRT. I am trying to get a cool MacOS extension working on a vintage mac that adds ethernet > openwrt communication via json, so you effectively get a wifi context menu in the OS like modern laptops.
For some reason it only seems to work on the very first WIFI network I configure it on, but then afterwards it doesn't seem to gain internet access on other networks.
OpenWRT: 18.06.0 version
When SSH'ing into OpenWRT and doing 'wifi status' while at my second wifi address I get:
"section": "default_radio0", "ifname": "wlan0-1", "config": { "mode": "ap", "encryption": "psk2", "ssid": "SECOND_WIFI", "bssid": "B0:3E:4E:AD:AE:A7" "key": "password2", "mode": "ap", "network": [ "lan"
"section": "wifi-iface[1]", "ifname": "wlan0", "config": { "mode": "sta", "encryption": "psk2", "ssid": "FIRST_WIFI", "bssid": "X0:XE:XE:XD:XE:X7" "key": "password1", "mode": "sta", "network": [ "wwan" "lan"
FIRST_WIFI is the original wifi network I configured the system at, which actually does work if in range. SECOND_WIFI is my home wifi which doesn't work, I am currently trying to connect to SECOND_WIFI but nothing works.
I hope this all makes sense and I hope this SSH output might have a clue as to why it isn't working here at my second wifi place. Any advice welcome.
By the way, the communication between the extension and the OpenWRT router is working and these SSH outputs are what the extension has configured the router to do.