Linux 底下很方便使用的網路設定管理工具 Network Manager, 具備圖形化的操作介面.
沒有圖形化介面的使用者, 可以使用 nmcli 來設定你的網路連線 .
Usage: nmcli [OPTIONS] OBJECT { COMMAND | help }
OPTIONS
-t[erse] terse output
-p[retty] pretty output
-m[ode] tabular|multiline output mode
-f[ields] <field1,field2,...>|all|common specify fields to output
-e[scape] yes|no escape columns separators in values
-n[ocheck] don't check nmcli and NetworkManager versions
-a[sk] ask for missing parameters
-w[ait] <seconds> set timeout waiting for finishing operations
-v[ersion] show program version
-h[elp] print this help
OBJECT
g[eneral] NetworkManager's general status and operations
n[etworking] overall networking control
r[adio] NetworkManager radio switches
c[onnection] NetworkManager's connections
d[evice] devices managed by NetworkManager
-------------------------------------------------------------------------------------------------
NAME UUID TYPE DEVICE
ppp0 4c0df042-21fc-4809-8b70-83106df7308f generic --
ppp0 ffeff54b-5617-4e0d-a2e9-3be3c7fd87d3 generic --
ppp0 0ae340cd-88f1-44de-9785-3c78c87d5568 generic --
ppp0 48ef1e66-b73c-46c3-a16f-ffeddaabb41f generic --
ppp0 3ab13a0b-2f49-4d43-bfed-52815c37b0d1 generic --
ppp0 8a21eae7-26cd-450b-8791-aebdb1e64798 generic --
eth0 2ac5ac03-f446-4bea-8c77-89018d59af6a 802-3-ethernet eth0
eth2 8460430d-94d7-40e2-84a2-6ec131a78113 802-3-ethernet eth2
詳細請看官方網站介紹
Network Manager
Network Manager aims for Network Connectivity which "Just Works". The computer should use the wired network connection when it's plugged in, but automatically switch to a wireless connection when the user unplugs it and walks away from the desk. Likewise, when the user plugs the computer back in, the computer should switch back to the wired connection. The user should, most times, not even notice that their connection has been managed for them; they should simply see uninterrupted network connectivity.
More information about Network Manager is available in Gnome website and wiki .
Ubuntu Linux 官方網站文章連結: https://help.ubuntu.com/community/NetworkManager
留言列表