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 bought cheap wifi dongle of ebay.

I want to hook my server to wifi network sometimes...

So, I do lsusb and I see this:

Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN

I configured /etc/network/interfaces

# WIFI network
auto wlan0
iface wlan0 inet dhcp
    wpa-driver wext
    wpa-ssid XXXXXXX
    wpa-ap-scan 2
    wpa-proto RSN
    wpa-pairwise CCMP
    wpa-group CCMP
    wpa-key-mgmt WPA-PSK
    wpa-psk XXXXXX

and I did:

sudo ifconfig wlan0 up

But it seems not to work... as I don't see new Ip on router arp.

ifconfig gives:

wlan0     Link encap:Ethernet  HWaddr XX  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
share|improve this question
Wow =) I have exactly the same one. Works fine, however, the signal reception is weak. Try installing aircrack-ng, then do sudo aircrack-ng start wlan0 => you should have a monitor mon0. Then run sudo airodump -i mon0 to see which networks it actually sees. –  modosansreves Nov 20 '12 at 13:04

Your Answer


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

Browse other questions tagged or ask your own question.