14
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NetworkManagerの操作コマンド集

Last updated at Posted at 2017-06-01

NetworkManager 基本コマンド

 CentOSでWifiやLanの接続、切断などの操作をCUIにて行う基本コマンド集です。

コマンド       意  味     
nmcli device ネットワーク機器リスト表示 
nmcli radio wifi on wifi ネットワークへ接続
nmcli radio wifi off wifi ネットワークから切断
nmcli networking on 全てのネットワークを接続
nmcli networking off 全てのネットワークを切断
nmcli device connect [デバイス名] ネットワークデバイスを有効化
nmcli device disconnect [デバイス名] ネットワークデバイスの無効化
nmcli connection show メモリ・ディスク上のプロファイル表示
nmcli device status デバイスの接続状況
nmcli device show [デバイス名] デバイスの詳細表示
nmcli device wifi 接続可能な無線アクセスポイント表示
nmcli networking connectivity 接続状態(下のテーブル参照)
状 態       意  味     
none the host is not connected to any network.
portal the host is behind a captive portal and cannot reach the full Internet.
limited the host is connected to a network, but it has no access to the Internet.
full the host is connected to a network and has full access to the Internet.
unknown the connectivity status cannot be found out.
14
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
18

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?