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

2011-01-09 Thread Camaleón
On Sun, 09 Jan 2011 18:03:00 +0100, eltrebol wrote:

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

Much better, thanks! :-)

> 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:

(...)

Maybe you can compare both configuration files, the one that is working 
within Ubuntu and the one you have in Debian...

(...)

> 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

Hum... also take a read on the "/usr/share/doc/atmel-firmware/README.gz" 
file and ensure it is loading the right driver.

> 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=""
> }

Just a note here. Have you tested with the values provided in the example 
file (/usr/share/doc/wpasupplicant/examples/wpa-psk-tkip.conf)... just in 
case?

network={
 ssid="your-ssid"
 key_mgmt=WPA-PSK
 proto=WPA
 pairwise=TKIP
 group=TKIP
 psk="your_secret_key"
}

You can als try with "proto=RSN" instead "proto=WPA".

> 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.

Yep, here are the relevant log entries:


***
Driver does not support WPA.
(...)
CTRL-EVENT-SCAN-RESULTS 
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:1c:28:32:ae:49 ssid='NETCONNECT-7124' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
(...)
No suitable AP found.
(...)
No keys have been configured - skip key clearing
***


Hey, that "Driver does not support WPA" message does not sound very good ;-(

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.01.09.19.56...@gmail.com



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

2011-01-09 Thread Geoff Simmons
Hi Clemens,

On Sun, Jan 09, 2011 at 06:03:00PM +0100, eltre...@web.de wrote:
> Trying to get online wirelessly I encountered problems connecting by
> means of wpa_supplicant.
[...]
> For the WLAN connection I have a PCMCIA WLAN card from 3com.

I will guess you are using either a 3CRSHPW_96 or 3CRWE62092B 802.11b
device here.

> The access point I am trying to connect to only allows WPA2-encrypted
> connections.

Despite the loading of WPA-capable firmware, the atmel_cs driver does
not support Wi-Fi Protected Access, as indicated by the "Driver does not
support WPA" message from wpa_supplicant.

> I also tried to use the atmel driver explicitely
[...]
> wpa_supplicant -D atmel -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 
> -dd.

The atmel wpa_supplicant driver backend was only usable with the
obsolete atmelwlandriver, not atmel_cs.  Building of this backend was
disabled in Debian's wpasupplicant package at version 0.6.10-1.

Consider using a different device (your laptop has a CardBus slot) with
a WPA-capable driver available; any 802.11g device supported by an
in-tree driver would provide your necessary support.

Note that use of NDISwrapper as a workaround is not possible, as 16-bit
PCMCIA devices are not supported.

Geoff


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110109190012.gh6...@tammy.lan.gsimmons.org



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

2011-01-09 Thread eltrebol


File1.log
Description: Binary data


File2.log
Description: Binary data


File3.log
Description: Binary data


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=""
}

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


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

2011-01-08 Thread Camaleón
On Fri, 07 Jan 2011 16:54:40 +0100, Clemens Kienzler wrote:

> Trying to get online wirelessly I encountered problems connecting by 
> means of wpa_supplicant.

(...)

Ugh, please sir, re-send the message in plain text (avoid html) an put 
the log files online (www.pastebin.com) or send them as an e-mail 
attachment.

For text e-mail clients all of the above sounds like gibberish :-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.01.08.12.04...@gmail.com



WPA2-WLAN on Laptop with PCMCIA card and wpa_supplicant

2011-01-07 Thread Clemens Kienzler


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=""
}
 
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
 
###
# output of wpa_supplicant -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -i eth1 -dd:
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=15):
4e 45 54 43 4f 4e 4e 45 43 54 2d 37 31 32 34  NETCONNECT-7124
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='NETCONNECT-7124'
Initializing interface (2) 'eth1'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=22 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3 flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:04:75:db:c8:e7
wpa_driver_wext_set_wpa
Driver does not support WPA.
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 10 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
Scan timeout - try to get results
Received 317 bytes of scan results (4 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-

Re: laptop with PCMCIA

2000-01-01 Thread koyote
On Fri, 31 Dec 1999, Alejandro Flores Jimenez wrote:
> Does anyone know how to install debian 2.13 on a laptop where
> the CDROM is connected only via PCMCIA card?
>

Simple enough- boot from floppy, install kernel and drivers from floppy images,
and then you should be able top install modules for pcmcia, etc.

You can install base from floppy, too- if you need to. I never have for a laptop
 -- 
Koyote

"That which does not kill us,
makes us quote Nietzsche."
   Don Webb


Re: laptop with PCMCIA

1999-12-31 Thread aphro
I did that once on a 486 laptop ..what i did..

1) install debian on my desktop PC and do a basic configuration of all the
packages i want
2) take a drive image of that partition using whatever program you like, i
used powerquest drive image.
3) burn the image to a cd
4) make a boot disk with the dos pcmcia drivers for the pcmcia drive
5) boot the boot disk and restore the image to the drive on the laptop

in my case it was kinda tricky since the install said it neded about 440mb
of space, and i have a 540mb hd, but i found myself scrambling to rm -rf
stuff during the install so i'd have enough space(i made a 540mb partition
to install to on my desktop pc)

may not be exactly what you are looking for but it worked perfectly.

nate

On Fri, 31 Dec 1999, Alejandro Flores Jimenez wrote:

flores >
flores >Does anyone know how to install debian 2.13 on a laptop where
flores >the CDROM is connected only via PCMCIA card?
flores >
flores >Thanks
flores >
flores >Alex Flores
flores >
flores >Alejandro Flores Jimenez
flores >Institut d'Estudis Espacials de Catalunya
flores >Edif. Nexus-104, Gran Capita`, 2-4, 08034 Barcelona
flores >Phone: +34 93 280 20 88. Fax:   +34 93 280 63 95
flores >e-mail: [EMAIL PROTECTED]
flores >http://www.ieec.fcr.es/gps/intro.html (IEEC) 
flores >"Mas vale burro vivo que sabio muerto"
flores >__ 
flores >
flores >
flores >
flores >
flores >-- 
flores >Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
flores >

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
1:08pm up 134 days, 1:03, 3 users, load average: 1.62, 1.83, 1.80


laptop with PCMCIA

1999-12-31 Thread Alejandro Flores Jimenez

Does anyone know how to install debian 2.13 on a laptop where
the CDROM is connected only via PCMCIA card?

Thanks

Alex Flores

Alejandro Flores Jimenez
Institut d'Estudis Espacials de Catalunya
Edif. Nexus-104, Gran Capita`, 2-4, 08034 Barcelona
Phone: +34 93 280 20 88. Fax:   +34 93 280 63 95
e-mail: [EMAIL PROTECTED]
http://www.ieec.fcr.es/gps/intro.html (IEEC) 
"Mas vale burro vivo que sabio muerto"
__