You are not logged in.

#1 2017-12-09 14:57:38

eb1
Member
Registered: 2017-12-09
Posts: 8

Wired 802.1X TTLS PAP configuration while installing arch

My internet provider uses 802.1x, EAP-TTLS, PAP for authentication that works normally when I can configure it via GUI
https://i.imgur.com/AmDoGHw.png

My question is where I can see this written in the configuration files. I would like to use that configuration so I can connect to the internet and install arch on my laptop. I looked at different network files and I could not find it...

It's exactly the same problem as this guy here https://bbs.archlinux.org/viewtopic.php?id=229848
Used configuration template from this guy https://bbs.archlinux.org/viewtopic.php?id=72799
and it does not work

Last edited by x33a (2017-12-09 16:13:02)

Offline

#2 2017-12-09 15:06:31

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Wired 802.1X TTLS PAP configuration while installing arch

Welcome to the forums eb1 smile

Do you have a smartphone you can connect to this wireless network? It's often much easier to just connect one to your machine and use it as the network device for installation.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-12-09 15:10:50

eb1
Member
Registered: 2017-12-09
Posts: 8

Re: Wired 802.1X TTLS PAP configuration while installing arch

Hello slithery thank you for the fast response. At this location I do not have wireless network and the connection I am trying to connect to is wired connection via rj45 cable. All I need is just the right configuration file and it should connect flawlessly.

Offline

#4 2017-12-09 16:13:41

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Wired 802.1X TTLS PAP configuration while installing arch

Hi eb1,

please read the following about image sizes:

https://wiki.archlinux.org/index.php/Co … s_and_code

I have edited your post for you.

Offline

#5 2017-12-09 18:01:18

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Wired 802.1X TTLS PAP configuration while installing arch

Some confusion here.
You're trying to connect with wpa_supplicant through a wired interface? Post every step you try to make it run, and please define "it doesn't work" (whatever tool you're using fails to authenticate or you're not provided an ip address/route/DNS?)

cat /etc/wpa_supplicant.conf
ip link
wpa_supplicant -i your_interface -d -B -D wired -c /etc/wpa_supplicant.conf
systemctl status wpa_supplicant-wired@your_interface.service
dmesg
ip route
ip address
cat /etc/resolv.conf

Try these and post the output of every step here, within code tags, if you still need help.

EDIT: code fixed

Last edited by lo1 (2017-12-09 18:02:15)

Offline

#6 2017-12-09 18:55:30

eb1
Member
Registered: 2017-12-09
Posts: 8

Re: Wired 802.1X TTLS PAP configuration while installing arch

How else I am supposed to authenticate my connection on arch for wired connection that uses 802.1X TTLS PAP? It's there something else for wired connections?

cat /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
ap_scan=0
network={
key_mgmt=IEEE8021X
eap=PEAP
identity="username"
password="*********"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}

Than I run
wpa_supplicant -i enp6s0 -d -B -D wired -c /etc/wpa_supplicant.conf
Output -> https://i.imgur.com/Yse4ZyA.jpg

systemctl status wpa_supplicant-wired@your_interface.service

wpa_supplicant-wired@enp6s0.service - WPA supplicant daemon (interface- and wired driver-specific version)
Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant-wired@.service; disabled; vendor present: disabled)
Active: inactive (dead)

ip route

default via 10.0.40.1 dev enp6s0 src 10.0.42.8 metric 202
10.0.40.0/22 dev enp6s0 proto kernel scope link src 10.0.42.8 metric 202

cat /etc/resolv.conf

domain ******
nameserver 10.0.40.1

The network is setup so you can access the configuration site so you can see how to configure your network via gui and so on but you won't get access to other websites until you authenticate your connection. You will get new ip address when you are properly authenticated that will give you acess to the internet.

I would really prefer to know where I can find the configuration that is altered/created when I make changes to "NetworkManager Applet" GUI interface so I can see what is the right .conf file so I can make the connection work.
Thanks for your help!

Last edited by eb1 (2017-12-09 19:01:08)

Offline

#7 2017-12-09 19:06:46

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Wired 802.1X TTLS PAP configuration while installing arch

eb1 wrote:

I would really prefer to know where I can find the configuration that is altered/created when I make changes to "NetworkManager Applet" GUI interface so I can see what is the right .conf file so I can make the connection work.

That won't help you at all, NetworkManager isn't installed on the installation media.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2017-12-09 19:07:56

eb1
Member
Registered: 2017-12-09
Posts: 8

Re: Wired 802.1X TTLS PAP configuration while installing arch

slithery wrote:
eb1 wrote:

I would really prefer to know where I can find the configuration that is altered/created when I make changes to "NetworkManager Applet" GUI interface so I can see what is the right .conf file so I can make the connection work.

That won't help you at all, NetworkManager isn't installed on the installation media.

I have a machine that is running with GUI that I can successfully configure network via NetworkManager Applet...
https://i.imgur.com/AmDoGHw.png <- this screenshot is from that machine I just removed password and username before taking screenshot...

Last edited by eb1 (2017-12-09 19:14:02)

Offline

#9 2017-12-10 10:54:40

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Wired 802.1X TTLS PAP configuration while installing arch

My best guess: edit your wpa_supplicant.conf and change that MSCHAPV2 line to PAP.

Offline

#10 2017-12-10 11:50:37

eb1
Member
Registered: 2017-12-09
Posts: 8

Re: Wired 802.1X TTLS PAP configuration while installing arch

lo1 wrote:

My best guess: edit your wpa_supplicant.conf and change that MSCHAPV2 line to PAP.

That was the first thing I tried and it did not work :/

Offline

#11 2017-12-10 12:16:47

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Wired 802.1X TTLS PAP configuration while installing arch

Play with that configuration file a little more, there's going to be a way. Search the web and see if you can find anything useful you may have missed and, needless to say, see inside /etc/NetworkManager (if this is the GUI tool you used to connect succesfully) if there's some leftovers of that connection (I doubt that, but since i don't use NetworkManager i can only guess).
Also, try to connect through nmcli with the same parameters, if that's going to work you'll know how to set the connection properly at least, and then you can retry with wpa_supplicant.

Offline

#12 2017-12-10 13:38:43

eb1
Member
Registered: 2017-12-09
Posts: 8

Re: Wired 802.1X TTLS PAP configuration while installing arch

Thanks to lo1 post I manged to find the configuration from Network Manager

[802-1x]
eap=ttls;
identity=
password=
phase2-auth=pap

I tired to modify /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
ap_scan=0
network={
key_mgmt=IEEE8021X
eap=TTLS
identity="username"
password="*********"
phase1="peaplabel=0"
phase2="auth=PAP"
}

Still not working same output as before. I am giving up for now. Been trying to make this work for way too many hours already...

Offline

#13 2017-12-10 14:10:53

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Wired 802.1X TTLS PAP configuration while installing arch

Last thing I'd try before giving up: set peaplabel to 1 (or delete that line if it doesn't work and try again).

Offline

#14 2017-12-10 14:12:07

eb1
Member
Registered: 2017-12-09
Posts: 8

Re: Wired 802.1X TTLS PAP configuration while installing arch

lo1 wrote:

Last thing I'd try before giving up: set peaplabel to 1 (or delete that line if it doesn't work and try again).

already tired that...
also tried different examples from man wpa_supplicant.conf for wired connection or TTLS connection with no luck

Thanks for the help guys but I think I will have to find another way to make this installation probably on some open wifi network and after that setup network via gui.

Last edited by eb1 (2017-12-10 14:15:46)

Offline

Board footer

Powered by FluxBB