You are not logged in.

#1 2012-01-22 23:48:53

Kebertx
Member
Registered: 2012-01-02
Posts: 69

What am I supposed to do with this?

[root@MyComputer]# wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
Line 696: unknown EAP method 'SIM'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 696: failed to parse eap 'SIM'.
Line 699: failed to parse network block.
Line 706: unknown EAP method 'PSK'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 706: failed to parse eap 'PSK'.
Line 710: failed to parse network block.
Line 742: unknown EAP method 'IKEV2'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 742: failed to parse eap 'IKEV2'.
Line 745: failed to parse network block.
Line 751: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 751: failed to parse eap 'FAST'.
Line 757: failed to parse network block.
Line 762: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 762: failed to parse eap 'FAST'.
Line 768: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.

Offline

#2 2012-01-22 23:56:01

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: What am I supposed to do with this?

The default /etc/wpa_supplicant.conf is basically documentation, not a valid config file. You need to write your own config file. Or you use a manager (netcfg, wicd, network-manager) that does it for you.

Offline

#3 2012-01-23 00:00:45

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: What am I supposed to do with this?

Kebertx wrote:

What am I supposed to do with this?

Put code blocks around it.

Edit: oh, and read this, recursively.

Last edited by /dev/zero (2012-01-23 00:02:54)

Offline

#4 2012-01-24 01:29:33

Kebertx
Member
Registered: 2012-01-02
Posts: 69

Re: What am I supposed to do with this?

Gusar wrote:

The default /etc/wpa_supplicant.conf is basically documentation, not a valid config file. You need to write your own config file. Or you use a manager (netcfg, wicd, network-manager) that does it for you.

Thank you, actually.

/dev/zero wrote:
Kebertx wrote:

What am I supposed to do with this?

Put code blocks around it.

Edit: oh, and read this, recursively.

I apologize and sincerely agree to change my ways from now on. t/h

Offline

#5 2012-01-24 11:02:31

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,254

Re: What am I supposed to do with this?

You can simply vim /etc/wpa_supplicant, scroll down (a long way - as has already been mentioned, most of it is documentation) to where it says "#Example blocks:"and delete all blocks except the one that mist closely matches your config, then change it to suit your setup. I'd guess you need a block like:

network={
	ssid="NAME OF YOUR WIRELESS ACCESS POINT"
	key_mgmt=WPA-PSK
	psk="WIRELESS PASSWORD"
	priority=5
}

Last edited by Roken (2012-01-24 11:02:53)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#6 2014-02-21 09:47:58

kerolasa
Member
From: London, UK
Registered: 2014-02-21
Posts: 6
Website

Re: What am I supposed to do with this?

I had similar issue, but with different conditions. I have kept the wpa_supplicant.conf file as-is to keep the examples package maintainer has provided to be around, so that I can look them when having trouble with wlan in previously unknown network. I also have a helper script to choose a configuration file, the following segment in it is significant.

if [ $# -eq 0 ]; then
        TARGET=home
else
        TARGET="$1"
fi
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/$TARGET.conf
dhcpcd wlan0

In my case it was dhcpcd that did wpa configuration reload defaulting to /etc/wpa_supplicant/wpa_supplicant.conf file. To instruct dhcpcd to reload correct file ctlr_interface line is needed in wpa configuration file, e.g., /etc/wpa_supplicant/home.conf

ctrl_interface=/var/run/wpa_supplicant
network={
	ssid="NAME OF YOUR WIRELESS ACCESS POINT"
	key_mgmt=WPA-PSK
	psk="WIRELESS PASSWORD"
	priority=5
}

Offline

#7 2014-02-21 15:29:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,823

Re: What am I supposed to do with this?

Kerolasa,
That post seems relevant, but be careful of old posts.  After more tan two years, the original participants may no longer be paying attention. smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB