Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation? #1

Open
carlosnewmusic opened this issue Oct 1, 2017 · 5 comments
Open

documentation? #1

carlosnewmusic opened this issue Oct 1, 2017 · 5 comments

Comments

@carlosnewmusic
Copy link

How do I compile the module?

@codesnake
Copy link
Member

You can build it using a command like following:

make ARCH=$TARGET_KERNEL_ARCH \
          KSRC=$(kernel_path) \
          CROSS_COMPILE=$TARGET_PREFIX \
          CONFIG_POWER_SAVING=n

@carlosnewmusic
Copy link
Author

carlosnewmusic commented Oct 6, 2017

gives me that error when compiling
sudo make -j4 ARCH=armv7l CROSS_COMPILE=arm-linux-gnu- KSRC=$(/lib/modules/3.4.39-01-lobo/kernel/drivers/net/wireless/rtl8189es/)

bash: /lib/modules/3.4.39-01-lobo/kernel/drivers/net/wireless/rtl8189es/: Es un directorio
[sudo] password for orangepi:
make ARCH=armv7l CROSS_COMPILE=arm-linux-gnu- -C M=/home/orangepi/Downloads/rtl8189es-master/rtl8189ES modules
make[1]: *** M=/home/orangepi/Downloads/rtl8189es-master/rtl8189ES: No existe el fichero o el directorio. Alto.
Makefile:1652: fallo en las instrucciones para el objetivo 'modules'
make: *** [modules] Error 2

@codesnake
Copy link
Member

Why you use sudo for building? KSRC should point to your kernel source code.

@carlosnewmusic
Copy link
Author

carlosnewmusic commented Oct 11, 2017

in the kernel sources

sudo make -j4 ARCH=armv7l CROSS_COMPILE=arm-linux-gnu- KSRC=$(/home/orangepi/Downloads/linux/)
bash: /home/orangepi/Downloads/linux/: Es un directorio
[sudo] password for orangepi:
make ARCH=armv7l CROSS_COMPILE=arm-linux-gnu- -C M=/home/orangepi/Downloads/rtl8189es-master/rtl8189ES modules
make[1]: *** M=/home/orangepi/Downloads/rtl8189es-master/rtl8189ES: No existe el fichero o el directorio. Alto.
Makefile:1652: fallo en las instrucciones para el objetivo 'modules'
make: *** [modules] Error 2

@carlosnewmusic
Copy link
Author

carlosnewmusic commented Dec 22, 2017

http://patches.aircrack-ng.org/rtl8187_2.6.35-monitor_only.patch monitor mode patch,
that hopefully implemented this driver so that monitor mode works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants