[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wireless: problems with encryption



I'm about to start pulling my hair over this damn wireless issue.

I had it all working this morning, but without any sort of encryption on
my wireless router. Then I turn WPA (PSK) back on, and now no amount of
configuration can even make scanning work :-(

 # lspci |grep Ra
 0000:00:07.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)
 # iwconfig wlan0
 wlan0     RT2500 Wireless  ESSID:""
          Mode:Managed  Frequency=2.412 GHz  Bit Rate:11 Mb/s Tx-Power=-1
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-120 dBm  Noise level:-196 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Then some configuration (based on iwpriv_usage.txt from rt2500-source):

 # iwconfig  wlan0 mode    managed
 # iwconfig  wlan0 channel auto
 # iwpriv    wlan0 set     WirelessMode=0
 # iwpriv    wlan0 set     CountryRegion=2
 # iwpriv    wlan0 set     AuthMode=WPAPSK
 # iwpriv    wlan0 set     EncrypType=TKIP
 # iwpriv    wlan0 set     WPAPSK="xxxxxxxxxx"
 # iwconfig  wlan0 essid   "yyyyyyyyyy"
 # iwconfig wlan0
 wlan0     RT2500 Wireless  ESSID:"yyyyyyyyyy"
          Mode:Managed  Frequency=2.412 GHz  Bit Rate:11 Mb/s Tx-Power=-1
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-120 dBm  Noise level:-196 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 # iwlist wlan0 scan
 wlan0     Failed to read scan data : Resource temporarily unavailable
 # ifconfig wlan0 up
 # ifconfig wlan0
 wlan0     Link encap:Ethernet  HWaddr 00:11:50:8E:5E:47
          inet6 addr: fe80::211:50ff:fe8e:5e47/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3405 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:136200 (133.0 KiB)
          Interrupt:201 Base address:0xc000
 # iwlist wlan0 scan
 wlan0     Failed to read scan data : Resource temporarily unavailable

Any pointers? Really, I'm ready to try just about anything now!

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus@therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Some operating systems are called 'user friendly', Linux however is
'expert friendly'.

Attachment: pgprQVNTcbdv5.pgp
Description: PGP signature


Reply to: