mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Merge branch 'master' of https://github.com/cimryan/teslausb
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
```
|
```
|
||||||
ssh pi@raspberrypi.local
|
ssh pi@raspberrypi.local
|
||||||
```
|
```
|
||||||
|
> Note: If you receive an error indicating that the host id has changed and you can't work around it you'll need to delete the ~\\.ssh\known_hosts file. You're especially likely to encounter this error if you're following these instructions for a second time.
|
||||||
1. If you get an "unknown host" error message install Bonjour: https://support.apple.com/kb/DL999 and go back to step 15.
|
1. If you get an "unknown host" error message install Bonjour: https://support.apple.com/kb/DL999 and go back to step 15.
|
||||||
1. You should be prompted for the password for the user "pi". Enter
|
1. You should be prompted for the password for the user "pi". Enter
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,3 +6,5 @@ Here are a few ways to accomplish this
|
|||||||
* [Script to setup the Pi for connecting over USB](https://github.com/BigNate1234/rpi-USBSSH)
|
* [Script to setup the Pi for connecting over USB](https://github.com/BigNate1234/rpi-USBSSH)
|
||||||
* (I.e. First write the OS image to the SD card, then this script will make the changes to the card so you can boot it and access it over the USB cable.
|
* (I.e. First write the OS image to the SD card, then this script will make the changes to the card so you can boot it and access it over the USB cable.
|
||||||
* **Assumes the SD card for the Pi is mounted at /Volumes/boot , and that you can use `sh`/`bash`**. This _should_ be the default for a Mac; if using something else, modify the script accordingly.
|
* **Assumes the SD card for the Pi is mounted at /Volumes/boot , and that you can use `sh`/`bash`**. This _should_ be the default for a Mac; if using something else, modify the script accordingly.
|
||||||
|
|
||||||
|
Be sure to delete the "init=/usr/lib/raspi-config/init_resize.sh" parameter from cmdline.txt to prevent the os partition from being expanded to fill the drive.
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ There are four phases to setting up the Pi:
|
|||||||
> Note: you don't need to uncompress the zip file you downloaded.
|
> Note: you don't need to uncompress the zip file you downloaded.
|
||||||
|
|
||||||
### Get a shell on the Pi
|
### Get a shell on the Pi
|
||||||
If you have a monitor with an hdmi input, a mini hdmi to hdmi cable, a usb keyboard and a micro usb power cable you can hook up the devices to the Pi and configure it directly.
|
If you have a monitor with an hdmi input, a mini hdmi to hdmi cable, a usb keyboard and a micro usb power cable you can hook up the devices to the Pi and configure it directly. Before you start those steps, ensure that the MicroSD card is in your computer and edit the cmdline.txt file to delete the parameter " init=/usr/lib/raspi-config/init_resize.sh".
|
||||||
1. Insert the MicroSD card into the Pi.
|
1. Insert the MicroSD card into the Pi.
|
||||||
1. Connect the keyboard, and monitor to the Pi.
|
1. Connect the keyboard, and monitor to the Pi.
|
||||||
1. Connect the power supply to the Pi using the port labeld "PWR" on the circuitboard.
|
1. Connect the power supply to the Pi using the port labeld "PWR" on the circuitboard.
|
||||||
@@ -159,4 +159,4 @@ sudo -i
|
|||||||
mount / -o remount,rw
|
mount / -o remount,rw
|
||||||
mount /boot -o remount,rw
|
mount /boot -o remount,rw
|
||||||
```
|
```
|
||||||
Then make whatever changes you need to. The next time the system boots the partitions will once again be read-only.
|
Then make whatever changes you need to. The next time the system boots the partitions will once again be read-only.
|
||||||
|
|||||||
Reference in New Issue
Block a user