User Tools

Site Tools


pibot:autohotspot

Differences

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

Link to this comparison view

Next revision
Previous revision
pibot:autohotspot [2021/12/01 20:11] – created jstruebelpibot:autohotspot [2022/10/20 19:53] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Connection ======
  
 +  - Use the power switch on the battery box to turn the PiBot on
 +  - Use the following steps to connect to the PiBot from MacOS
 +    - Open the terminal app\\ \\ <WRAP round tip>Click the magnifying glass in the top right corner of the screen and type "terminal" to find the terminal app</WRAP>
 +    - Type the following command and press enter to connect to the Raspberry Pi terminal via SSH\\ \\ <WRAP round important>Replace the text "pibot##" with the label on the PiBot</WRAP> <WRAP round important>The password to enter when prompted is "DogsAndCatsAreNice2." without the quotes. The '.' at the end is important!</WRAP><code>ssh pi@pibot##.local</code>
 +  - Use the following steps to connect to the PiBot from Windows
 +    - Open the putty app from the Applications\PuTTY\<version> folder on the Flash drive\\ \\ <WRAP round tip>The <version> folder will be something like "0.75". Use the latest version available.</WRAP>
 +    - Type "pibot##" in the Host Name (or IP address)" box where the ## comes from the label on the PiBot.\\ \\ <WRAP box>{{ :pibot:autohotspot:s1.png |PuTTY Configuration}}</WRAP>
 +    - Click the "Open" button to connect to the Raspberry Pi terminal via SSH\\ \\ <WRAP box>{{ :pibot:autohotspot:s2.png |PuTTY Open Connection}}</WRAP>
 +    - If a "PuTTY Security Alert" window pops up, click the "Accept" button\ \\ <WRAP box>{{ :pibot:autohotspot:s3.png |PuTTY Security Alert}}</WRAP>
 +    - Type "pi" at the "login as:" prompt and press Enter\\ \\ <WRAP round important>The password to enter when prompted is "DogsAndCatsAreNice2." without the quotes. The '.' at the end is important!</WRAP><WRAP box>{{ :pibot:autohotspot:s4.png |PuTTY Login}}</WRAP>
 +
 +====== Configuration ======
 +
 +  - Type the following command and press enter to download the Auto Hotspot scripts\\ \\ <code>git clone --branch robot-club https://github.com/jstruebel/auto-hotspot.git</code>
 +  - Type the following two commands and press enter after each line to configure the Auto Hotspot scripts\\ \\ <code>cd auto-hotspot
 +chmod +x auto-hotspot install.sh uninstall.sh</code>
 +  - Type the following command and press enter to install the Auto Hotspot script\\ \\ <code>sudo ./install.sh</code>
 +  - Type the following command to shutdown the PiBot\\ \\ <code>sudo shutdown -h now</code>
 +
 +====== Usage ======
 +
 +The Auto Hotspot script configures the PiBot to create its own wireless network if it can't connect to one of the wireless networks that it's been configured for. To use it, connect your computer to the "pibot##" wireless network and then follow the lessons and challenges like normal.