EBC Exercise 06 Setting Up Wifi

Here's how to set up wifi on the Bone.

bone$ connmanctl Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl> scan wifi Scan completed for wifi connmanctl> services *AR RHIT-OPEN           wifi_987bf3d2e45e_524849542d4f50454e_managed_none BeagleBone-DF34     wifi_987bf3d2e45e_426561676c65426f6e652d44463334_managed_psk eduroam             wifi_987bf3d2e45e_656475726f616d_managed_ieee8021x DIRECT-da-HP M132 LaserJet wifi_987bf3d2e45e_4449524543542d64612d4850204d313332204c617365724a6574_managed_psk Here is a list of all the access points the Bone can see. Let's pick RHIT-OPEN and connect to it.

connmanctl> connect wifi_987bf3d2e45e_524849542d4f50454e_managed_none

Fortunately connmanctl has TAB completion, so you don't have to type the whole name, just type a few characters and then hit TAB. Once connected you can configure it so it will stay connected.

connmanctl> config wifi_987bf3d2e45e_524849542d4f50454e_managed_none --autoconnect yes

Then you can quit. connmanctl> quit See if you can hit google. bone$ ping -c2 www.google.com PING www.google.com (216.58.192.164) 56(84) bytes of data. 64 bytes from ord36s02-in-f4.1e100.net (216.58.192.164): icmp_seq=1 ttl=53 time=9.56 ms 64 bytes from ord36s02-in-f4.1e100.net (216.58.192.164): icmp_seq=2 ttl=53 time=14.5 ms --- www.google.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 9.563/12.045/14.528/2.484 ms It looks good.

More Details
Yes can see help in connmanctl.

bone$ connmanctl connmanctl> help state                                Shows if the system is online or offline technologies                         Display technologies clock                                Get System Clock Properties ... help                                 Show help exit                                 Exit quit                                 Quit