Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: y52

Kali 2 @ H3 boards doesn't switch to monitor mode

[Copy link]

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-1 00:52:12 | Show all posts
Are you sure this commit works with the WiFi chip from OrangePI plus ?
Do you know the chip, which is built in ?

The Makefile doesn't offer the 8189 chip :
########################## WIFI IC ############################
CONFIG_MULTIDRV = n
CONFIG_RTL8188E = y
CONFIG_RTL8812A = n
CONFIG_RTL8821A = n
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n
CONFIG_RTL8814A = n
CONFIG_RTL8703B = n
CONFIG_RTL8188F = n


Does the one you built works for you?

4

Threads

1128

Posts

7433

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7433
Post time 2016-5-1 01:14:26 | Show all posts
I'm pretty sure it works, I tested it in my system (OpenELEC), just that I didn't enable monitor mode. You can try to compile with monitor mode disabled and see if that makes any difference.

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-1 03:20:53 | Show all posts
I disabled the Monitor and recompiled the driver, but in vain:

root@orangepiplus:~# lsmod
Module                  Size  Used by
8189es               1212556  0

root@orangepiplus:~# iw list
root@orangepiplus:~# iwconfig
lo        no wireless extensions.
tunl0     no wireless extensions.
eth0      no wireless extensions.

The wlan i-face doesn't show up, not to speak for the rest.
It doesn't work for me. I am quite confused.

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-1 03:25:16 | Show all posts
the logs on the system boot up:

[    3.915685] RTL871X: module init start
[    3.915701] RTL871X: rtl8189es v4.3.18.1_15373.20151005
[    3.915710] RTL871X: build time: Apr 30 2016 21:01:55
[    3.915814] RTL871X: module init ret=0

2

Threads

12

Posts

65

Credits

Registered member

Rank: 2

Credits
65
Post time 2016-5-1 03:57:55 | Show all posts
i have rtl8188cu, and that works fine in monitor mode, i see it is loading rtl8192 drivers.

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-1 04:51:07 | Show all posts
Your wifi chip explains partially the reason it doesn't work on 8189rtv, which OPIplus is equipped with.
The 8189 is not part of this commit, It is specific for your model  : CONFIG_RTL8188E = y
########################## WIFI IC ############################
CONFIG_MULTIDRV = n
CONFIG_RTL8188E = y
CONFIG_RTL8812A = n
CONFIG_RTL8821A = n
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n
CONFIG_RTL8814A = n
CONFIG_RTL8703B = n
CONFIG_RTL8188F = n

Do you know which commit could work with the 8189 ?

2

Threads

12

Posts

65

Credits

Registered member

Rank: 2

Credits
65
Post time 2016-5-1 09:28:19 | Show all posts
i wish i could help you further, but im very new to this.
is there something i can do like looking for configs or so?
now i want to install my new adapter that arrived today but i do not seem to have the right kernel headers.

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-1 23:42:59 | Show all posts
My understanding is that the sources from
https://github.com/rdm-dev/rtl8189ES_linux.git
are not meant to work with the SDIO RTL8189ETV module the OPI+ is equipped with.
They are designed for the different WIFI IC, as listed in the Makefile (above).

I knocked upon the explanations here.
http://www.spinics.net/lists/linux-wireless/msg140294.html

They are two ways possible:
1) to add support of the SDIO RTL8189ETV to the main tree here
https://github.com/rdm-dev/rtl8189ES_linux.git

or

2) wait for the mainstream development.

If OrangePI team could guide their community in one or the other direction it would be a great initiative and remarkable support of their hardware.

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-2 03:49:13 | Show all posts
I approached the developer of the source we've been working with. What he told is:

> I have no clue where an official maintained project maintaining public part of rtl8189 driver.
> The repository you mentioned ( https://github.com/rdm-dev/rtl8189ES_linux ) has the only goal to make the BSP for the HomePilot device compilable by external developers.
>
> Best regards,
> Jens

As I understand it, the Realtek themselves don't care much about the generic driver for their equipment.
Is that the same approach with the OrangePI ? Could OrangePI provide support for the wifi module their SBC is equipped with?

15

Threads

105

Posts

387

Credits

Intermediate member

Rank: 3Rank: 3

Credits
387
 Author| Post time 2016-5-2 05:05:39 | Show all posts
I understood, that Jernejsk created a patch to build to make driver to work for OPi2 and Plus boards:

https://github.com/jernejsk/Open ... uild-settings.patch

I put the content of the patch to the file in the cloned git  to /usr/src/rtl8189ES_linux:

-rw-r--r-- 1 root root  8695 May  1 22:55 RTL8189ES-000-change-build-settings.patch

How could the sources be patched ?
What I did was :
root@orangepiplus:/usr/src/rtl8189ES_linux# patch < RTL8189ES-000-change-build-settings.patch
patching file Makefile
can't find file to patch at input line 43
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur a/platform/platform_ARM_SUNnI_sdio.c b/platform/platform_ARM_SUNnI_sdio.c
|--- a/platform/platform_ARM_SUNnI_sdio.c       2016-03-18 12:09:19.000000000 +0100
|+++ b/platform/platform_ARM_SUNnI_sdio.c       2016-04-15 23:25:04.000000000 +0200
--------------------------
File to patch: ^C
root@orangepiplus:/usr/src/rtl8189ES_linux#
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-10-24 04:47 GMT+8 , Processed in 0.032628 second(s), 19 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list