You are not logged in.

#1 2008-02-06 19:12:12

Edd
Member
From: Lithuania
Registered: 2008-01-22
Posts: 6

Problems conecting to WPA security access point [solved]

I am trying to set up a wireless in my university (to the access point). I have IBM ThinkPad R61 notebook with Intel ipw4965 wireless card. I have installed ipw4965, iwlwifi, netcfg2, wpa_supplicant by pacman and I have succsesfully configured my home wireless with WPA security. Has anybody any suggestions what is wrong with my configuration?
University gives this information:
The example of .config:

CONFIG_IEEE8021X_EAPOL = y
CONFIG_EAP_MD5 = y
CONFIG_MSCHAPV2 = y
CONFIG_EAP_TLS = y
CONFIG_EAP_PEAP = y

The example of wpa_supplicant.conf:

network={
    ssid="MIF"
    eap=PEAP
    key_mgmt=WPA-EAP
    identity="my user name"
    password="my password"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
}

My configuration:
My wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
    ssid="MIF"
    eap=PEAP
    key_mgmt=WPA-EAP
    identity="my username"
    password="my password"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
}

My [mifwifi] (wireless profile in /etc/network.d/mifwifi):

DESCRIPTION="MIF wireless"
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="MIF"
USEWPA="yes"
IP="dhcp"
TIMEOUT=20
WPAOPTS=""

When I try to run [netcfg2 mifwifi] to set up university wireless I get the error similar to this:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
Passprase must be between 8..63 characters

P.S. Sorry for my language mistakes, I just learning English.

Last edited by Edd (2008-02-07 07:56:10)

Offline

#2 2008-02-06 19:22:19

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Problems conecting to WPA security access point [solved]

Hello,

If you want to use your wpa_supplicant.conf file, you should set SECURITY="wpa-config" in your netcfg2 profile, and add WPA_CONF=/path/to/wpa_supplicant.conf (in the same file).  The passphrase error is probably caused by the fact that netcfg2 is not reading your wpa_supplicant conf file, and there is no password defined anywhere else.

Offline

#3 2008-02-07 07:57:42

Edd
Member
From: Lithuania
Registered: 2008-01-22
Posts: 6

Re: Problems conecting to WPA security access point [solved]

peart -> Thank you very much! These to lines done the job and I am very happy with this.

Offline

Board footer

Powered by FluxBB