You are not logged in.

#1 2009-09-04 16:21:14

archyslave
Member
Registered: 2008-02-17
Posts: 3

How to connect to a EAP-MSCHAP network?

I'm having trouble connecting to my schools network under Arch Linux using netcfg.  Wired internet works well, but I'm unable to connect by wireless as I would under Windows or Ubuntu (using network-manager, which supports MS-CHAP).  The easy solution would be to simply install network-manager, but I would rather use CLI programs.

The relevant information;

Network Authentication; Open
Data Encryption; WEP
automatically provided key
EAP type; PEAP
authentication; Secured Password (EAP-MSCHAP v2)

no server certificate validation.

Offline

#2 2009-09-04 21:27:37

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: How to connect to a EAP-MSCHAP network?

network={
    ssid="Name of the Access Point"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="Authentication Username"
    password="Authentication Password"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
    priority=1
}
CONNECTION="wireless"
DESCRIPTION="Manual Wi-Fi connection."
INTERFACE="wlan0"
SECURITY="wpa-config"
WPA_CONF="/etc/wpa_supplicant.conf"
IP="dhcp" 
TIMEOUT=45

Last edited by Wintervenom (2009-09-04 21:30:14)

Offline

#3 2009-09-05 16:47:50

amw2320
Member
Registered: 2005-08-14
Posts: 30

Re: How to connect to a EAP-MSCHAP network?

The easiest thing to do is search around on google for your schools wpa_supplicant script.  Usually the engineering department has it posted somewhere.

Then

wpa_supplicant -c *script* -i wlan0 (if wlan0 is your interface).

If you cant find the script you'll have to write it. Wintervenom has you covered.

Offline

#4 2009-09-08 19:43:50

archyslave
Member
Registered: 2008-02-17
Posts: 3

Re: How to connect to a EAP-MSCHAP network?

Wintervenom wrote:
network={
    ssid="Name of the Access Point"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="Authentication Username"
    password="Authentication Password"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
    priority=1
}
CONNECTION="wireless"
DESCRIPTION="Manual Wi-Fi connection."
INTERFACE="wlan0"
SECURITY="wpa-config"
WPA_CONF="/etc/wpa_supplicant.conf"
IP="dhcp" 
TIMEOUT=45

The second excerpt looks like a netcfg related config file, but I'm not sure what to do with the first one.

Offline

#5 2009-09-08 20:25:23

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: How to connect to a EAP-MSCHAP network?

The first is the relevant wpa_supplicant.conf configuration.  The second is a Netcfg2 network profile.

Offline

Board footer

Powered by FluxBB