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

Re: Thinkpad T20 wireless troubles - revisited



On Sat, Nov 03, 2007 at 20:56:27 -0700, Andrew Sackville-West wrote:
> On Sun, Nov 04, 2007 at 12:46:45AM +0100, Sjoerd Hiemstra wrote:

[...]

> > And still there's the error message 'No DHCPOFFERS received'.
> > And there is some difference with the output of 'iwlist eth0 scan':
> > 
> > # iwlist eth0 scan
> > ....
> > Cell 03 - Address: 00:01:E3:55:91:48
> >           ESSID:"SX551559148"
> >           Mode:Master
> >           Frequency:2.432 GHz (channel 5)
> >           Quality=88/100  Signal level=-51 dBm  Noise level:-98 dBm
> >           Encryption key:on
> >           Bit rates: 1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6Mb/s
> >                      12 Mb/s; 24 Mb/s; 36 Mb/s
> >           Extra:bcn_int=100
> >           IE: IEEE 802.11i/WPA2 Version 1
> -----------------------------^^^^
> 
> Are yiou using wpasupplicant? Looks like you need to use wpa to
> connect...

Here is an example /etc/network/interfaces snippet which worked for me
about half a year ago (that was at a conference; I have not used WPA
since then):

------------------------------------------------------------------------

auto eth1
iface eth1 inet dhcp

wpa-ssid YOUR-ESSID
wpa-key-mgmt WPA-PSK
wpa-pairwise CCMP TKIP
wpa-group TKIP
wpa-psk SOME-LONG-SECRET-STRING
# to generate the wpa-psk string, run: wpa_passphrase YOUR-ESSID YOUR-PASSWORD 

------------------------------------------------------------------------

As Andrew has pointed out, you need the wpasupplicant package and its
daemon has to be running. (IIRC, it is started automatically when you
bring up an interface that has wpa-* statements in the interfaces file.)

Based on your "iwlist" output I suspect that you might have to change
the wpa-pairwise line to this:

wpa-pairwise TKIP COMP

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: