Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to get my Alfa AWUS036H wireless card to work inside my VirtualBox, the drivers installed fine, and Ubuntu sees the USB wireless card but I can't get it to connect:

Here's my kernel version:

Linux precise64 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I downloaded the drivers from the Alfa site (rtl8187L_linux_1041[1].0209.2012.tar.gz), extracted them into my home directory, and then ran make and sudo make install. I then restarted my box. After restarting I run sudo modprobe rtl8187 and get no errors.

lsusb shows:

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter

I run dmesg | grep 8187 and get:

[   56.360273] usbcore: registered new interface driver rtl8187
[   77.728938] Linux kernel driver for RTL8187L based WLAN cards
[   77.728948] rtl8187L: Initializing module
[   77.728953] rtl8187L: Wireless extensions version 22
[   77.728958] rtl8187L: Initializing proc filesystem
[   77.729019] usbcore: registered new interface driver rtl8187L

when I run ifconfig I don't see it though:

eth0      Link encap:Ethernet  HWaddr 08:00:27:fe:aa:af  
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fefe:aaaf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:731 errors:0 dropped:0 overruns:0 frame:0
          TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:66075 (66.0 KB)  TX bytes:65327 (65.3 KB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:d7:47:b4  
          inet addr:33.33.33.10  Bcast:33.33.33.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fed7:47b4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8219 (8.2 KB)  TX bytes:578 (578.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:256 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:20400 (20.4 KB)  TX bytes:20400 (20.4 KB)

Output of sudo lshw -C network as well:

eth0      Link encap:Ethernet  HWaddr 08:00:27:fe:aa:af  
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fefe:aaaf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:731 errors:0 dropped:0 overruns:0 frame:0
          TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:66075 (66.0 KB)  TX bytes:65327 (65.3 KB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:d7:47:b4  
          inet addr:33.33.33.10  Bcast:33.33.33.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fed7:47b4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8219 (8.2 KB)  TX bytes:578 (578.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:256 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:20400 (20.4 KB)  TX bytes:20400 (20.4 KB)

The README file in the driver package asks me to run wlan0up, so I go into where I extracted it, and run sudo ./wlan0up and I get:

insmod: error inserting 'r8187l.ko': -1 File exists
wlan0: ERROR while getting interface flags: No such device

I've read in other posts that I should be blacklisting some other drivers, but in my case nothing even shows up on wlan0.

Other guides have asked me to run ip link set dev wlan0 up which gives me:

Cannot find device "wlan0"

At this point I'm not sure what else I can check, any help would be appreciated.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.