[pkg-wpa-devel] Different configuration files for different users

Antonio Casado Rodríguez acasado at ual.es
Thu Mar 23 08:58:45 UTC 2006


Different configuration files for different users

My department has a laptop, which is used by several persons. Is has a 
ipw wifi driver and the authenticate is:
802.1X  EAP-TTLS (PAP) and code WPA+TKIP
I have configured it in /etc/wap_supplicant.conf  file and it is work 
fine. The problem is the authentication is personal, to each class of 
person one is assigned to him different vlan (investigator, professor, 
administrative).

I need to have different configurations for each person.  How I 
configure the system?

I have seen the possibility of:
iface wlan0 inet dhcp
  wpa-conf /home/user/.wpa/wpa_supplicant.conf

But that isn't automatic, i like something that:
iface wlan0 inet dhcp
  wpa-conf $HOME/.wpa/wpa_supplicant.conf   OR  wpa-conf  $WPA-CONF


I think in other possibility like ppp:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
 ssid="xxx"
 key_mgmt=WPA-EAP
 eap=TTLS
  phase2="auth=PAP"
 pap_file="/etc/wpasupplicant/pap-secrets"
}

And another possibility is that wpa_supplicant asks the user and 
password to user in runtime:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
 ssid="xxx"
 key_mgmt=WPA-EAP
 eap=TTLS
  phase2="auth=PAP"
  ondemand_userpass=1
}

What you think?

Thanks you.




More information about the Pkg-wpa-devel mailing list