You are not logged in.

#1 2012-06-25 21:14:40

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Connecting to wifi with netcfg or wpa_supplicant (nm-applet works)

My institute's wifi uses WPA enterprise with TTLS and PAP authentication, where the only login information I have to provide is my username and my password (on top of it, I had to register my MAC address in their system, but that's all).

I tried to connect with netcfg and wicd, but I just couldn't connect to the wifi. Here is the very simple configuration:

CONNECTION='wireless'
INTERFACE=wlan0
SECURITY='wpa-configsection'
# Uncomment this if your ssid is hidden
#HIDDEN=yes
IP='dhcp'
CONFIGSECTION='
    ssid="institute"
    key_mgmt=WPA-EAP
    eap=TTLS
    anonymous_identity=""
    identity="myusername"
    password="mypassword"
    priority=1
    phase2="auth=PAP"'

Since all the institute's computers are set up with NetworkManager, I just gave it a shot, and 'lo! it worked. Here is the resulting config from /etc/NetworkMananger/system-connections/

[ipv6]
method=auto
ip6-privacy=2

[connection]
id=institute
uuid=63a313da-66e9-4f98-ad43-31fd23b40b83
type=802-11-wireless

[802-11-wireless]
ssid=institute
mode=infrastructure
mac-address=58:94:6B:E6:BE:78
security=802-11-wireless-security

[802-1x]
eap=ttls;
identity=myusername
phase2-auth=pap
password=mypassword

[ipv4]
method=auto

[802-11-wireless-security]
key-mgmt=wpa-eap
auth-alg=open

If you ask me - this looks pretty similar. Any ideas why I have such trouble with netcfg?

Offline

#2 2012-06-26 08:15:28

thesequel
Member
Registered: 2012-06-26
Posts: 19

Re: Connecting to wifi with netcfg or wpa_supplicant (nm-applet works)

Nevermind I was wrong.

Last edited by thesequel (2012-06-26 08:17:43)

Offline

Board footer

Powered by FluxBB