How to setup a Wifi AP

(Bruno) #1


I tried to configure a Wifi AP (not a bridge) on my BPi-M2+ without success.

I’m using the Armbian-5.20 distribution for BPi

My hostapd configuration file is: interface=wlan0 driver=nl80211 ssid=MyNetwork hw_mode=g channel=1

but I didn’t succeed to make it working. The dmesg output is:

[29629.836608] dhd_open: Enter eeb03000 [29629.856083] dhd_set_scb_probe: max_scb_probe setting failed [29629.856103] dhd_open: Exit ret=0 [29629.859160] netdev_ifidx(4), chan_type(1) target channel(1) [29629.861906] Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3 [29629.869587] CFG80211-ERROR) check_dev_role_integrity : device role select failed

Please, can you help me?

(Igor) #2

Do you load module with parameter op_mode=2 ?

(Bruno) #4

Thank you Igor and sorry for my late answer.

It works fine with the op_mode set to 2

Thank you BR


how to set? use AP6212?