wpa_supplicant IEEE802.1X questions

Patrick Holthaus patrick.holthaus
Mon Feb 26 08:57:15 PST 2007


Hello everybody,

I am new to this list so please forgive me if I am posting something wrong.
There are two questions in my mind about the way wpa_supplicant works:

1)
Is it possible to have two networks managed by wpa_supplicant where the first
one is wired and secured by IEEE 802.1X and the second one is a WPA secured
wireless connection? I am asking that because i think ap_scan is needed to set 
to "0" for IEEE 802.1X authentication while for wireless it is needed to set 
to "1".
I manage to get it to work with the 
below /etc/wpa_supplicant/wpa_supplicant.conf , later running wpa_cli -i eth0 
(the wired connection), and setting ap_scan to 0 manually. But it would be 
nice to have the connection up automatically.

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
ap_scan=1
fast_reauth=0
eapol_version=1
network={
        key_mgmt=IEEE8021X
        eap=MD5
        identity="username"
        password="password"
        eapol_flags=0
        priority=4
}
network={
        ssid="somessid"
        key_mgmt=WPA-PSK
        psk="my-very-secret=passphrase"
        priority=5
}

I am running Gentoo with the following /etc/conf.d/net :

modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_supplicant_eth0="-Dwired"


2)
The topology of the wired connection above is as follows:

a) switch (at the university, not reachable for me)
b) ethernet-cable (coming out of the wall ;) )
c) switch (personal D-Link 10/100 fast ethernet model: des-1005d)
d) ethernet-cable
e) my computer, eventually some more computers

Everything works OK if i connect my PC directly to b) but i like to have it 
connected to my own switch (at e)), because the cable coming out of the wall 
is too short and i would like to have some other computers connected, too. 
The question is: Does this work at all? (If you need more information, let me 
know, i just don't know what exactly to tell you)

Any help is very much appreciated.

Thank you
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20070226/4df7cf4a/attachment.pgp 



More information about the Hostap mailing list