Difference between revisions of "ECE-370: Robot Design"
From Lofaro Lab Wiki
(→Setup Hostname) |
(→Setup Hostname) |
||
Line 33: | Line 33: | ||
Now you have to edit two files within the above mounted files system: | Now you have to edit two files within the above mounted files system: | ||
− | # Edit /etc/hostname | + | # Edit /etc/hostname - Replace "raspberrypi" with the desired name (no spaces) of your computer, please make it unique) |
− | + | # Edit /etc/hosts - Replace "raspberrypi" with the <u>same</u> hostname as listed above | |
− | # Edit /etc/ | + |
Revision as of 21:59, 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.
- Download the wpa_supplican.conf example file here
- Rename wpa_supplicant.conf.example to wpa_supplicant.conf
- Setup your wifi name and password (note: you will be using "eduroam")
- Change your GMU password, this will ensure it will not expire during the course of the class
- Modify "identity" to match your GMU email address
- Modify "password" to match your GMU email password
- Insert the SD card into your computer
- 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/)
Setup Hostname
First you have to mount the 2nd partition (type ext4) on your system
Now you have to edit two files within the above mounted files system:
- Edit /etc/hostname - Replace "raspberrypi" with the desired name (no spaces) of your computer, please make it unique)
- Edit /etc/hosts - Replace "raspberrypi" with the same hostname as listed above