You are not logged in.

#1 2007-03-27 11:17:24

rixxon
Member
Registered: 2007-03-09
Posts: 16

WPA PEAP/MSCHAPV2 troubles with wpa_supplicant

I'm having some issues with a peculiar WPA setup.

In /etc/wpa_supplicant.conf:

network={
    ssid="GymnWPA"
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="dgod@itg.nu"
    password="secret"
    phase1="peaplabel=1"
    phase2="auth=MSCHAPV2"
    priority=10
}

/etc/network-profiles/gymn:

DESCRIPTION="GymnWPA"
INTERFACE=eth1
HOSTNAME=erythro
IFOPTS="dhcp"
ESSID=GymnWPA
USEWPA="yes"

This will fail after numerous errors saying:

Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

Apparently it doesn't set up /var/run/wpa_supplicant properly, although it works fine with my more straight forward WPA setup at home.

I noticed that AUTOWPA fixes this error (which is probably why it works fine at home),

AUTOWPA="yes"
PASSKEY="1234567890"

although it still fails (there isn't even a passkey so this is just random junk).

I tried to

# mkdir /var/run/wpa_supplicant
# netcfg gymn

but this doesn't set up the unix socket in /var/run/wpa_supplicant/eth1, so it fails with another error message I don't remember.

Offline

Board footer

Powered by FluxBB