admin管理员组文章数量:1353284
I'm trying to connect to a WPA2-Enterprise network with PEAP security and MSCHAPV2 for phase 2. I'm using iwd to do that (as I previously failed with wpa_supplicant and networkmanager).
Successful connection
I have this config file
# /var/lib/iwd/mynetwork.8021x
[Security]
EAP-Method=PEAP
EAP-PEAP-Phase2-Method=MSCHAPV2
I can connect to network using iwctl station ... connect mynetwork
, it prompts for username and password and connects successfully after I enter them. However it asks them every time I need to connect and I wanted to store credentials. However I faced the following issues.
Failing connection
I put username and password (tried both Password and Password-Hash) into the config file
# /var/lib/iwd/mynetwork.8021x
[Security]
EAP-Method=PEAP
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=my_username
EAP-PEAP-Phase2-Password=my_password
When I try to connect with iwctl station ... connect mynetwork
it does not prompt for credentials, however it fails to connect completely. Looking into debug logs of iwd the failure occurs during the handshake, which probably means the credentials are not parsed properly.
How can I solve this issue and not have to enter credentials every time?
本文标签: linuxHow to store credentials in IWD for PEAPMSCHAPV2 networkStack Overflow
版权声明:本文标题:linux - How to store credentials in IWD for PEAPMSCHAPV2 network - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743900508a2558589.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论