You are not logged in.
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
Welcome to the forums eb1
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.
Offline
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
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
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
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
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.
Offline
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
My best guess: edit your wpa_supplicant.conf and change that MSCHAPV2 line to PAP.
Offline
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
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
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
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
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