Last active
September 9, 2020 23:58
-
-
Save dmalawey/e4be9f3b5beba8ed49868065935127b7 to your computer and use it in GitHub Desktop.
connecting to wifi at home using Command line interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian@beaglebone:/var/lib/cloud9$ sudo connmanctl | |
[sudo] password for debian: | |
Error getting VPN connections: The name net.connman.vpn was not provided by any .serviceconnmanctl> scan wifi | |
Scan completed for wifi | |
connmanctl> scan wifi | |
Scan completed for wifi | |
connmanctl> agent on | |
Agent registered | |
connmanctl> services | |
PCHOTSPOT wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
DANGER_2.4 wifi_9884e3e0bd64_44414e4745525f322e34_managed_psk | |
belkin.64f.guests wifi_9884e3e0bd64_62656c6b696e2e3634662e677565737473_managed_none | |
e4620cfc7527e7a9c64c8e149993ab1f wifi_9884e3e0bd64_6534363230636663373532376537613963363463386531343939393361623166_managed_psk | |
suddenlink.net-8CD2 wifi_9884e3e0bd64_73756464656e6c696e6b2e6e65742d38434432_managed_psk | |
connmanctl> connect wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
Agent RequestInput wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ] | |
WPS = [ Type=wpspin, Requirement=alternate ] | |
Passphrase? davids_passphrase | |
Connected wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
connmanctl> disconnect wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
Disconnected wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
connmanctl> connect wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
Connected wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
connmanctl> | |
---------------------------------------------------------------------------------- | |
TO SUMMARIZE: THESE COMMANDS ARE USED: | |
sudo connmanctl | |
scan wifi | |
agent on | |
services | |
connect wifi_9884e3e0bd64_5043484f5453504f54_managed_psk | |
---------------------------------------------------------------------------------- | |
After those steps, you can ping google (you should get data transcieved). | |
If ping google does not work, but ping 8.8.8.8 works (data transcieved), | |
Then you can run: | |
sudo nano /etc/resolv.conf | |
Then delte the information in this configuration file, and replace with: | |
nameserver 8.8.8.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment