openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

WiFi AP switches to Client from Master and does not Broadcast

Open chop249 opened this issue 3 years ago • 7 comments

Expected Behavior

Raspberry Pi 4B should act as a WiFi access point.

Current Behavior

I get it all set up according to Ysurac's instructions but the SSID is not broadcast and the mode switches from Master to Client. I've tried starting from a fresh copy of OpenMPTCPRouter and it does the same. This is what I am following:

https://github.com/Ysurac/openmptcprouter/wiki/Configure-Wifi

Specifications

chop249 avatar Jul 19 '22 22:07 chop249

I would need the result of uci show wireless via SSH on the router or "wireless" part in System->OpenMPTCProuter->Show all config.

Ysurac avatar Jul 20 '22 15:07 Ysurac

****Edited. The first time it was disabled. This is with it enabled.

wireless.radio0=wifi-device wireless.radio0.type='mac80211' wireless.radio0.path='platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1' wireless.radio0.htmode='HT20' wireless.radio0.hwmode='11g' wireless.radio0.channel='auto' wireless.radio0.txpower='20' wireless.radio0.country='US' wireless.radio0.cell_density='0' wireless.default_radio0=wifi-iface wireless.default_radio0.device='radio0' wireless.default_radio0.mode='ap' wireless.default_radio0.skip_inactivity_poll='1' wireless.default_radio0.ssid='' wireless.default_radio0.encryption='psk2' wireless.default_radio0.key='****' wireless.default_radio0.network='wifi lan'

chop249 avatar Jul 20 '22 15:07 chop249

Screen Shot 2022-07-20 at 10 56 43 AM

chop249 avatar Jul 20 '22 15:07 chop249

Try to set a fixed channel and cell density and then disable and enable the interface.

Ysurac avatar Jul 20 '22 16:07 Ysurac

Adding the channel makes it go Wireless is not associated. I tried 1 and 11 as well as just turning density on and with only density it still goes to Client but associates.

wireless.radio0=wifi-device wireless.radio0.type='mac80211' wireless.radio0.path='platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1' wireless.radio0.htmode='HT20' wireless.radio0.hwmode='11g' wireless.radio0.country='US' wireless.radio0.cell_density='1' wireless.radio0.channel='1' wireless.default_radio0=wifi-iface wireless.default_radio0.device='radio0' wireless.default_radio0.mode='ap' wireless.default_radio0.skip_inactivity_poll='1' wireless.default_radio0.ssid='*******' wireless.default_radio0.encryption='psk2' wireless.default_radio0.key='***********' wireless.default_radio0.network='wifi lan'

chop249 avatar Jul 20 '22 16:07 chop249

What is the result after a uci del wireless.radio0.htmode && commit wireless via SSH on the router ?

Ysurac avatar Jul 20 '22 16:07 Ysurac

I got it up and running. I had to change it from N to Legacy. Not sure why but it worked.

chop249 avatar Jul 20 '22 20:07 chop249

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Oct 19 '22 19:10 github-actions[bot]