rebuild rtl8189es from GIT for OPI+

Recommended Posts


Have you made changes to your   ?

This patch doesn't enable Monitor mode and needs to be manually correctly to enable it.


Probably it would be necessary submitting a revised one to Igor, so that he includes the monitor capability to regular builds, despite that I was unable to produce this mode working on the Armbian system.



I haven't yet tried the AP mode. It is on the list, but other priorities prevent from testing it.

Link to post
Share on other sites
Donate and support the project!



Yes, I see the changes now:



I dumped the latest Armbian 5.14 to TF card and the new driver is already in:


root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# lsmod
Module                  Size  Used by
8189es               1076034  0
root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# modinfo 8189es
filename:       /lib/modules/3.4.112-sun8i/kernel/drivers/net/wireless/rtl8189ES_linux/8189es.ko
version:        v4.3.18.1_15373.20151005


and it reports capable of monitor mode:

root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# iw list
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * monitor
                 * P2P-client
                 * P2P-GO


And I have found part of the puzzle of the reason it was unable to switch to monitor mode. It appears, that default installation doesn't bring up the wlan0. #ifconfig doesn't show it up.


So it gives:

root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not permitted.


Once it is brought up:

root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# ip link set wlan0 up

root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# ifconfig

shows the   wlan0     Link encap:Ethernet  HWaddr 58:63:


And it is possible now switching it to a different mode:

root@orangepiplus:/usr/src/linux-headers-3.4.112-sun8i# iwconfig wlan0 mode monitor


Anyway, it doesn't work correctly.


 [!] no wireless interfaces were found.
 [!] you need to plug in a wifi device or install drivers.


I created mon0 manually :

root@orangepiplus:~# iw phy phy0 interface add mon0 type monitor

but again, no wireless network could be found:

root@orangepiplus:~# airodump-ng mon0 start

 CH  9 ][ Elapsed: 28 s ][ 2016-06-05 21:58                                         
 BSSID              PWR  Beacons    #Data, #/s  CH  MB   ENC  CIPHER AUTH ESSID

empty list


It doesn't run either with

root@orangepiplus:~#  ip link set mon0 up

Link to post
Share on other sites
This topic is now closed to further replies.