Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] Asus USB N-13 WiFi Adapter Not Working

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

[SOLVED] Asus USB N-13 WiFi Adapter Not Working

  • Quote

Post by hcaulfield57 » Mon Dec 17, 2012 9:19 pm

I've been trying to get the above wifi usb working, however to no avail. I believe it should be called ra0, but ifconfig only shows eth0 and lo. I don't know if something is missing from my kernel, or I don't have the proper firmware installed or what. The steps I've taken, are enabling support for the card in the kernel. I have the ralink drivers compiled into the kernel. I've installed linux-firmware, and still nothing, I'm not sure what's wrong. I know the card is working, I just can't get it to work on Linux. Any help would be much appreciated, I'm not sure what I'm missing out on.
Last edited by hcaulfield57 on Sun Jan 27, 2013 11:13 pm, edited 1 time in total.
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
BillWho
Veteran
Veteran
User avatar
Posts: 1600
Joined: Sat Mar 03, 2012 1:08 am
Location: US

  • Quote

Post by BillWho » Mon Dec 17, 2012 11:49 pm

hcaulfield57.

I'm using what looks to be the same dongle on two computers

Code: Select all

ASUSTek Computer, Inc. USB-N13 802.11n Network Adapter [Ralink RT3072]
Did you enable the correct kernel settings :?: Did you set the symlink for net.wlan0 :?:
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Top
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

  • Quote

Post by hcaulfield57 » Tue Dec 18, 2012 6:17 am

Thanks for the response, glad to see someone has this working. :)
BillWho wrote: Did you enable the correct kernel settings :?:
The kernel settings I have enabled are:

Code: Select all

Device Drivers --->
  [*] Network device support --->
    [*] Wireless LAN --->
      <*> Ralink driver support --->
        <*> Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support
          [*] rt2800pci - Include support for rt33xx devices
          [*] rt2800pci - Include support for rt35xx devices (EXPERIMENTAL)
          [*] rt2800pci - Include support for rt53xx devices (EXPERIMENTAL)
        <*> Ralink rt27xx/rt38xx/rt30xx (USB) support
          [*] rt2800usb - Include support for rt33xx devices
          [*] rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)
          [*] rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)
          [*] rt2800usb - Include support for unknown (USB) devices
BillWho wrote: Did you set the symlink for net.wlan0 :?:
No, because I can't even get the ifconfig -a to recognize the interface.
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
BillWho
Veteran
Veteran
User avatar
Posts: 1600
Joined: Sat Mar 03, 2012 1:08 am
Location: US

  • Quote

Post by BillWho » Tue Dec 18, 2012 2:28 pm

hcaulfield57,

This is how mine is setup:

Code: Select all

Device Drivers  --->
  [*] Network device support  --->
    [*]   Wireless LAN  ---> 
      <M>   Ralink driver support  --->
        <M>   Ralink rt27xx/rt28xx/rt30xx (USB) support  
        [ ]     rt2800usb - Include support for rt33xx devices 
        [ ]     rt2800usb - Include support for rt35xx devices (EXPERIMENTAL)
        [ ]     rt2800usb - Include support for rt53xx devices (EXPERIMENTAL) 
        [ ]     rt2800usb - Include support for unknown (USB) devices
Other info from lsmod:

Code: Select all

ws490-gentoo linux # lsmod|grep rt2800 
rt2800usb              12882  0 
rt2800lib              42406  1 rt2800usb
crc_ccitt               1275  1 rt2800lib
rt2x00usb               8666  1 rt2800usb
rt2x00lib              33783  3 rt2800usb,rt2800lib,rt2x00usb
mac80211              352582  3 rt2800lib,rt2x00usb,rt2x00lib
usbcore               143829  5 usbhid,rt2800usb,rt2x00usb,uhci_hcd,ehci_hcd
There's no need to enable Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support for a USB device :wink:
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Top
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

  • Quote

Post by hcaulfield57 » Tue Dec 18, 2012 11:00 pm

BillWho,

Thanks for the response, I tried that but no luck:

$ lsmod

Code: Select all

Module                  Size  Used by
rt2800usb              12614  0 
rt2800lib              41736  1 rt2800usb
rt2x00usb               8594  1 rt2800usb
rt2x00lib              31334  3 rt2800usb,rt2800lib,rt2x00usb
nvidia               9336009  28 
ifconfig -a, still only lists eth0, lo and sit0.
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
BillWho
Veteran
Veteran
User avatar
Posts: 1600
Joined: Sat Mar 03, 2012 1:08 am
Location: US

  • Quote

Post by BillWho » Tue Dec 18, 2012 11:41 pm

hcaulfield57,

Did you enable the dependencies like mac80211, crc_ccitt and usb :?:

If they're built-in it's not going to show with lsmod.
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Top
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

  • Quote

Post by hcaulfield57 » Wed Dec 19, 2012 12:33 am

BillWho wrote:hcaulfield57,

Did you enable the dependencies like mac80211, crc_ccitt and usb :?:

If they're built-in it's not going to show with lsmod.
I did not, at least I haven't checked yet. Does it matter if they are built in? I tend to prefer not to use modules.
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
BillWho
Veteran
Veteran
User avatar
Posts: 1600
Joined: Sat Mar 03, 2012 1:08 am
Location: US

  • Quote

Post by BillWho » Wed Dec 19, 2012 1:00 am

hcaulfield57 wrote:
BillWho wrote:hcaulfield57,

Did you enable the dependencies like mac80211, crc_ccitt and usb :?:

If they're built-in it's not going to show with lsmod.
I did not, at least I haven't checked yet. Does it matter if they are built in? I tend to prefer not to use modules.
I don't believe they have to be modules. However, I prefer modules because you can easily 'unload' or blacklist a problematic one.
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Dec 19, 2012 1:33 am

hcaulfield57,

Most USB WiFi dongles need firmware. Its easier to get the firmware to load if you use modules.
Check dmesg for firmware loading errors.

If your driver is built in, the firmware must be built into the kernel too.
If your driver is a module, the firmware goes in /lib/modules
The other two combinations both fail to find the firmware.

Hmm, the kernel help says

Code: Select all

Selects: RT2800_LIB [=n] && RT2X00_LIB_USB [=m] && RT2X00_LIB_FIRMWARE [=y] && \             │  
  │ RT2X00_LIB_CRYPTO [=y] && CRC_CCITT [=y] 
so maybe the RT2X00_LIB_FIRMWARE provides the firmware ... or maybe its just the loader.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

  • Quote

Post by hcaulfield57 » Wed Dec 19, 2012 9:32 am

Still no idea what's going on. I've enabled all of those options, lsmod shows:

Code: Select all

rt2800usb              13942  0 
rt2800lib              46224  1 rt2800usb
rt2x00usb               9527  1 rt2800usb
rt2x00lib              35540  3 rt2800usb,rt2800lib,rt2x00usb
mac80211              373364  3 rt2800lib,rt2x00usb,rt2x00lib
I previously had crc_ccitt compiled as a module, but tried compiled into the kernel, no idea why that would change anything though.

dmesg shows:

Code: Select all

[   55.243578] usbcore: registered new interface driver rt2800usb
[  102.986960] usb 2-4: USB disconnect, device number 2
[  216.836633] usb 2-4: new high-speed USB device number 3 using ehci_hcd
[  216.952644] usb 2-4: New USB device found, idVendor=0b05, idProduct=17ab
[  216.952648] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  216.952650] usb 2-4: Product: 802.11n WLAN Adapter
[  216.952652] usb 2-4: Manufacturer: Realtek
[  216.952653] usb 2-4: SerialNumber: 00e04c000001
I cannot figure out why it's not working. Maybe it's a firmware issue? I tried installing net-wireless/rt2870-firmware. No luck though. Not sure if this is even the right one, I'm just trying whatever at this point.
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Dec 19, 2012 2:59 pm

hcaulfield57,

Lets try to break it down a little.

Code: Select all

[  216.952650] usb 2-4: Product: 802.11n WLAN Adapter 
so the device is seen

BillWhos lsmod shows

Code: Select all

crc_ccitt               1275  1 rt2800lib 
which says that crc_ccitt depends on rt2800lib.
This probably means that if you have crc_ccitt built in, its broken, as rt2800lib won't be there when it tries to start.

What does dmesg say about firmware loading?

Do you have a wlan0 in

Code: Select all

ifconfig -a
-- Edit --

Lets start all over again - Your device is the same as Billwhos on the glossy packaging but its quite different internally and needs a different driver.
From your dmesg

Code: Select all

 idVendor=0b05, idProduct=17ab 
Lesson 1 is always use the Vendor and Device IDs to identify your hardware. Its not always foolproof but its a lot better than vendor descriptions. Many vendors (as here) keep the same name but chnage the guts of the hardware. In a few very rare cases, the Device ID isn't changed but thats against standards compliance.

Since you know how to build things, put

Code: Select all

idVendor=0b05, idProduct=17ab
into Google and build the driver it tells about.
It needs firmware too.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
BillWho
Veteran
Veteran
User avatar
Posts: 1600
Joined: Sat Mar 03, 2012 1:08 am
Location: US

  • Quote

Post by BillWho » Wed Dec 19, 2012 10:12 pm

hcaulfield57,

As NeddySeagoon alluded to your driver is not exactly the same as mine.

Code: Select all

ws490-gentoo ~ # dmesg|grep 'usb 1-8'
[    5.179014] usb 1-8: new high-speed USB device number 4 using ehci_hcd
[    5.305257] usb 1-8: default language 0x0409
[    5.311630] usb 1-8: udev 4, busnum 1, minor = 3
[    5.311636] usb 1-8: New USB device found, idVendor=0b05, idProduct=1784
[    5.311639] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.311642] usb 1-8: Product: 802.11 n WLAN
[    5.311645] usb 1-8: Manufacturer: Ralink
[    5.311647] usb 1-8: SerialNumber: 1.0
[    5.311737] usb 1-8: usb_probe_device
[    5.311742] usb 1-8: configuration #1 chosen from 1 choice
[    5.311909] usb 1-8: adding 1-8:1.0 (config #1, interface 0)
[    5.690199] rt2800usb 1-8:1.0: usb_probe_interface
[    5.690206] rt2800usb 1-8:1.0: usb_probe_interface - got id
[    5.854017] usb 1-8: reset high-speed USB device number 4 using ehci_hcd

Code: Select all

ws490-gentoo linux # lsusb
Bus 001 Device 004: ID 0b05:1784 ASUSTek Computer, Inc. USB-N13 802.11n Network Adapter (rev. A1) [Ralink RT3072]
As you can see I have a Ralink and yours is Realtek 8O I assumed they would be the same given the identical product info :oops:
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Dec 19, 2012 11:00 pm

BillWho,

Thats Lesson 2. Assume Nothing :)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

  • Quote

Post by hcaulfield57 » Sun Jan 27, 2013 11:13 pm

NeddySeagoon wrote: Lesson 1 is always use the Vendor and Device IDs to identify your hardware. Its not always foolproof but its a lot better than vendor descriptions. Many vendors (as here) keep the same name but chnage the guts of the hardware. In a few very rare cases, the Device ID isn't changed but thats against standards compliance.
Thank you so much! That fixed my problem, I installed the realtek drivers and then the firmware and it works properly now. I'm having trouble with wpa_supplicant, but I will open up another thread for that. Thanks again!
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jan 28, 2013 5:23 pm

hcaulfield57s sig wrote:"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
... but ... but ... thats systemd :)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
hcaulfield57
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Mar 13, 2012 10:14 pm

  • Quote

Post by hcaulfield57 » Wed Jan 30, 2013 5:15 am

NeddySeagoon wrote:
hcaulfield57s sig wrote:"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
... but ... but ... thats systemd :)
I'm glad someone finally noticed my signature :)
"To design the perfect anti-Unix, make all file formats binary and opaque, and require heavyweight tools to read and edit them." - The Art of Unix Programming
Top
Post Reply

16 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic