en:bpi-r3:wlan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:bpi-r3:wlan [2022/12/04 11:06] – [hostapd-config] frank | en:bpi-r3:wlan [2023/06/08 17:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
[[..: | [[..: | ||
- | apt install hostapd iw wireless-regdb crda dnsmasq | + | apt install hostapd iw wireless-regdb crda dnsmasq |
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]: | ||
+ | Feb 12 09:56:39 bpi-r3 hostapd[2764]: | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | to load the file cfg80211 needs to be compiled as module and it needs the CONFIG_CFG80211_WEXT option (else you get the error " | ||
===== BPI-R3 internal wifi ===== | ===== BPI-R3 internal wifi ===== | ||
Line 788: | Line 801: | ||
interface=wlan0 | interface=wlan0 | ||
- | # | ||
driver=nl80211 | driver=nl80211 | ||
Line 815: | Line 827: | ||
interface=wlan1 | interface=wlan1 | ||
- | # | ||
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 | ||
+ | # | ||
+ | |||
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: | ||
+ | # | ||
#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:// | ||
+ |
en/bpi-r3/wlan.1670148404.txt.gz · Last modified: 2023/06/08 17:06 (external edit)