Wireless Adapter not working
Posted: Wed Oct 03, 2012 8:29 am
Like many others I am having problems getting my wireless adapter working. It is a (working) Ralink RT2501/RT2573
I have read the posts, but have got stuck. Suspect that it is something simple. I am running the latest wheezy-debian, am using a powered hub with a good quality power supply.
I have a fair understanding of Linux, but am by no means a expert.
Thanks for any advice
Richard
here is the kernel log
I have read the posts, but have got stuck. Suspect that it is something simple. I am running the latest wheezy-debian, am using a powered hub with a good quality power supply.
I have a fair understanding of Linux, but am by no means a expert.
Thanks for any advice
Richard
here is the kernel log
I have the following usb connected[ 4.082542] usb 1-1.3.3: new high-speed USB device number 6 using dwc_otg
[ 4.101239] devtmpfs: mounted
[ 4.107984] Freeing init memory: 124K
[ 4.348849] usb 1-1.3.3: New USB device found, idVendor=148f, idProduct=2573
[ 4.359784] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.371432] usb 1-1.3.3: Product: 54M.USB.......
[ 4.378996] usb 1-1.3.3: Manufacturer: Ralink
[ 4.387068] usb 1-1.3.3: SerialNumber: 12345
iwlist scan reportspi@raspberrypi ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 005: ID 1058:1023 Western Digital Technologies, Inc. Elements SE
Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter
Bus 001 Device 007: ID 05dc:a764 Lexar Media, Inc.
my interfaces file containswlan0 Scan completed :
Cell 01 - Address: 00:24:17:36:5A:9F
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=70/70 Signal level=-28 dBm
Encryption key:on
ESSID:"TheSchmidts"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000000027e53c53d
Extra: Last beacon: 490ms ago
IE: Unknown: 000B5468655363686D69647473
IE: Unknown: 010882848B962430486C
IE: Unknown: 03010B
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: DD060010180202F0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
and the wpa.conf file containspi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.254
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf
wpa-debug-level 3
lwconfig reportspi@raspberrypi ~ $ cat /etc/wpa.conf
network={
ssid="TheSchmidts"
proto=WPA2
key_mgnt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="my secret password"
}
and finally, when I try and start itlo no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
eth0 no wireless extensions.
sudo ifup wlan0 -v
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver nl80211,wext (default)
wpa_supplicant: using debug level: 3
wpa_supplicant: /sbin/wpa_supplicant -s -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -t -ddd -c /etc/wpa.conf -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
1349250758.900709: ssid - hexdump_ascii(len=11):
54 68 65 53 63 68 6d 69 64 74 73 TheSchmidts
1349250758.906138: PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
dhclient -1 -v -pf /run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases 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/d8:5d:4c:96:12:94
Sending on LPF/wlan0/d8:5d:4c:96:12:94
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
Unable to obtain a lease on first try. Exiting.
Failed to bring up wlan0.