Difference between revisions of "ECE-370: Robot Design"

From Lofaro Lab Wiki
Jump to: navigation, search
(Setup Wifi)
(Setup Wifi)
Line 21: Line 21:
 
# Go to the SD card drive named "boot"
 
# Go to the SD card drive named "boot"
 
# Place the wpa_supplicant.conf created above inside of "boot".  This will automatically copy wpa_supplicant.conf to its required place (i.e. /etc/wpa_supplicant/)
 
# Place the wpa_supplicant.conf created above inside of "boot".  This will automatically copy wpa_supplicant.conf to its required place (i.e. /etc/wpa_supplicant/)
 +
 +
==Setup Hostname==
 
# Mount the 2nd partition (type ext4)
 
# Mount the 2nd partition (type ext4)
** Linux: native
+
* Linux: native support
** Mac:  
+
* Windows: use [http://www.ext2fsd.com/ Ext2Fsd]
 +
* Mac:  
 
   $ brew cask install osxfuse
 
   $ brew cask install osxfuse
 
   $ brew install ext4fuse
 
   $ brew install ext4fuse
 
   $ ext4fuse /dev/diskNsM $HOME/tmp/my-linux-mount -o allow_other
 
   $ ext4fuse /dev/diskNsM $HOME/tmp/my-linux-mount -o allow_other
** Windows: use [http://www.ext2fsd.com/ Ext2Fsd]
 

Revision as of 21:45, 27 January 2019

Install Raspbian

Prerequisite

  • 1x Raspberry Pi Zero W
  • 1x MicroCenter brand 32gb Series 10 micro SD card (or larder if using another brand)

Install OS

You need to install Raspbian-Full 2018-11-13 version (see link below):

Once the image is downloaded follow the directions below to install the base image:

Setup Wifi

This section describes how to setup the wifi on your raspberry pi zero w without the need for a keyboard or monitor attached to the device.

  1. Download the wpa_supplican.conf example file here
  2. Rename wpa_supplicant.conf.example to wpa_supplicant.conf
  3. Setup your wifi name and password (note: you will be using "eduroam")
    1. Change your GMU password, this will ensure it will not expire during the course of the class
    2. Modify "identity" to match your GMU email address
    3. Modify "password" to match your GMU email password
  4. Insert the SD card into your computer
  5. Go to the SD card drive named "boot"
  6. Place the wpa_supplicant.conf created above inside of "boot". This will automatically copy wpa_supplicant.conf to its required place (i.e. /etc/wpa_supplicant/)

Setup Hostname

  1. Mount the 2nd partition (type ext4)
  • Linux: native support
  • Windows: use Ext2Fsd
  • Mac:
 $ brew cask install osxfuse
 $ brew install ext4fuse
 $ ext4fuse /dev/diskNsM $HOME/tmp/my-linux-mount -o allow_other