Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Asus USB-N10 NIC linux drivers not working

  1. #1
    Join Date
    Apr 2010
    Location
    Melbourne, Australia
    Beans
    1
    Distro
    Ubuntu 9.10 Karmic Koala

    Asus USB-N10 NIC linux drivers not working

    Hi all, I was hoping for some advice to overcome a driver issue I'm having. I've followed the guide to installing the drivers through the terminal (I'm a linux newb btw) and am returned with this logging info:

    Code:
    samuel@samuel-desktop:~/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009$ make
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
      CC [M]  /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.o
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c: In function ‘rtl8192_usb_probe’:
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12317: error: ‘struct net_device’ has no member named ‘open’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12318: error: ‘struct net_device’ has no member named ‘stop’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12319: error: ‘struct net_device’ has no member named ‘tx_timeout’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12320: error: ‘struct net_device’ has no member named ‘do_ioctl’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12321: error: ‘struct net_device’ has no member named ‘set_multicast_list’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12322: error: ‘struct net_device’ has no member named ‘set_mac_address’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12323: error: ‘struct net_device’ has no member named ‘get_stats’
    /home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.c:12324: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    make[2]: *** [/home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u/r8192U_core.o] Error 1
    make[1]: *** [_module_/home/samuel/Desktop/rtl8192su_linux_2.4_2.6.0003.1019.2009/HAL/rtl8192u] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
    make: *** [all] Error 2
    I've had a rummage around the forums etc and have an idea that the error relates to the version of the Linux kernel I'm running. Apparently version 2.6.31 removes support for the old net_device api.

    I'm running Ubuntu 9.10.

    Is there anyway I can still use this device or do I have to wait for updated drivers from Asus?

  2. #2
    Join Date
    May 2010
    Beans
    5

    Re: Asus USB-N10 NIC linux drivers not working

    I tried several approaches to this.
    1/ Tried to compile Asus linux driver. This will not make against later kernel because
    of changes to the net calls. It did'nt seem worth patching the file core.c to the new
    format.

    2/ Tried using the staging kernel drivers in kernel 2.6.34-rc7 after patching in the usb-id
    etc. . Unfortunately it was not easily possible to find the right firmware files to install.

    3/ The last approach, which worked with no problems at all , was to download the
    file RTL8192SU_usb_linux_v2.6.0006.20100511.zip from the Ralink site.
    This file extracted with unzip and tar and then compiled with "make" and
    "make install" with no fiddling required at all! The module is called 8172u



    The adapter works nicely, and has been quite sensitive and reliable so far....
    Especially considering how small it is.

  3. #3
    Join Date
    Oct 2009
    Location
    127.0.0.1
    Beans
    181
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Asus USB-N10 NIC linux drivers not working

    gpecke,

    You, sir/ma'am, are a genius. Couldn't figure out why the driver that came with the disk wouldn't install. I've got the new driver downloaded now, except it doesn't want to work...

    It completely freezes my computer whenever I try to "sudo insmod 8712u.ko" as it says in the instructions. As in, I can't even Ctrl+Alt+F1 to a VT. No mouse movement, no keyboard input, nothing. I have to do a hard reboot.

    I did "make", and then tried "make install" but it wouldn't work. The instructions say "./clean" which does nothing and then "insmod 8712u.ko" which is where I'm stuck.

    Any thoughts?

    Edit: I also found this link through another post here, http://samiux.blogspot.com/2010/05/h...sb-dongle.html, but my computer again froze after the "sudo modprobe 8712u". This time, I couldn't even finish the boot up process in normal or recovery kernel until I removed the dongle from my USB port.

    I will try modprobe without the dongle plugged in and see if that works, but... I hate all this cold rebooting.

    Edit 2: Okay, unplugging it and running modprobe works... however, whenever I plug it in, it freezes my system again instantly. Unplugging it does not restore use, I have to reboot with the dongle unplugged to get things back in order. /sigh

    A bug or am I missing a fix somewhere?

    Edit3: Found this post (http://art.ubuntuforums.org/showthread.php?p=9252137) which was rather helpful, so will update with relevant questions there. Will post back if I get it working.
    Last edited by Rayve; June 18th, 2010 at 03:40 AM. Reason: another attempt
    http://ubuntuforums.org/showthread.php?t=283131- How to fstab
    Ubuntu User #29490

  4. #4
    Join Date
    May 2010
    Beans
    5

    Re: Asus USB-N10 NIC linux drivers not working

    I am using kernel 2.6.34-rc7 which I compiled myself on that pc, and made sure that all kernel symbols/headers etc were correct.
    The ralink wifi package made and compiled ok aganst that kernel version.
    My suspicion is that ralink have been updating their package against the mods made to the kernel net calls.
    I would suspect that your module hung the kernel because of a version mismatch.
    Hopefully the ralink driver (working version) will be included in the kernel soon.
    If you are completely stuck, I'll email you the .config I used for the kernel, or the compiled .debs for kernel ,headers and 8712u.ko for that matter.
    Ill check this thread again in a few days.

  5. #5
    Join Date
    Apr 2007
    Beans
    1

    Re: Asus USB-N10 NIC linux drivers not working

    Quote Originally Posted by gpecke View Post
    The last approach, which worked with no problems at all , was to download the file RTL8192SU_usb_linux_v2.6.0006.20100511.zip from the Ralink site.
    Just thought I'd post a thank you for this! I just bought the ASUS USB-N10, got it home, and was disappointed to see the latest online drivers (from ASUS) fail to compile. The Ralink driver compiles easily and my wireless adapter is now working well!

  6. #6
    Join Date
    Jan 2007
    Beans
    18

    Re: Asus USB-N10 NIC linux drivers not working

    ok, maybe I am being a nitwit, do you have a link for the ralink site? I go to what I think is the site, but they don't seem to have anything for 8192.

  7. #7
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Asus USB-N10 NIC linux drivers not working

    I think he meant Realtek, not Ralink:
    http://www.realtek.com.tw/downloads/...Downloads=true

  8. #8
    Join Date
    Jan 2007
    Beans
    18

    Re: Asus USB-N10 NIC linux drivers not working

    that makes sense. Ok, got the file, and was following the instructions from Samiux. I was able to most of the way, but got stuck at the make install. Up to this point, no errors that I noticed.

    sudo make install
    cp: cannot stat `/autoconf_rtl8712_usb_linux.h': No such file or directory
    install -p -m 644 8712u.ko /lib/modules/2.6.35-22-generic/kernel/drivers/net/wireless/
    /sbin/depmod -a 2.6.35-22-generic
    root@blacktop:/home/gunter/Desktop/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201011 11/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201011 11#

    or should I just be doing the unmod'd Makefile?

    are there instructions for the linux challenged?

  9. #9
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Asus USB-N10 NIC linux drivers not working

    You ran make before that right?

    It looks like it might have completed. Try running:
    Code:
    sudo modprobe rtl8712u
    If that doesn't give you an error. See if your wireless works. If not, run:
    Code:
    dmesg | grep -i rtl
    and copy/paste the output.

  10. #10
    Join Date
    Jan 2007
    Beans
    18

    Re: Asus USB-N10 NIC linux drivers not working

    yep, make worked without error, and the file that it says not found looks to be there. I'll try your suggestion and get back. Thanks for the help, I really don't want to go back to windows (tried clean install of windows and was able to get the hardware to work, then back to clean ubuntu and having problems)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •