User Tools

Site Tools


connman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
connman [2018/07/23 12:45]
leonanavi created
connman [2018/07/25 11:48] (current)
leonanavi
Line 1: Line 1:
 +====== ConnMan ======
 +
 [[https://​01.org/​connman|ConnMan]] is a command-line network manager designed for use with embedded devices and fast resolve times. ​ [[https://​01.org/​connman|ConnMan]] is a command-line network manager designed for use with embedded devices and fast resolve times. ​
  
Line 5: Line 7:
 ==Networking configuration== ==Networking configuration==
  
-====Connecting to a Wi-Fi network====+===Connecting to a Wi-Fi network=== 
 +Follow the steps below to connect to a secured Wi-Fi network: 
 +  * Enter connman CLI
  
-====Setting up a static IP address====+    $ connmanctl 
 + 
 +  * Enable Wi-Fi (only if it is not enabled) 
 + 
 +    connmanctl>​ technologies 
 +    connmanctl>​ enable wifi 
 + 
 +  * Scan for W-Fi networks: 
 + 
 +    connmanctl>​ scan wifi 
 + 
 +  * List the found and available Wi-Fi networks (write down the wireless network service with format like **wifi_<​MAC_ADDR>​_<​SSID_HEX>​_managed_psk**:​ 
 + 
 +    connmanctl>​ services 
 + 
 +  * Turn on agent and connect to a Wi-Fi network 
 + 
 +    connmanctl>​ agent on 
 +    connmanctl>​ connect wifi_<​MAC_ADDR>​_<​SSID_HEX>​_managed_psk 
 + 
 +  * If the network is secured the agent will prompt you to enter a password: 
 + 
 +    Agent RequestInput wifi_<​MAC_ADDR>​_<​SSID_HEX>​_managed_psk 
 +    Passphrase ​[ Type=psk, Requirement=mandatory ] 
 +    Passphrase?​ 
 + 
 +===Setting up a static IP address===
 Follow the steps below to configure a static IP address: Follow the steps below to configure a static IP address:
-* Retrieve the interface you want to modify (the format is **ethernet_<​MAC_ADDR>​_cable**):​ +  ​* Retrieve the interface you want to modify (the format is **ethernet_<​MAC_ADDR>​_cable**):​ 
-    connmanctl services + 
-* Manually configure IP: +    ​connmanctl services 
-    connmanctl config <​service>​ --ipv4 manual ​ <ip address> <​netmask>​ <​gateway>​+ 
 +  ​* Manually configure IP: 
 + 
 +    ​connmanctl config <​service>​ --ipv4 manual ​ <ip address> <​netmask>​ <​gateway>​ 
 +     
 +==See Also== 
 +  * [[https://​wiki.archlinux.org/​index.php/​ConnMan|ArchWiki:​ ConnMan]] 
 +  * [[https://​wiki.tizen.org/​IVI/​ConnMan_Tips_&​_Tricks|ConnMan Tips & Tricks]]
connman.1532349958.txt.gz · Last modified: 2018/07/23 12:45 by leonanavi