Не удаётся подключиться к сети университета (WPA2-Enterprise, PEAP, MSCHAPv2)

На свежеустановленной системе через NetworkManager не удаётся подключиться к корпоративной сети (WPA2-Enterprise, PEAP, MSCHAPv2). Долго подключается, затем снова спрашивает пароль, и так далее.

Пароль точно верный, с телефона подключаюсь.

 

sudo journalctl -fu NetworkManager

окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.1184] audit: op="statistics" interface="wlo1" ifindex=3 args="0" pid=876 uid=1000 result="success"
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.3398] device (wlo1): supplicant interface state: completed -> disconnected
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.3400] device (wlo1): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.3408] dhcp4 (wlo1): canceled DHCP transaction
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.3409] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.3409] dhcp4 (wlo1): state changed no lease
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.4266] device (wlo1): set-hw-addr: set MAC address to 9E:7B:FE:8E:75:81 (scanning)
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.6708] device (wlo1): supplicant interface state: disconnected -> interface_disabled
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.6711] manager: NetworkManager state is now CONNECTED_LOCAL
окт 16 11:25:56 boris-hp NetworkManager[553]: <info>  [1729052756.6862] device (wlo1): supplicant interface state: interface_disabled -> disconnected
окт 16 11:26:11 boris-hp NetworkManager[553]: <info>  [1729052771.8588] device (wlo1): Activation: starting connection 'sfu-users' (a1c6b190-f256-45ae-9488-41c3bfabcd36)
окт 16 11:26:11 boris-hp NetworkManager[553]: <info>  [1729052771.8589] audit: op="connection-activate" uuid="a1c6b190-f256-45ae-9488-41c3bfabcd36" name="sfu-users" pid=876 uid=1000 result="success"
окт 16 11:26:11 boris-hp NetworkManager[553]: <info>  [1729052771.8589] device (wlo1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
окт 16 11:26:11 boris-hp NetworkManager[553]: <info>  [1729052771.8592] manager: NetworkManager state is now CONNECTING
окт 16 11:26:11 boris-hp NetworkManager[553]: <info>  [1729052771.9371] device (wlo1): set-hw-addr: reset MAC address to 74:12:B3:5E:13:D3 (preserve)
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.1967] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.1969] device (wlo1): Activation: (wifi) access point 'sfu-users' has security, but secrets are required.
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.1969] device (wlo1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2035] device (wlo1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2037] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] device (wlo1): Activation: (wifi) connection 'sfu-users' has security, and secrets exist.  No new secrets needed.
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'ssid' value 'sfu-users'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'scan_ssid' value '1'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'bgscan' value 'simple:30:-65:300'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'key_mgmt' value 'WPA-EAP FT-EAP FT-EAP-SHA384 WPA-EAP-SHA256'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'auth_alg' value 'OPEN'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'password' value '<hidden>'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'eap' value 'PEAP'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2039] Config: added 'fragment_size' value '1266'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2040] Config: added 'phase2' value 'auth=MSCHAPV2'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2040] Config: added 'identity' value 'bd'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.2040] Config: added 'proactive_key_caching' value '1'
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.7344] device (wlo1): supplicant interface state: disconnected -> authenticating
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.7380] device (wlo1): supplicant interface state: authenticating -> associating
окт 16 11:26:12 boris-hp NetworkManager[553]: <info>  [1729052772.7502] device (wlo1): supplicant interface state: associating -> associated
окт 16 11:26:17 boris-hp NetworkManager[553]: <info>  [1729052777.9988] device (wlo1): supplicant interface state: associated -> disconnected
окт 16 11:26:18 boris-hp NetworkManager[553]: <info>  [1729052778.3190] device (wlo1): supplicant interface state: disconnected -> scanning
окт 16 11:26:31 boris-hp NetworkManager[553]: <info>  [1729052791.6998] device (wlo1): supplicant interface state: scanning -> authenticating
окт 16 11:26:31 boris-hp NetworkManager[553]: <info>  [1729052791.7028] device (wlo1): supplicant interface state: authenticating -> associating
окт 16 11:26:31 boris-hp NetworkManager[553]: <info>  [1729052791.7186] device (wlo1): supplicant interface state: associating -> associated
окт 16 11:26:37 boris-hp NetworkManager[553]: <info>  [1729052797.3187] device (wlo1): supplicant interface state: associated -> disconnected
окт 16 11:26:37 boris-hp NetworkManager[553]: <warn>  [1729052797.6303] device (wlo1): Activation: (wifi) association took too long
окт 16 11:26:37 boris-hp NetworkManager[553]: <info>  [1729052797.6304] device (wlo1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
окт 16 11:26:37 boris-hp NetworkManager[553]: <warn>  [1729052797.6306] device (wlo1): Activation: (wifi) asking for new secrets

<ввожу пароль снова>

окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7932] device (wlo1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7934] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7935] device (wlo1): Activation: (wifi) connection 'sfu-users' has security, and secrets exist.  No new secrets needed.
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'ssid' value 'sfu-users'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'scan_ssid' value '1'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'bgscan' value 'simple:30:-65:300'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'key_mgmt' value 'WPA-EAP FT-EAP FT-EAP-SHA384 WPA-EAP-SHA256'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'auth_alg' value 'OPEN'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'password' value '<hidden>'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'eap' value 'PEAP'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'fragment_size' value '1266'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'phase2' value 'auth=MSCHAPV2'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'identity' value 'bd'
окт 16 11:28:15 boris-hp NetworkManager[553]: <info>  [1729052895.7936] Config: added 'proactive_key_caching' value '1'
окт 16 11:28:19 boris-hp NetworkManager[553]: <info>  [1729052899.8812] device (wlo1): supplicant interface state: scanning -> authenticating
окт 16 11:28:19 boris-hp NetworkManager[553]: <info>  [1729052899.8852] device (wlo1): supplicant interface state: authenticating -> associating
окт 16 11:28:20 boris-hp NetworkManager[553]: <info>  [1729052900.2485] device (wlo1): supplicant interface state: associating -> disconnected

...

 

Комментарии: 2
8 дней
0

Где-то рекомендуют удалить подключение и добавить заново и использовать «specifying peap» вместо «EAP FAST» и на оборот
Где-то пишут заменить «wpa_supplicant» на что то другое..
Короче, нужно ковырять сам wpa_supplicant

8 дней
0

Пробуй подключиться вручную из консоли pptp-клиентом.

Создать /etc/ppp/peers/название
pty «pptp vpn.isp.ru --nolaunchpppd»
name «ваш логин»
password «ваш пароль»
require-mppe-128
require-mschap-v2
refuse-eap
refuse-pap
refuse-chap
refuse-mschap
nodeflate
noauth
persist
maxfail 0

!) не использовать ключи route! Маршруты к сетям добавить вручную

3. Включение и отключение
sudo pon название
sudo poff название

4. Добавить маршруты
#!/bin/sh
ip route add 192.168.0.0/24 dev ppp1

*) ppp1 — имя интерфейса (смотреть через ip a)
Сделать скрипт исполняемым
chmod +x /etc/ppp/ip-up.d/название