please choosego to mobile | Continue to access the PC version
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| Published in 2016-5-1 00:52:12 | Show all floors
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

1118

posts

9459

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9459
Published in 2016-5-1 01:14:26 | Show all floors
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| Published in 2016-5-1 03:20:53 | Show all floors
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| Published in 2016-5-1 03:25:16 | Show all floors
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
Published in 2016-5-1 03:57:55 | Show all floors
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| Published in 2016-5-1 04:51:07 | Show all floors
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
Published in 2016-5-1 09:28:19 | Show all floors
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| Published in 2016-5-1 23:42:59 | Show all floors
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| Published in 2016-5-2 03:49:13 | Show all floors
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| Published in 2016-5-2 05:05:39 | Show all floors
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 need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list