Wireless AP mode, no WPA

Started by none, January 02, 2025, 03:56:03 AM

Previous topic - Next topic
Hi,

I have a working run0 interface configured as AP. I can connect to it, but it always has no WPA security.

I checked all options for WPA, using AES and defined a pre-shared key. But the network created is always an open one, asks for no key at all.

Is there the desired behavior? I checked all twice, all is left is installing any plugin needed (if any) or to understand it won't work. I tried using different WIFI nics, all the same.

If anyone can help me, thanks :)

none
"We will call you Cygnus,
the God of balance you shall be."

Hi,

small update. I saw some messages on the dmesg:

run0 on uhub5
run0: <Ralink 802.11 n WLAN, class 0/0, rev 2.00/1.01, addr 1> on usbus0
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address xx
run0: [HT] Enabling 802.11n
lo0: link state changed to UP
pflog0: permanently promiscuous mode enabled
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: xx
wlan0: changing name to 'run0_wlan1'
run0: firmware RT3071 ver. 0.33 loaded
run0_wlan1: link state changed to UP
ieee80211_load_module: load the wlan_ccmp module by hand for now.
run0_wlan1: link state changed to DOWN
re0: link state changed to UP
run0_wlan1: link state changed to UP
ieee80211_load_module: load the wlan_ccmp module by hand for now.
run0_wlan1: link state changed to DOWN
run0_wlan1: link state changed to UP
ieee80211_load_module: load the wlan_ccmp module by hand for now.
run0_wlan1: link state changed to DOWN
run0_wlan1: link state changed to UP
ieee80211_load_module: load the wlan_ccmp module by hand for now.
run0_wlan1: link state changed to DOWN
run0_wlan1: link state changed to UP
ieee80211_load_module: load the wlan_ccmp module by hand for now.
run0_wlan1: link state changed to DOWN

And then I updated /boot/loader.conf.local by adding wlan_ccmp and at least WAN as Wifi client works. Now I will add wlan_amrr and try again when possible.

none
"We will call you Cygnus,
the God of balance you shall be."

small udpdate:

problem solved. For the record, to use WIRELESS on opnsense you need to load those modules on /boot/loader.conf.local:

# WLAN
wlan_ccmp_load="YES"
wlan_amrr_load="YES"
wlan_xauth_load="YES"

After those loaded I could have an AP running SSID I chose and that it would have WPA2 passphrase for it. Otherwise, the network would be opened, no password needed.

none
"We will call you Cygnus,
the God of balance you shall be."