Last active
April 16, 2025 17:54
-
-
Save syuu1228/cde1313e4a216c8bd1e83c7fdaaeab5a to your computer and use it in GitHub Desktop.
Linuxのコマンドラインから0001docomoに接続
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nmcli connection add type wifi ifname wlo1 con-name 0001docomo ssid 0001docomo | |
Connection '0001docomo' (a6fde1b0-6055-4e6c-a314-05027eb6083a) successfully added. | |
$ nmcli con edit id 0001docomo | |
===| nmcli interactive connection editor |=== | |
Editing existing '802-11-wireless' connection: '0001docomo' | |
Type 'help' or '?' for available commands. | |
Type 'print' to show all the connection properties. | |
Type 'describe [<setting>.<prop>]' for detailed property description. | |
You may edit the following settings: connection, 802-11-wireless (wifi), 802-11-wireless-security (wifi-sec), 802-1x, ethtool, match, ipv4, ipv6, hostname, tc, proxy | |
nmcli> set ipv4.method auto | |
nmcli> set 802-1x.eap peap | |
nmcli> set 802-1x.phase2-auth mschapv2 | |
nmcli> set 802-1x.identity <d-wifi設定ページに書いてあるアカウント名>-dwifi@docomo | |
nmcli> set 802-1x.password <d-wifi設定ページに書いてあるパスワード> | |
nmcli> set wifi-sec.key-mgmt wpa-eap | |
nmcli> save | |
Connection '0001docomo' (a6fde1b0-6055-4e6c-a314-05027eb6083a) successfully updated. | |
nmcli> quit | |
$ nmcli con up 0001docomo | |
Monitoring connection activation (press any key to continue) | |
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment