Ubuntu怎样在命令行设置wifi

admin 提交于 星期二, 12/27/2016 - 10:15

打开命令行终端(CTRL+ALT+T),输入下面命令列出wifi列表:

nmcli dev wifi

提示:nmcli是network manager command line interface的缩写。下面命令可以连接网络:

nmcli d wifi connect WIFI名 password 密码 iface wlan0

可以把上面的命令保存成alias快捷方式,以后联网就不用输一长串字符了。

标签

添加新评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal8"