Its not overlay, but different DT file
add this to /boot/armbianEnv.txt
fdtfile=amlogic/meson-sm1-bananapi-m2-pro.dtb
Its not overlay, but different DT file
add this to /boot/armbianEnv.txt
fdtfile=amlogic/meson-sm1-bananapi-m2-pro.dtb
thanks
I will test that next week. does that means that “fdtfile=amlogic/meson-sm1-bananapi-m2-pro.dtb” is missing in /boot/armbianEnv.txt ? and why to boot M5 with M2-pro dtb file ?
Gérard
It seems like anything past the ancient 4.9 kernel goes bonkers and it’s one of the reasons I replaced the m5 with a genuine rpi. the initial cost savings has not and is not worth the headache of this little board that “could have…”. My wifi dongle drops in and out on 5.x kernels on this thing too. Frustrating…
Sidenote: How did you even get that image to boot though? I’ve been unsuccessful 10 times trying to get any of those to even boot.
You can get the file on https://www.armbian.com/bananapi-m5/ and linux boots fine on M5 but does’nt recognize the 8822cs board. I will test next week the propose setup of Igor.
Gerard
I might overlook this. You have M5 with wifi on board? That is something different and might not work OOB if wired in some different way that M2 Pro … anyway, worth trying.
https://wiki.banana-pi.org/Banana_Pi_BPI-M5#Armbian try this 2023-01-31 relase images, the driver seems not stable, but works.
you shoud add rtl8822cs to overlay in /boot/armbianEnv.txt, default is not enable.
@igor the rtl8822cs board is connected on the gpio connector and works with the sdio protocol. Gerard
I confirm that 8822cs wifi external board on gpio connector is not recognized by
Armbian_23.02.2_Bananapim5_bullseye_current_6.1.11_minimal.img with
explicit
fdtfile=amlogic/meson-sm1-bananapi-m2-pro.dtb or
fdtfile=amlogic/meson-sm1-bananapi-m5.dtb
in armbianEnv.txt.
Both boots fine.
Gerard
official armbian only support the bananapi m2pro onboard 8821cu or 8821cu usb dongle, not support 40pin 8822cs external board.
The upstream Linux 6.2.y kernel supports RTL8822CS in the rtw88 driver and the mezzanine has been tested (working fine) with M5 and M2S boards. Older Linux kernels require the vendor driver or a pile of rtw88 patches need backporting. The following patch prepares support for the mezzanine board. You only need to enable the sd_emmc_a
and uart_a
nodes through an overlay or fdtput.
From a custom Linux image (not Armbian) - dmesg: http://ix.io/4qpF
I download “Welcome to Armbian 23.02.2 Bullseye with Linux 6.1.11-meson64” on M5 with optional RTL8822CS WiFi/BT mezzanine board.
I add “overlays=uartA” in /boot/armbianEnv.txt there is no dtb file for sd_mmc_a in overlay directory (see list in my previous post) I add the module 88x2cs in /etc/modules. I reboot and the wifi interface is not there in ifconfig.
Does some one sees this config working with this software and if yes how to configure it ? thanks for your help. Gerard
I can attest I got my wifi working by using Armbian on the latest kernel, finally, instead of getting stuck with Sinovoip’s 4.9. I use the patch by @chewitt. To avoid any confusion, this is the wifi module.
You need to compile it yourself. Clone the build repo.
git clone --depth=1 --branch=main https://github.com/armbian/build
cd build
The step is as below. Mine is using the current minimal Bookworm. You can change it accordingly.
./compile.sh CREATE_PATCHES=yes KERNEL_GIT=full BOARD=bananapim5 BRANCH=current RELEASE=bookworm BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,img
Or you can use use the UI:
./compile.sh CREATE_PATCHES=yes
At some point, you’ll be prompted to make changes to your code in a directory for patching. Find meson-sm1-bananapi-m5.dts
and replace (all) the code with the one provided by @chewitt.
vi cache/sources/linux-kernel-worktree/6.1__meson64__arm64/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts
Armbian will create a copy of the patch in output/patch
directory.
Once compiled boot into it. Then use fdtput
to make change to kernel tree. I got this from libreElec.wiki.
fdtput -t s /boot/dtb-6.x.x.xx-meson24/amlogic/meson-sm1-bananapi-m5.dtb /soc/sd@ffe03000 status okay
fdtput -t s /boot/dtb-6.x.x.xx-meson24/amlogic/meson-sm1-bananapi-m5.dtb /soc/bus@ffd00000/serial@24000 status okay
Then modify your modules.conf
:
vi /etc/modules-load.d/modules.conf
# append the following line to the end of modules.conf:
88x2cs
Reboot. If everything goes accordingly, your wifi should be up and running. @igorpec Is there’s any possibility to get the patch into the release distribution?
Regards.
EDIT: Apparently if you do system upgrade, your patched kernel can be overwritten. Thus, you need to freeze the kernel.
Thanks a lot for your answer. After some investigations I found the file of CHEWIT and I try to compile and put the patch at the right time during the build of the minimal build with your command. Unfortunatly, after two hours of build the process failed with this message :
[] Kernel image filetype after pre_package_kernel_image [ vmlinuz-6.1.25-meson64: Linux kernel ARM64 boot executable Image, little-endian, 4K pages ]
[] removed ‘/home/gerard/build/.tmp/work-5cca76d8-90d8-4071-aeae-44a2473d4702/tmp.2ItP6wUFC2/lib/modules/6.1.25-meson64/build’
[] removed ‘/home/gerard/build/.tmp/work-5cca76d8-90d8-4071-aeae-44a2473d4702/tmp.2ItP6wUFC2/lib/modules/6.1.25-meson64/source’
[] [6.6K] /home/gerard/build/.tmp/work-5cca76d8-90d8-4071-aeae-44a2473d4702/tmp.2ItP6wUFC2/lib/modules/6.1.25-meson64/kernel
[] ├── [ 60] arch
[] ├── [1.2K] crypto
[] ├── [1.7K] drivers
[] ├── [1.1K] fs
[] ├── [ 200] kernel
[] ├── [ 920] lib
[] ├── [1.0K] net
[] └── [ 280] sound
[]
[] 6.6K used in 8 directories
/home/gerard/build/lib/functions/compilation/kernel-debs.sh: command substitution: line 265: syntax error near unexpected token `then’
[] Exiting with error 2 [ at /home/gerard/build/lib/functions/compilation/kernel-debs.sh:1
kernel_package_callback_linux_image() --> lib/functions/compilation/kernel-debs.sh:1
create_kernel_deb() --> lib/functions/compilation/kernel-debs.sh:123
prepare_kernel_packaging_debs() --> lib/functions/compilation/kernel-debs.sh:72
kernel_package() --> lib/functions/compilation/kernel.sh:164
do_with_hooks() --> lib/functions/general/extensions.sh:548
do_with_logging() --> lib/functions/logging/section-logging.sh:81
kernel_prepare_build_and_package() --> lib/functions/compilation/kernel.sh:138
compile_kernel() --> lib/functions/compilation/kernel.sh:73
artifact_kernel_build_from_sources() --> lib/functions/artifacts/artifact-kernel.sh:203
artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34
obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:227
build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:276
main_default_build_packages() --> lib/functions/main/build-packages.sh:97
full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:19
do_with_default_build() --> lib/functions/main/default-build.sh:30
cli_standard_build_run() --> lib/functions/cli/cli-build.sh:29
armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
main() --> compile.sh:50
]
[] Cleaning up [ please wait for cleanups to finish ]
[] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-5cca76d8-90d8-4071-aeae-44a2473d4702.log.ans ]
I did’nt change any parameter in the build configuration and a copy of your command.
Any idea of this issue ?
Gerard
syntax error near unexpected token `then’
Not sure, but is your bash shell available? And the build is done through docker right?
I am not using docker, I build on Ubuntu 22.10 and I expect Bash is available. The only strange thing is that the build process request root password !
I migrate my PC to Ubuntu 23.04 and the build process terminated fine. The patch seems integrated well during build.
Now I will try to boot the board with this build.
I will let you know the next step.
Gérard
@boyi Thanks the board boot this build , it works on EMMC and the device wlan0 is there. Now I will configure and check that the device driver is stable. Gerard
I try to move my M5 board and its rtl8822cd board (sdio) to bookworm 24.2 build. After some research I discover that the sdio board has been integrate in the build and after adding
overlay_prefix=meson-sm1-bananapi-m5 overlays=rtl8822cs
to /boot/armbianEnv.txt and 88x2cs to /etc/modules
the interface seems recognized by Linux
root@bananapim5:/etc# iw dev phy#0 Interface wlan0 ifindex 3 wdev 0x1 addr 68:4e:05:f1:ac:2d type managed txpower -100.00 dBm root@bananapim5:/etc# 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 56:10:9e:9d:62:da brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 68:4e:05:f1:ac:2d brd ff:ff:ff:ff:ff:ff root@bananapim5:/etc#
As i can’t start the AP mode I try in client mode and the board works and connects a SSID.
After further investigations and comparaisons with 22. release, I saw the /lib/crda directory was missing in 24.2 distro and I copy it from 22.
dispit all my research I am blocked and can’t start hostapd.
I try the manual start of hostapdand got an error 47
root@bananapim5:/etc# sudo hostapd -d /etc/hostapd.conf random: getrandom() support available Configuration file: /etc/hostapd.conf ctrl_interface_group=0 nl80211: Supported cipher 00-0f-ac:1 nl80211: Supported cipher 00-0f-ac:5 nl80211: Supported cipher 00-0f-ac:2 nl80211: Supported cipher 00-0f-ac:4 nl80211: Supported cipher 00-0f-ac:6 nl80211: Supported cipher 00-0f-ac:8 nl80211: Supported cipher 00-0f-ac:9 nl80211: Supported cipher 00-0f-ac:10 nl80211: Supported cipher 00-0f-ac:11 nl80211: Supported cipher 00-0f-ac:12 nl80211: Supported cipher 00-0f-ac:13 nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106 nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4107 nl80211: key_mgmt=0xf0f enc=0xfef auth=0x7 flags=0xa0058c0 rrm_flags=0x0 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=9 nl80211: interface wlan0 in phy phy0 nl80211: Set mode ifindex 3 iftype 3 (AP) nl80211: Setup AP(wlan0) - device_ap_sme=1 use_monitor=0 nl80211: Subscribe to mgmt frames with AP handle 0xaaaae4195af0 (device SME) nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=04 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0501 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0503 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0504 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=06 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=08 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=09 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0a multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=11 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=12 multicast=0 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=7f multicast=0 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xaaaae4195af0 match= multicast=0 nl80211: Enable Probe Request reporting nl_preq=0xaaaae419e4b0 nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xaaaae419e4b0 match= multicast=0 rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 nl80211: Add own interface ifindex 3 (ifidx_reason -1) nl80211: if_indices[16]: 3(-1) phy: phy0 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE Previous country code 00, new country code FR Continue interface setup after channel list update ctrl_iface not configured! RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP]) Channel list update timeout - try to continue anyway nl80211: Regulatory information - country=00 nl80211: 2402-2472 @ 40 MHz 20 mBm nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR) nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR) nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR) nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR) nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR) nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR) nl80211: 57240-63720 @ 2160 MHz 0 mBm nl80211: Added 802.11b mode based on 802.11g information nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED] nl80211: Mode IEEE 802.11a: 5180 5200 5220 5240 5260[NO_IR][RADAR] 5280[NO_IR][RADAR] 5300[NO_IR][RADAR] 5320[NO_IR][RADAR] 5500[NO_IR][RADAR] 5520[NO_IR][RADAR] 5540[NO_IR][RADAR] 5560[NO_IR][RADAR] 5580[NO_IR][RADAR] nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED] ACS: Automatic channel selection started, this may take a bit ACS: Scanning 1 / 5 wlan0: nl80211: scan request nl80211: Passive scan requested Scan requested (ret=0) - scan timeout 10 seconds wlan0: interface state COUNTRY_UPDATE->ACS wlan0: ACS-STARTED Interface initialization will be completed in a callback (ACS) nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0 wlan0: nl80211: Scan trigger wlan0: Event SCAN_STARTED (47) received Unknown event 47 RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0 wlan0: nl80211: New scan results available nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 wlan0: Event SCAN_RESULTS (3) received ACS: Using survey based algorithm (acs_num_scans=5) nl80211: Fetch survey data wlan0: Event SURVEY (46) received No survey data received ACS: Scanning 2 / 5 wlan0: nl80211: scan request nl80211: Passive scan requested Scan requested (ret=0) - scan timeout 30 seconds nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0 wlan0: nl80211: Scan trigger wlan0: Event SCAN_STARTED (47) received Unknown event 47 RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0 wlan0: nl80211: New scan results available nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 wlan0: Event SCAN_RESULTS (3) received ACS: Using survey based algorithm (acs_num_scans=5) nl80211: Fetch survey data wlan0: Event SURVEY (46) received No survey data received ACS: Scanning 3 / 5 wlan0: nl80211: scan request nl80211: Passive scan requested Scan requested (ret=0) - scan timeout 30 seconds nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0 wlan0: nl80211: Scan trigger wlan0: Event SCAN_STARTED (47) received Unknown event 47 RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0 wlan0: nl80211: New scan results available nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 wlan0: Event SCAN_RESULTS (3) received ACS: Using survey based algorithm (acs_num_scans=5) nl80211: Fetch survey data wlan0: Event SURVEY (46) received No survey data received ACS: Scanning 4 / 5 wlan0: nl80211: scan request nl80211: Passive scan requested Scan requested (ret=0) - scan timeout 30 seconds nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0 wlan0: nl80211: Scan trigger wlan0: Event SCAN_STARTED (47) received Unknown event 47 RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0 wlan0: nl80211: New scan results available nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 wlan0: Event SCAN_RESULTS (3) received ACS: Using survey based algorithm (acs_num_scans=5) nl80211: Fetch survey data wlan0: Event SURVEY (46) received No survey data received ACS: Scanning 5 / 5 wlan0: nl80211: scan request nl80211: Passive scan requested Scan requested (ret=0) - scan timeout 30 seconds nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0 wlan0: nl80211: Scan trigger wlan0: Event SCAN_STARTED (47) received Unknown event 47 RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0 wlan0: nl80211: New scan results available nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 wlan0: Event SCAN_RESULTS (3) received ACS: Using survey based algorithm (acs_num_scans=5) nl80211: Fetch survey data wlan0: Event SURVEY (46) received No survey data received ACS: Trying survey-based ACS ACS: Unable to collect survey data ACS: All study options have failed Interface initialization failed wlan0: interface state ACS->DISABLED wlan0: AP-DISABLED ACS: Possibly channel configuration is invalid, please report this along with your config file. ACS: Failed to start wlan0: AP-DISABLED wlan0: Deauthenticate all stations nl80211: sta_remove → DEL_STATION wlan0 ff:ff:ff:ff:ff:ff → -22 (Invalid argument) hostapd_free_hapd_data: Interface wlan0 wasn’t started hostapd_deinit_driver: driver=0xaaaabe74e5a0 drv_priv=0xaaaae4198f20 → hapd_deinit nl80211: deinit ifname=wlan0 disabled_11b_rates=0 nl80211: Disable Probe Request reporting nl_preq=0x888822226c916c39 nl80211: Remove monitor interface: refcount=0 nl80211: Remove beacon (ifindex=3) netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP) nl80211: Set mode ifindex 3 iftype 2 (STATION) nl80211: Teardown AP(wlan0) - device_ap_sme=1 use_monitor=0 nl80211: Unsubscribe mgmt frames handle 0x888822226c91d279 (AP teardown (dev SME)) hostapd_deinit_driver:bss[0]->drv_priv=0xaaaae4198f20 hostapd_cleanup_iface_partial(0xaaaae41939e0) Interface wlan0 disabled wlan0: interface state DISABLED->DISABLED hostapd_interface_deinit_free(0xaaaae41939e0) hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1 hostapd_interface_deinit(0xaaaae41939e0) wlan0: interface state DISABLED->DISABLED hostapd_bss_deinit: deinit bss wlan0 wlan0: AP-DISABLED hostapd_cleanup(hapd=0xaaaae4196940 (wlan0)) wlan0: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlan0 wasn’t started hostapd_interface_deinit_free: driver=0xaaaabe74e5a0 drv_priv=(nil) → hapd_deinit hostapd_interface_free(0xaaaae41939e0) hostapd_interface_free: free hapd 0xaaaae4196940 hostapd_cleanup_iface(0xaaaae41939e0) hostapd_cleanup_iface_partial(0xaaaae41939e0) hostapd_cleanup_iface: free iface=0xaaaae41939e0 root@bananapim5:/etc#
Have you some suggestions or experiences on this kind of issue.
thanks in advance
kind regards
A readable version of terminal cut and past in the previous message.
root@bananapim5:/etc# iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 68:4e:05:f1:ac:2d
type managed
txpower -100.00 dBm
root@bananapim5:/etc# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 56:10:9e:9d:62:da brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 68:4e:05:f1:ac:2d brd ff:ff:ff:ff:ff:ff
root@bananapim5:/etc# sudo hostapd -d /etc/hostapd.conf
random: getrandom() support available
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:11
nl80211: Supported cipher 00-0f-ac:12
nl80211: Supported cipher 00-0f-ac:13
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4107
nl80211: key_mgmt=0xf0f enc=0xfef auth=0x7 flags=0xa0058c0 rrm_flags=0x0 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=9
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=1 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0xaaaae4195af0 (device SME)
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=04 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0501 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0503 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0504 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=06 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=08 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=09 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=0a multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=11 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=12 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xaaaae4195af0 match=7f multicast=0
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0xaaaae4195af0 match= multicast=0
nl80211: Enable Probe Request reporting nl_preq=0xaaaae419e4b0
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0xaaaae419e4b0 match= multicast=0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Add own interface ifindex 3 (ifidx_reason -1)
nl80211: if_indices[16]: 3(-1)
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code 00, new country code FR
Continue interface setup after channel list update
ctrl_iface not configured!
RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
Channel list update timeout - try to continue anyway
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
nl80211: Mode IEEE 802.11a: 5180 5200 5220 5240 5260[NO_IR][RADAR] 5280[NO_IR][RADAR] 5300[NO_IR][RADAR] 5320[NO_IR][RADAR] 5500[NO_IR][RADAR] 5520[NO_IR][RADAR] 5540[NO_IR][RADAR] 5560[NO_IR][RADAR] 5580[NO_IR][RADAR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlan0: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 10 seconds
wlan0: interface state COUNTRY_UPDATE->ACS
wlan0: ACS-STARTED
Interface initialization will be completed in a callback (ACS)
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wlan0: Event SURVEY (46) received
No survey data received
ACS: Scanning 2 / 5
wlan0: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wlan0: Event SURVEY (46) received
No survey data received
ACS: Scanning 3 / 5
wlan0: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wlan0: Event SURVEY (46) received
No survey data received
ACS: Scanning 4 / 5
wlan0: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wlan0: Event SURVEY (46) received
No survey data received
ACS: Scanning 5 / 5
wlan0: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462
wlan0: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wlan0: Event SURVEY (46) received
No survey data received
ACS: Trying survey-based ACS
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
wlan0: Deauthenticate all stations
nl80211: sta_remove -> DEL_STATION wlan0 ff:ff:ff:ff:ff:ff --> -22 (Invalid argument)
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_deinit_driver: driver=0xaaaabe74e5a0 drv_priv=0xaaaae4198f20 -> hapd_deinit
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Disable Probe Request reporting nl_preq=0x888822226c916c39
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=3)
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Teardown AP(wlan0) - device_ap_sme=1 use_monitor=0
nl80211: Unsubscribe mgmt frames handle 0x888822226c91d279 (AP teardown (dev SME))
hostapd_deinit_driver:bss[0]->drv_priv=0xaaaae4198f20
hostapd_cleanup_iface_partial(0xaaaae41939e0)
Interface wlan0 disabled
wlan0: interface state DISABLED->DISABLED
hostapd_interface_deinit_free(0xaaaae41939e0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0xaaaae41939e0)
wlan0: interface state DISABLED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED
hostapd_cleanup(hapd=0xaaaae4196940 (wlan0))
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=0xaaaabe74e5a0 drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0xaaaae41939e0)
hostapd_interface_free: free hapd 0xaaaae4196940
hostapd_cleanup_iface(0xaaaae41939e0)
hostapd_cleanup_iface_partial(0xaaaae41939e0)
hostapd_cleanup_iface: free iface=0xaaaae41939e0
root@bananapim5:/etc#