1

hello everyone i have a question about ALFA AWUS036NH network adapter, i tried this link: How do I install drivers for the Alfa AWUS036H USB wireless adapter? but when i do:

make

i get these errors:

    make[2]: *** [/home/mohammad/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.o] Error 1
    make[1]: *** [_module_/home/mohammad/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-34-generic'
    make: *** [all] Error 2

What do I have to change to compile the driver?

6
  • Isn't rtl8187 already built in to Ubuntu with kernel version 3.8.0-xx? Is it not working as expected?
    – chili555
    Dec 30, 2013 at 16:58
  • no it's not working :( i have tried many way many things and everytime i stuck with unknown error i think if the driver installed correctly i think all of the problems will be solved
    – user230142
    Dec 30, 2013 at 17:57
  • What is the error, exactly? What does this tell us? sudo modprobe rtl8187 and next: dmesg | grep rtl
    – chili555
    Dec 30, 2013 at 21:36
  • chili555 your commands give me this: mohammad@dv6-Notebook:~$ sudo modprobe rtl8187 mohammad@dv6-Notebook:~$ dmesg | grep rtl [ 2595.425680] rtl8187: ' invalid for parameter and' [ 2680.789038] usbcore: registered new interface driver rtl8187
    – user230142
    Dec 31, 2013 at 1:02
  • It appears you have attempted a driver parameter. Let's see: ls /etc/modprobe.d. If you have a file relating to rtl8187, show us: cat /etc/modprobe.d/rtl8187.conf or whatever you found.
    – chili555
    Dec 31, 2013 at 2:01

1 Answer 1

4

There is a newer rtl8187 here. I suggest you download this file to your desktop: http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12.2/backports-3.12.2-1.tar.bz2 Right-click it and select 'Extract Here.' Now to the terminal:

cd ~/Desktop/backports-3.12.2-1
make defconfig-wifi
make
sudo make install

'make' takes a few minutes, so please be patient. Reboot and let us have your report. If it is not working as expected, post:

dmesg | grep rtl
2
  • it walks without any errors, is that mean the driver is successfully installed or i should do more things ?
    – user230142
    Dec 31, 2013 at 22:02
  • Only do the things I mentioned, including reboot.
    – chili555
    Dec 31, 2013 at 22:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .