# nmcliを使ったIEEE802.1X EAP-PEAP方式による無線LANの利用について ###### tags: `network` `大学` ## 接続情報の追加 ```bash nmcli connection add \ type wifi \ con-name "接続の名前" \ ifname wlp4s0 \ ssid "MYSSID" \ wifi-sec.key-mgmt wpa-eap \ 802-1x.eap peap \ 802-1x.phase2-auth mschapv2 \ 802-1x.identity <ユーザー名> \ 802-1x.private-key-password <password> ``` ## 接続 ```bash nmcli con up 接続の名前 ``` ## 設定情報 /etc/NetworkManager/system-connections/<name>.nmconnectionに以下の内容を置けば同等の機能が得られる ``` /etc/NetworkManager/system-connections/aizuwifi.nmconnection [connection] id=aizu-wifi type=wifi autoconnect=true [wifi] ssid=ains-wifi mode=infrastructure [wifi-security] key-mgmt=wpa-eap [802-1x] eap=peap; phase2-auth=mschapv2 identity=<identity> password=<password> ```
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.