Bananian

Cant get banana pro wifi to work

5 1404
Edited by Noo-Bi128 at Feb 15, 2017 19:21

I'm getting nuts getting wifi to work.

yes, module ap6210 is loaded. yes, hardware is set to bpro.

Wifis Name is FritzBox7170
Password is password

with  /etc/network/interfaces

auto wlan0
        iface wlan0 inet dhcp
        wpa-ssid FritzBox7170
#      wpa-psk password
        wpa-psk 3260aee24f88362d4dfcb3453804120d5f667b68c5302cfb8d4bb737947e7165

At one point in time, wifi is working. Then I do
ifconfig wlan0 down
ifconfig wlan0 up

and I get

iw dev wlan0 link
Not connected.

reboot

iw dev wlan0 link
Not connected.

# service networking restart

[...]


Listening on LPF/wlan0/[...]
Sending on   LPF/wlan0/[...]
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
# service networking restartDHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.


I use bpro and bananian because I expected such wifi problems not to happen then.

Or am I making a stupid mistake?!

dmesg:
[ap6210] dhd_bus_devreset: WLAN ON
[ap6210] Final fw_path=/lib/firmware/ap6210/fw_bcm40181a2.bin
[ap6210] Final nv_path=/lib/firmware/ap6210/nvram_ap6210.txt
[ap6210] download firmware /lib/firmware/ap6210/fw_bcm40181a2.bin
[ap6210] bcmsdh_set_irq Flag = 1
[ap6210] dhd_bus_devreset: WLAN ON DONE
[ap6210] Dongle ready, protocol version 4
[ap6210] Dongle ready, protocol version 4
[ap6210] Firmware up: op_mode=0x0001, Broadcom Dongle Host Driver mac=44:2c:05:11:f0:49
[ap6210] Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[ap6210] Chip: a962 Rev 1 Pkg 9
[ap6210] Link down Reason : WLC_E_DEAUTH_IND
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_LINK
[ap6210] Reason 3
[ap6210] Link down Reason : WLC_E_LINK
[ap6210] Link down Reason : WLC_E_DEAUTH_IND
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_DEAUTH
[ap6210] Link down Reason : WLC_E_LINK
[ap6210] Reason 3
[ap6210] Link down Reason : WLC_E_LINK
[ap6210] unexpected Escan Event 10 : abort
[ap6210] Reason 3
[ap6210] Link down Reason : WLC_E_LINK

I can use wicd-curses, but it seems like this allows only one connection (not wlan and eth in parallel)
igorpec  
Edited by igorpec at Feb 16, 2017 12:17

Any particular reason that you stick to stock kernel and it's buggy wifi driver?

Go for mainline 4.9.7, desktop. Armbian has "Network manager", connecting to Wlan is plain simple and it works fine.
https://www.armbian.com/banana-pi-pro/

How to do that? bananian-update does not list any update, and apt-get upgrade had no kernel update afaik ?!

igorpec  
This is different OS. You need to download image and start from scratch. It could be possible to upgrade, we even write some script, but it hasn't been update for some long time and can't recommend that procedure ...
It's much better if you start from clean image.

But armbian is a full-blown linux, isnt it? no server/headless system?! - I'd prefer that as the banana is not that powerful.....

igorpec  
Edited by igorpec at Feb 17, 2017 20:12
But armbian is a full-blown linux, isnt it? no server/headless system?! - I'd prefer that as the banana is not that powerful.....

Armbian is as minimal Linux (Debian or Ubuntu based) as possible. Back then in 2013 we started to provide only server images, desktop came later. It's not a question of power but stability, features, clutter, etc. We provide clean system which is based on stock Debian / Ubuntu.

It's a perfect tool for beginners since it works very stable, it's simple, it's tested a lot and it's also O.K. for powerful users, since we don't provide much useless applications that one might not want to have on the system by default.

We provide solid documentation and support. It's regularly updated and it's free.

You have to log in before you can reply Login | Sign Up

Points Rules