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

Re: Re: WPA2-WLAN on Laptop with PCMCIA card and wpa_supplicant



Attachment: File1.log
Description: Binary data

Attachment: File2.log
Description: Binary data

Attachment: File3.log
Description: Binary data

Attachment: File4.log
Description: Binary data

I apologise for the misconduct, here is the mail in plain text.

Trying to get online wirelessly I encountered problems connecting by means of wpa_supplicant.
I have an IBM Thinkpad R32 running Debian Lenny without a desktop manager. For the WLAN connection I have a PCMCIA WLAN card from 3com. WLAN worked with this card and this laptop both under Windows and under Ubuntu. The access point I am trying to connect to only allows WPA2-encrypted connections. With my other laptop (Lenovo Thinkpad R500, Ubuntu, Gnome) WLAN works fine.
Here is what I did and what the results are:

1.) I boot the laptop with deactivated wired interface eth0 and without the card inserted, so after startup only loop is up and running.

2.) Plugging in the card causes the kernel modules atmel and atmel_cs to be loaded and the card is recognized by the laptop as eth1: Atmel at76c50x. Version 0.98. MAC 00:04:75:db:c8:e7. The light on the card turns on and stays on, and iwconfig lists eth1 as available wireless interface with managed mode.

3.) When running ifconfig eth1 up, the light at the card is turned off. Everything seems to go fine, dmesg -c gives
[ 1756.247035] firmware: requesting atmel_at76c502_3com-wpa.bin
[ 1756.368570] ADDRCONF(NETDEV_UP): eth1: link is not ready

4.) Now I try to connect to the access point using wpa_supplicant. To this end I created a configuration file with the following content:

# /et/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
 ssid="NETCONNECT-7124"
 psk="<the key>"
}

Running wpa_supplicant -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -dd causes the light to turn on, flush, and turn off. Meanwhile, wpa_supplicant scans the access points, finds the right one (and some more), but cannot connect to any of them. It says 'No suitable AP found' and loops into the next try. Before the scanning it also states that 'Driver does not support WPA'. I add the exact output and the dmesg below.
When I interrupt the process with ctrl^c the light of the card turns on and stays on, and indeed ifconfig shows that eth1 was brought down. iwconfig shows no changes compared to the starting point before running wpa_supplicant.

I also tried to use the atmel driver explicitely, so (after bringing up eth1 again) ran wpa_supplicant -D atmel -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -dd. This works even worse, as it seems (see below), and in any case does not result in a connection with the access point. iwconfig is unchanged again.

Finally I also tried not to bring up eth1 before running wpa_supplicant. In this case wpa_supplicant seems to bring it up itself in any of the two driver cases, but the rest is exactly identical, so in the end I cannot connect.

And that's where I'm stuck.
I would really appreciate any help! Thanks in advance!
eltrebol
___________________________________________________________
Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02

Reply to: