Hey there,
I have just been searching all over the web on how to make this dongle work. When i search what is connected via USB it shows up there. But will not show up in iwconfig, any ideas on how to get this to work.
Cheers
Ok, so I have a Pi, with an image of Wheezy on the SD card, what are all the steps to get the USB dongle working? I cannot find a link that explains it very well at all. This is my first step into linux, so please explain it maybe as you would to a child. What do I need to do? Should I be in the graphical session I get to from startx? Once I get it recognized, how do I set the ssid, password and such?DWA-131 USB ID 07d1:3303,Realtek RTL8192SU, 802.11n Wireless N Nano. Works out of the box on Raspbian “wheezy”
Code: Select all
auto lo wlan0
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
wpa-ssid “JeepGuyWiFi”
wpa-psk “JeepsAreAwesome”To use the vi editor, use the arrow keys and move your cursor to the end of the first line (auto lo) and press the i key (to insert text) and type wlan0. If it moves the o from lo, don’t worry, but you’ll have to fix that. To fix it, press the ESC key (to exit insert mode), use the arrows to move to where the extra “o” is and press the x key to delete the o at the end of the line, then use the arrows to go to where the “o” is supposed to be, press the i key again and replace the “o”. Then go to the end of the last line, press i and add the rest.auto lo
iface lo inet loopback
iface eth0 inet dhcp
~
~
Code: Select all
sudo iwlist wlan0 scanCode: Select all
sudo ifup wlan0Code: Select all
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.457 GHz (Channel 10)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 12 Mb/s
24 Mb/s; 48 Mb/s
Extra:rsn_ie=30140100000fac020100000fac020100000fac020000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSKCode: Select all
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:wpa_ie=dd1a0050f20101000050f20202000050f2020050f20401000050f202
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
Code: Select all
root@raspberrypi:~# ifup wlan0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/cc:b2:55:b1:67:8e
Sending on LPF/wlan0/cc:b2:55:b1:67:8e
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
Unable to obtain a lease on first try. Exiting.
Failed to bring up wlan0.
Code: Select all
ESSID="YOUR_SSID"
MODE=Managed
KEY_MGMT=WPA-PSK
TYPE=Wireless
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
#IPV6INIT=yes
#IPV6_AUTOCONF=yes
#IPV6_DEFROUTE=yes
#IPV6_FAILURE_FATAL=no
NAME=YOUR_SSID
UUID=a66ec13e-d912-4848-bd17-d8ce8XXXXXX
ONBOOT=yes
HWADDR=CC:B2:55:BD:XX:XX
#WPA_ALLOW_WPA=yes
WPA_ALLOW_WPA2=yes
#PEERDNS=yes
#PEERROUTES=yes
#IPV6_PEERDNS=yes
#IPV6_PEERROUTES=yes
#IPV6_PRIVACY=rfc3041
I just got a D-Link DWA-131, and managed to get WEP working with the following in /etc/network/interfaces:DeFrivoleFramboos wrote:WEP will not work with this dongle.
Code: Select all
auto lo wlan0
iface lo inet loopback
iface eth0 inet dhcp
iface wlan0 inet dhcp
wireless-key 0123456789
wireless-essid NETWORK
Code: Select all
sudo aptitude install wicd