Skip to content

Instantly share code, notes, and snippets.

@interwebjill
Last active March 31, 2016 17:41
Show Gist options
  • Save interwebjill/c5244b715226120cd1fdd35677a1c8b6 to your computer and use it in GitHub Desktop.
Save interwebjill/c5244b715226120cd1fdd35677a1c8b6 to your computer and use it in GitHub Desktop.
Connman Cheat Sheet

Connman Cheat Sheet

Configure WiFi

~$ sudo connmanctl 
connmanctl> enable wifi 
Enabled wifi 

connmanctl> scan wifi 
Scan completed for wifi 

connmanctl> services 
*AO Wired                ethernet_74d435b65be6_cable 
    Avenger              wifi_14cc201db6f6_4176656e676572_managed_psk 

connmanctl> agent on 
Agent registered 

connmanctl> connect wifi_14cc201db6f6_4176656e676572_managed_psk 
Agent RequestInput wifi_14cc201db6f6_4176656e676572_managed_psk 
  Passphrase = [ Type=psk, Requirement=mandatory ] 

Passphrase? ********* 
Connected wifi_14cc201db6f6_4176656e676572_managed_psk 

connmanctl> quit 

To check

sudo ifconfig -a 
@persones
Copy link

for static IP:
connmanctl config --ipv4 manual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment