You are not logged in.

#1 2013-01-09 17:14:52

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

[Solved] NetworkManager and PEAP. Need an Example Config

Hello,

I cant seem to find a good tutorial about connecting to a network like this,
WirelessLinuxUbuntu-5.png

using nmcli. They all assume your using the gnome applet, but i dont want that.

I assume i have to write my own network file in my /etc/NetworkManager/system-connections folder. but i dont know how to do that in this case.

Thank you.

Last edited by fawkes5 (2013-01-09 18:53:25)

Offline

#2 2013-01-09 17:32:14

Nico666
Member
Registered: 2012-04-24
Posts: 56

Re: [Solved] NetworkManager and PEAP. Need an Example Config

Using networkmanager, you usually have to set every variable depending on how the network is configured.
The configuration window you posted shows the usual parameters (you should get them from your network admin).

Can you, please, give us some more details? These networks are usually used by universities, enterprises, etc. Normally, they have to provide you the values of each variable (Most likely, they will provide you instructions for Windows, but you can just read the values and skip anything else).
Maybe you got the settings from them, but you cannot connect. If that is the case, would be ideal if you try to connect using wpa_supplicant and post the output (have you checked https://wiki.archlinux.org/index.php/Wireless_Setup ?).

EDIT: I'm sorry I didn't read the last bit of your post! If you want to do it!

Cannot see why you want to use NMCLI (has much less functionality than both NMGUI and wpa_supplicant).
Anyway, this is how it would look in wpa_supplicant. Seems like nmcli uses similar syntax.

network={
	ssid=uwosecure-v2
	key_mgmt=WPA-EAP
	eap=PEAP
	phase2="auth=MSCHAPV2"
	identity="username"
	password="********"
	ca_cert="path to Thawte_Premium_Server_C..."
}

Last edited by Nico666 (2013-01-09 17:45:27)

Offline

#3 2013-01-09 17:41:21

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

Re: [Solved] NetworkManager and PEAP. Need an Example Config

I have read Wireless Setup. The img i posted, i assume, contains all the values for the relavent variables, except SSID which is "uwosecure-v2".
I was just hoping somone knew how to write a general networkManager config file for the type of network i want to connect to.

Offline

#4 2013-01-09 18:04:08

Nico666
Member
Registered: 2012-04-24
Posts: 56

Re: [Solved] NetworkManager and PEAP. Need an Example Config

My fault, I missed the last bit after the screenshot. See my editions above.

I have been searching this, and should be something like that:

[connection]
id=uwosecure-v2
uuid= "UUID" (Don't know if needed)
type=802-11-wireless

[802-11-wireless]
ssid=uwosecure-v2
mode=infrastructure
security=802-11-wireless-security

[802-1x]
eap=peap;
identity=username
ca-cert="path to Thawte_Premium_Server_C... without quotes"
phase2-auth=mschapv2
password=********

[ipv4]
method=auto

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

Hope it helps,

Offline

#5 2013-01-09 18:50:27

fawkes5
Member
From: Canada
Registered: 2012-12-23
Posts: 84

Re: [Solved] NetworkManager and PEAP. Need an Example Config

Thanks!!! Works. Marked as solved

Offline

Board footer

Powered by FluxBB