Bananian
BPi - R1 setup 15.08 - hostapd /8192cu problem
3
2250
View: 2250|Reply: 3
|
[Bananian]
BPi - R1 setup 15.08 - hostapd /8192cu problem
[Copy link]
|
|
Edited by Tido at Dec 20, 2015 23:33
Hi,
I have tried to setup the BPi - R1with the latest Bananian 15.08. Unfortunately, it doesn't work.
It comes with rtl8192 v3.3.2 added from Bananian and the hostapd v2.3 from Debian.
I have tried different combinations, but I always received:
invalid/unknown driver 'rtl871xdrv'
I see the only solution in packaging a 'PowerTeam' that works together.
I was wondering if the:
- hostapd
- hostapd_cli
- rtl8192
from armbian 3.4.108 could be copied into the bananian APT repository?
On the other hand, I don't know if the rtl8192 is the big exception and doesn't fit into the
BananaPi-all-in-one distro.
If someone else got Bananian working with BPi-R1 with standard software please tell me how.
Cheers
Tido
|
|
|
|
|
|
|
|
Hi Swipon,
Finally someone who answers 
I will check your .deb and come back with my findings
|
|
|
|
|
|
|
|
During install it asked me to replace my config-files with the one from your .deb.
I ignored that, but had a look at the differences. One that caught my attention:
nano /etc/init.d/hostapd
- -PIDFILE=/run/hostapd.pid
- +PIDFILE=/var/run/hostapd.pid
Copy the Code Especially the "-PIDFILE=/run/hostapd.pid" I suggest to adjust this, because:
Modern Linux distributions include a /run directory as a temporary filesystem (tmpfs) which stores volatile runtime data, following the FHS version 3.0. According to the FHS version 2.3, this data should be stored in /var/run but this was a problem in some cases because this directory isn't always available at early boot.
more: https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
or Debian here
For some reason it lists the 5GHz band although it is not capable.
hostapd -dd /etc/hostapd/hostapd.conf
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=0 dBm
I can ping GOOGLE on the R1 with SSH and my mobile does connect to the R1 and gets its IP-Address but I get no connection to the internet 
from the daemon.log
- Jan 16 22:15:50 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: associated
- Jan 16 22:15:50 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: associated
- Jan 16 22:15:51 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 WPA: received EAPOL-Key msg 2/4 in invalid state (10) - dropped
- Jan 16 22:15:51 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 WPA: received EAPOL-Key with invalid MIC
- Jan 16 22:15:51 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 RADIUS: starting accounting session 569AB2B4-00000000
- Jan 16 22:15:51 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 WPA: pairwise key handshake completed (RSN)
- Jan 16 22:15:54 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: disassociated
- Jan 16 22:15:54 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: disassociated
- Jan 16 22:16:06 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: associated
- Jan 16 22:16:06 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: associated
- Jan 16 22:16:07 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 WPA: received EAPOL-Key msg 2/4 in invalid state (10) - dropped
- Jan 16 22:16:07 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 WPA: received EAPOL-Key with invalid MIC
- Jan 16 22:16:07 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 RADIUS: starting accounting session 569AB2B4-00000001
- Jan 16 22:16:07 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 WPA: pairwise key handshake completed (RSN)
- Jan 16 22:16:10 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: disassociated
- Jan 16 22:16:10 bananapi hostapd: wlan0: STA 10:68:3f:70:65:37 IEEE 802.11: disassociated
Copy the Code
Any idea what I can test?
|
|
|
|
|
|
|