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?

user230142
  • 11
  • 2
  • 2
  • 5
  • Isn't rtl8187 already built in to Ubuntu with kernel version 3.8.0-xx? Is it not working as expected? – chili555 Dec 30 '13 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 '13 at 17:57
  • What is the error, exactly? What does this tell us? sudo modprobe rtl8187 and next: dmesg | grep rtl – chili555 Dec 30 '13 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 parameterand' [ 2680.789038] usbcore: registered new interface driver rtl8187 – user230142 Dec 31 '13 at 01: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 '13 at 02:01
  • the command ls /etc/modprobe.d gives me: alsa-base.conf blacklist-framebuffer.conf blacklist-watchdog.conf blacklist-ath_pci.conf blacklist-modem.conf vmwgfx-fbdev.conf blacklist.conf blacklist-oss.conf blacklist-firewire.conf blacklist-rare-network.conf and the command: cat /etc/modprobe.d/rtl8187.conf gives me: cat: /etc/modprobe.d/rtl8187.conf: No such file or directory – user230142 Dec 31 '13 at 18:00

1 Answers1

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
chili555
  • 60,188