mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Merge pull request #61 from skipfire/master
Doc updates - add wifi, change password; move extra wgets to setup ps1
This commit is contained in:
@@ -15,12 +15,17 @@
|
||||
```
|
||||
cd ~
|
||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/setup-piForHeadlessConfig.ps1 -OutFile setup-piForHeadlessConfig.ps1
|
||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/WpaSupplicantConf.psm1 -OutFile WpaSupplicantConf.psm1
|
||||
./setup-piForHeadlessConfig.ps1 -Verbose
|
||||
```
|
||||
1. Enter the single letter of the "boot" drive and press Enter.
|
||||
1. Enter the SSID of your WiFi network and press Enter.
|
||||
1. Enter the Pre-Shared Key of your WiFi network and press Enter.
|
||||
1. If you want to add additional WiFi networks, execute:
|
||||
```
|
||||
./add-wifi.ps1 -Verbose
|
||||
```
|
||||
1. If you will use any public or insecure networks, be sure to update your password using the instructions at the end of this document.
|
||||
1. Enter the additional SSID and Pre-Shared Key of the WiFi network and repeat as necessary.
|
||||
1. Eject the sd card.
|
||||
1. Move the sd card to the Pi.
|
||||
1. Connect a micro usb cable to the port labeled "USB" on the Raspberry Pi, and to the PC.
|
||||
@@ -38,3 +43,17 @@
|
||||
```
|
||||
raspberry
|
||||
```
|
||||
1. Change your password! While not required, it is recommended, especially if you may be using any public or insecure WiFi connections. To do so Enter
|
||||
```
|
||||
passwd
|
||||
```
|
||||
1. Then enter your new password and press Enter
|
||||
1. Confirm your new password and press Enter
|
||||
1. If you want to change your password later, you must set the system partition to writeable with either
|
||||
```
|
||||
/root/bin/remountfs_rw
|
||||
```
|
||||
1. or
|
||||
```
|
||||
mount / -o remount,rw
|
||||
```
|
||||
|
||||
@@ -11,6 +11,9 @@ Param
|
||||
[string]$wifiPSK
|
||||
)
|
||||
|
||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/WpaSupplicantConf.psm1 -OutFile WpaSupplicantConf.psm1
|
||||
wget https://raw.githubusercontent.com/cimryan/teslausb/master/setup/windows/add-wifi.ps1 -OutFile add-wifi.ps1
|
||||
|
||||
Import-Module -Name ".\WpaSupplicantConf.psm1" -Force
|
||||
|
||||
$drivePath="${driveLetter}:"
|
||||
|
||||
Reference in New Issue
Block a user