Ads 468x60px

##EasyReadMore##

01 12月, 2016

use connmanctl enable wifi

wifi status:
connmanctl technologies
  /net/connman/technology/wifi
    Name = WiFi
    Type = wifi
    Powered = False
    Connected = False
    Tethering = False
enable wifi: connmanctl enable wifi
Enabled wifi
check wifi power status:
connmanctl technologies
/net/connman/technology/wifi
  Name = WiFi
  Type = wifi
  Powered = True
  Connected = False
  Tethering = False

列出 wifi 節點
connmanctl> services
 my_wifi              wifi_60e32710febf_6379665f6d72_managed_psk
 dlink777             wifi_60e32710febf_646c696e6b373737_managed_psk

開啟連線代理
connmanctl> agent on
 Agent registered

連線
connmanctl> connect wifi_60e32710febf_ //可按 tab 鍵補全
connmanctl> connect wifi_60e32710febf_6379665f6d72_managed_psk
> Passphrase? [輸入wifi 密碼]

Agent RequestInput wifi_60e32710febf_6379665f6d72_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
WPS = [ Type=wpspin, Requirement=alternate ]

已連上
Connected wifi_60e32710febf_6379665f6d72_managed_psk
connmanctl> exit
check wifi connect status:
connmanctl technologies
/net/connman/technology/wifi
  Name = WiFi
  Type = wifi
  Powered = True
  Connected = True
  Tethering = False
connmanctl> quit
IoT - Connecting to a Wi-Fi Network | Intel® Software - https://goo.gl/eYTd09
lightblue: PVE 使用 wifi 介面卡(TL-WN722N)+ngrok - https://goo.gl/4m33Ef

0 意見:

張貼留言

 
Blogger Templates