Jump to content

bpi m2 berry wifi error


r2d2r01

Recommended Posts

Hi I'm a newbie on armbian (below my boot & some informations).

J have install xfce and the image corresponding to my board.

WIFI don't runs fine, i have tried commands I know.

Thank's for help

Fred

 

Spoiler

login as: root
root@192.168.0.154's password:

 ____                                  ____  _   __  __ ____  _   _
| __ )  __ _ _ __   __ _ _ __   __ _  |  _ \(_) |  \/  |___ \| | | |
|  _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | | | |\/| | __) | | | |
| |_) | (_| | | | | (_| | | | | (_| | |  __/| | | |  | |/ __/| |_| |
|____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_|   |_| |_|  |_|_____|\___/


Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 5.0.10-sunxi
System load:   0.00 0.02 0.00   Up time:       1:04 hour                Local users:   3
Memory usage:  15 % of 1000MB   IP:            192.168.0.154
Usage of /:    17% of 7.2G

[ General system configuration (beta): armbian-config ]
Linux bpim2b 5.0.10-sunxi #5.83 SMP Mon Apr 29 08:07:24 CEST 2019 armv7l GNU/Linux


root@bpim2b:~# nmcli d
P▒RIPH▒RIQUE  TYPE      ▒TAT          CONNEXION
eth0          ethernet  connect▒      Wired connection 1
wlan0         wifi      indisponible  --
dummy0        dummy     non-g▒r▒      --
lo            loopback  non-g▒r▒      --
root@bpim2b:~# nmcli r
WIFI-HW  WIFI    WWAN-HW  WWAN
activ▒   activ▒  activ▒   activ▒
root@bpim2b:~# nmcli c
NOM                   UUID                                  TYPE             P▒RIPH▒RIQUE
Wired connection 1    bd8954ac-9686-39fa-8a8b-270c7d40545f  802-3-ethernet   eth0
Connexion Wi-Fi pipo  c572984a-ba6c-4cdb-a90b-0ec1be0a6726  802-11-wireless  --
root@bpim2b:~# nmcli n
activ▒

root@bpim2b:/etc/network# nmcli
eth0: connect▒ to Wired connection 1
        ethernet (dwmac-sun8i), 02:53:1A:D9:1B:5C, hw, mtu 1500
        ip4 default
        inet4 192.168.0.154/24
        route4 169.254.0.0/16

wlan0: indisponible
        "Broadcom "
        wifi (brcmfmac), B0:F1:EC:22:15:4C, hw, mtu 1500

dummy0: non-g▒r▒
        dummy, 26:6B:47:65:01:D1, sw, mtu 1500

lo: non-g▒r▒
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

DNS configuration:
        servers: 192.168.0.200
        interface: eth0


root@bpim2b:/etc/network# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.154  netmask 255.255.255.0  broadcast 192.168.0.255
        ether 02:53:1a:d9:1b:5c  txqueuelen 1000  (Ethernet)
        RX packets 13704  bytes 1297444 (1.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10821  bytes 1356130 (1.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 35

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Boucle locale)
        RX packets 3  bytes 204 (204.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3  bytes 204 (204.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@bpim2b:/etc/network# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

dummy0    no wireless extensions.

wlan0     IEEE 802.11  Mode:Master
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

root@bpim2b:~# hostapd -dd /etc/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
nl80211: Using driver-based roaming
nl80211: TDLS supported
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: Using driver-based off-channel TX
nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=1 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x9286c0 (device SME)
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=04
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0501
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0503
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0504
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=08
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=7f
nl80211: Enable Probe Request reporting nl_preq=0x928720
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x928720 match=
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
Could not set interface wlan0 flags (UP): Input/output error
nl80211: Could not set interface 'wlan0' UP
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Disable Probe Request reporting nl_preq=0x881a0fa9
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=4)
netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -11 (Resource temporarily unavailable)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -11 (Resource temporarily unavailable)
Could not set interface wlan0 flags (UP): Input/output error
nl80211: Failed to set interface up after switching mode
nl80211: Interface mode change to 2 from 3 failed
nl80211: Unsubscribe mgmt frames handle 0x881a0e49 (deinit)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x9256e0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x9256e0)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED
hostapd_cleanup(hapd=0x926310 (wlan0))
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x9256e0)
hostapd_interface_free: free hapd 0x926310
hostapd_cleanup_iface(0x9256e0)
hostapd_cleanup_iface_partial(0x9256e0)
hostapd_cleanup_iface: free iface=0x9256e0
root@bpim2b:~# hostapd -dd /etc/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
nl80211: Using driver-based roaming
nl80211: TDLS supported
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: Using driver-based off-channel TX
nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Setup AP(wlan0) - device_ap_sme=1 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x9286c0 (device SME)
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=04
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0501
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0503
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0504
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=08
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x9286c0 match=7f
nl80211: Enable Probe Request reporting nl_preq=0x928720
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x928720 match=
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
Could not set interface wlan0 flags (UP): Input/output error
nl80211: Could not set interface 'wlan0' UP
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Disable Probe Request reporting nl_preq=0x881a0fa9
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=4)
netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -11 (Resource temporarily unavailable)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Failed to set interface 4 to mode 2: -11 (Resource temporarily unavailable)
Could not set interface wlan0 flags (UP): Input/output error
nl80211: Failed to set interface up after switching mode
nl80211: Interface mode change to 2 from 3 failed
nl80211: Unsubscribe mgmt frames handle 0x881a0e49 (deinit)
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x9256e0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x9256e0)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED
hostapd_cleanup(hapd=0x926310 (wlan0))
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x9256e0)
hostapd_interface_free: free hapd 0x926310
hostapd_cleanup_iface(0x9256e0)
hostapd_cleanup_iface_partial(0x9256e0)
hostapd_cleanup_iface: free iface=0x9256e0

 

 

 

Link to comment
Share on other sites

9 hours ago, r2d2r01 said:

WIFI don't runs fine, i have tried commands I know.

 

9 hours ago, r2d2r01 said:

I'm a newbie on armbian

 

We don't support this board and provide only test images. What works, works. Terrible board if you plan to use it but interesting/usable if you are a kernel hacker. Many things are not developed or are somewhere in the middle and they are waiting for someone to address them. 
 

Link to comment
Share on other sites

4 minutes ago, r2d2r01 said:

Thank's answering Igor .

What's it the problem ? driver ...(ap6212)

Solution -> recompile kernel ... ?

Fred


No, solution is not that simple. You can either use a board manufacturer image "from previous century" and other problems or our unfinished one. If you want to finish this one and enjoy all the goods that come with a modern kernel, someone have to invest into kernel development. Not that serious or that much, since a lot is already done (by community, not necessarily by us), but still additional 10 or 100 or 1000 hours (really hard to judge without investing into investigation) have to be added to tune-in and fix what is still broken ...

 

Kernel and image recompilation - core of Armbian - is fully automatised

Link to comment
Share on other sites

Thank's Igor, than'ks for answer.

Sad situation, very strange that banapi ouputs a card without hardware/drivers runs fine.....

I try from a debian strecht (  Operating System: Debian GNU/Linux 9 (stretch) /  Kernel: Linux 3.10.108-BPI-M2U-Kernel) it appears wifi sta connect ok, i work on AP...

Fred


 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines