Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to connect to an enterprise wifi using nmcli
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Andrey Grozin
n00b
n00b


Joined: 12 Nov 2015
Posts: 9

PostPosted: Fri Nov 08, 2024 10:48 am    Post subject: How to connect to an enterprise wifi using nmcli Reply with quote

I'm trying to connect to the wifi network of our Insstitute. I have a valid user name and password (I can connect my android phone). I do
Code:
nmcli dev wifi con <WIFI_NAME> name <MY_NAME> password <PASSWORD>

and immediately get
Code:
Error: Failed to add/activate new connection: Failed to determine AP security information

What can I do to connect?
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 88

PostPosted: Fri Nov 08, 2024 11:11 am    Post subject: Reply with quote

I think AP is TLS1.0 only and your system/NM don't allow that.

If so, try that method with nmcli :
nmcli con mod id SSIDTOSET 802-1x.phase1-auth-flags 32

value 32 because it's hex 0x20
https://git.codelinaro.org/clo/le/NetworkManager/NetworkManager/-/blob/NetworkManager/main/src/libnm-core-public/nm-setting-8021x.h?ref_type=heads#L91
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum