Ubuntu – ALFA AWUS036NH driver


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:


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?

Best Answer

  • 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
    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