ubuntu命令连接wifi

 sudo service network-manager restart
 sudo nmcli dev wifi
 sudo nmcli dev wifi connect "Pang" password "996996996"
ubuntu@ubuntu-desktop:~/rk/x3566_android11$ sudo service network-manager restart
[sudo] ubuntu 的密码: 
ubuntu@ubuntu-desktop:~/rk/x3566_android11$ sudo nmcli dev wifi
IN-USE  BSSID              SSID           MODE   CHAN  RATE        SIGNAL  BARS  SECURITY  
        FA:8C:21:AA:21:DE  --             Infra  6     540 Mbit/s  77      ***   WPA1 WPA2 
        F8:8C:21:8A:21:DE  33dewifi/2.4g  Infra  6     540 Mbit/s  75      ***   WPA1 WPA2 
        F4:6A:92:5E:C0:0A  B1111          Infra  13    270 Mbit/s  72      ***   WPA1 WPA2 
        16:F6:D8:67:26:45  pang           Infra  13    195 Mbit/s  72      ***   WPA2      
        2C:55:7C:78:77:10  ChinaNet-UKy9  Infra  6     130 Mbit/s  44      **    WPA1 WPA2 
        D8:A8:C8:E5:B7:28  ChinaNet-w5cu  Infra  3     130 Mbit/s  40      **    WPA1 WPA2 
        F4:B7:8D:53:50:B0  topway1101     Infra  6     130 Mbit/s  40      **    WPA1 WPA2 
        48:A7:3C:56:F5:21  ChinaNet-1112  Infra  6     130 Mbit/s  37      **    WPA1 WPA2 
        90:16:BA:73:3B:58  topway1105     Infra  9     130 Mbit/s  35      **    WPA1 WPA2 
        F4:6A:92:5E:C0:0B  B1111_5G       Infra  157   270 Mbit/s  35      **    WPA1 WPA2 
        02:BE:8B:DE:7E:BD  --             Infra  1     0 Mbit/s    32      **    WPA2      
        F8:8C:21:8A:21:E0  33dewifi/5g    Infra  48    540 Mbit/s  24      *     WPA1 WPA2 
  
ubuntu@ubuntu-desktop:~/rk/x3566_android11$ 

你可能感兴趣的:(linux)