User Tools

Site Tools



en:bpi-r3:wlan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:bpi-r3:wlan [2022/12/04 11:06] – [hostapd-config] franken:bpi-r3:wlan [2023/06/08 17:06] (current) – external edit 127.0.0.1
Line 4: Line 4:
 [[..:bpi-r2:wlan]] [[..:bpi-r2:wlan]]
  
-  apt install hostapd iw wireless-regdb crda dnsmasq+  apt install hostapd iw wireless-regdb crda dnsmasq rfkill
   iw reg set DE   iw reg set DE
  
 WiFi connectors are U.FL WiFi connectors are U.FL
 +
 +without rfkill hostapd does not start and prints this error:
 +
 +  Feb 12 09:56:39 bpi-r3 hostapd[2764]: wlan1: IEEE 802.11 Configured channel (40) not found from the channel list of current mode (2) IEEE 802.11a
 +  Feb 12 09:56:39 bpi-r3 hostapd[2764]: wlan1: IEEE 802.11 Hardware does not support configured channel
 +
 +and iw shows "(no IR)" after all channels
 +
 +ubuntu does not have the crda tool and so cfg80211 needs the regulatory.db
 +
 +it can be installed with wireless-regdb or copy  regulatory.db and regulatory.db.p7s from https://mirrors.edge.kernel.org/pub/software/network/wireless-regdb/
 +
 +to load the file cfg80211 needs to be compiled as module and it needs the CONFIG_CFG80211_WEXT option (else you get the error "nl80211 not found" error when using iw).
 ===== BPI-R3 internal wifi ===== ===== BPI-R3 internal wifi =====
  
Line 788: Line 801:
  
 interface=wlan0 interface=wlan0
-#interface=ap0 
 driver=nl80211 driver=nl80211
  
Line 815: Line 827:
  
 interface=wlan1 interface=wlan1
-#interface=ap0 
 driver=nl80211 driver=nl80211
  
Line 829: Line 840:
 ieee80211d=1 ieee80211d=1
 hw_mode=a hw_mode=a
-#34-50 step 2 
-#channel=40 
-#channel=44 
  
 +#34-50 step 2
 channel=36 channel=36
 +#channel=149
 +
 ieee80211h=1 ieee80211h=1
 require_vht=1 require_vht=1
Line 846: Line 857:
 #channel. #channel.
  
 +#for ch36:
 vht_oper_centr_freq_seg0_idx=42 vht_oper_centr_freq_seg0_idx=42
 +#for ch149: 
 +#vht_oper_centr_freq_seg0_idx=155
  
 #channel=60 #channel=60
Line 877: Line 890:
  
 Leds are not yet working properly (2g4 is mapped by mt76 driver and can be switched on manually but not off,5g led is still missing) Leds are not yet working properly (2g4 is mapped by mt76 driver and can be switched on manually but not off,5g led is still missing)
 +
 +=== Virtual SSID ===
 +
 +https://medium.com/@renaudcerrato/how-to-setup-a-virtual-ssid-with-hostapd-804c13c9a3c2
 +
en/bpi-r3/wlan.1670148404.txt.gz · Last modified: 2023/06/08 17:06 (external edit)