Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Fedora 19 and ALFA AWUS036H

  • 17-11-2013 7:44pm
    #1
    Registered Users, Registered Users 2 Posts: 570 ✭✭✭


    Hi folks,

    I'm trying to get my ALFA AWUS036H external wifi adaptor working on my laptop which runs Fedora 19.

    When I plug it in to the laptop nothing happens so I thought that I didn't have the necessary drivers installed...

    Looking around the web I can see that the required driver is the Realtec RTL8187L. I went to the driver download page and tried to compile the driver from there. After I cd into the downloaded directory and try 'make' I get the following error:

    make[1]: Entering directory `/usr/src/kernels/3.11.7-200.fc19.x86_64'
      CC [M]  /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.o
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:153:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8187_usb_probe’
     static int __devinit rtl8187_usb_probe(struct usb_interface *intf,
                          ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:155:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8187_usb_disconnect’
     static void __devexit rtl8187_usb_disconnect(struct usb_interface *intf);
                           ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:168:12: error: ‘rtl8187_usb_probe’ undeclared here (not in a function)
      .probe  = rtl8187_usb_probe,           
                ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:169:16: error: ‘rtl8187_usb_disconnect’ undeclared here (not in a function)
      .disconnect = rtl8187_usb_disconnect,   
                    ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:427:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
      rtl8180_proc=create_proc_entry(RTL8187_MODULE_NAME, S_IFDIR, init_net.proc_net);
      ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:427:14: warning: assignment makes pointer from integer without a cast [enabled by default]
      rtl8180_proc=create_proc_entry(RTL8187_MODULE_NAME, S_IFDIR, init_net.proc_net);
                  ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c: In function ‘rtl8180_proc_init_one’:
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:461:16: warning: assignment makes pointer from integer without a cast [enabled by default]
      priv->dir_dev = create_proc_entry(dev->name, 
                    ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:479:2: error: implicit declaration of function ‘create_proc_read_entry’ [-Werror=implicit-function-declaration]
      e = create_proc_read_entry("stats-rx", S_IFREG | S_IRUGO,
      ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:479:4: warning: assignment makes pointer from integer without a cast [enabled by default]
      e = create_proc_read_entry("stats-rx", S_IFREG | S_IRUGO,
        ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:489:4: warning: assignment makes pointer from integer without a cast [enabled by default]
      e = create_proc_read_entry("stats-tx", S_IFREG | S_IRUGO,
        ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:518:4: warning: assignment makes pointer from integer without a cast [enabled by default]
      e = create_proc_read_entry("registers", S_IFREG | S_IRUGO,
        ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:1382:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      u8 seg = ((u32)txbuf % 4);
                ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c: In function ‘rtl8187_usb_initendpoints’:
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:1588:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       seg_size = (u32)ptrcontext->transfer_buffer % 4;
                  ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c: At top level:
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:3762:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8187_usb_probe’
     static int __devinit rtl8187_usb_probe(struct usb_interface *intf,
                          ^
    /home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.c:3862:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8187_usb_disconnect’
     static void __devexit rtl8187_usb_disconnect(struct usb_interface *intf)
                           ^
    cc1: some warnings being treated as errors
    make[2]: *** [/home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187/r8187_core.o] Error 1
    make[1]: *** [_module_/home/username/Downloads/rtl8187L_linux_1041.0209.2012/rtl8187] Error 2
    make[1]: Leaving directory `/usr/src/kernels/3.11.7-200.fc19.x86_64'
    make: *** [all] Error 2
    

    I had a look around for similiar errors and found that someone in the Ubuntu forums was having a similiar issue:
    http://askubuntu.com/questions/288280/how-to-install-the-new-version-of-the-rtl8187-driver-on-ubuntu-13-04
    but his fix doesn't help me.

    I figure there must be plenty of people who have this adaptor working with Fedora so maybe I am missing something pretty basic. I know the adaptor works with Kalilinux which is quite recent. Does anyone have any advice to offer on what I should try next?


Comments

Advertisement