Fixed paths.
This commit is contained in:
30
Readme.md
30
Readme.md
@@ -10,7 +10,7 @@
|
||||
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
# OS Install
|
||||
|
||||
@@ -26,22 +26,22 @@ Once you have the `*.img` file, you must write it to an SD card. <br />For this,
|
||||
|
||||
After the image burning has completed, most OSs should automatically mount the SD card. We only need access to the `boot` partition initially.
|
||||
|
||||

|
||||

|
||||
|
||||
## Setting up SSH
|
||||
|
||||
Since this device can be set up without a monitor, we shall. <br />First, we need to enable SSH.
|
||||
1. Open the boot partition - it should look like so: <br />
|
||||
1. Open the boot partition - it should look like so: <br />
|
||||
|
||||
2. Create a `ssh` file. Note that this doesn't have any extension. For Linux users, you can open a console in this directory, and `touch ssh` to create the file. This file enables `ssh` on the latest versions of Raspbian. <br />
|
||||
2. Create a `ssh` file. Note that this doesn't have any extension. For Linux users, you can open a console in this directory, and `touch ssh` to create the file. This file enables `ssh` on the latest versions of Raspbian. <br />
|
||||
|
||||
3. Edit `config.txt`. Using your preferred editor, add the line `dtoverlay=dwc2` to the end. <br />
|
||||
3. Edit `config.txt`. Using your preferred editor, add the line `dtoverlay=dwc2` to the end. <br />
|
||||
|
||||
4. Edit `cmdline.txt`. Again, using your preferred editor, between `rootwait` and the next word, insert `modules-load=dwc2,g_ether` leaving only one space after `rootwait` and one before the next word. <br />
|
||||
4. Edit `cmdline.txt`. Again, using your preferred editor, between `rootwait` and the next word, insert `modules-load=dwc2,g_ether` leaving only one space after `rootwait` and one before the next word. <br />
|
||||
|
||||
5. Eject the SD card safely. <br />
|
||||
5. Eject the SD card safely. <br />
|
||||
|
||||
6. Insert the SD card into the Raspberry Pi. <br />
|
||||
6. Insert the SD card into the Raspberry Pi. <br />
|
||||
|
||||
7. Use a known USB micro data cable to connect the Raspberry Pi to a computer.
|
||||
|
||||
@@ -55,17 +55,17 @@ Since this device can be set up without a monitor, we shall. <br />First, we nee
|
||||
|
||||
* Use your preferred network manager:
|
||||
|
||||
* Create a new connection profile <br />
|
||||
* Create a new connection profile <br />
|
||||
|
||||
* Set it's type to be 'Wired Ethernet (shared)' if available, else, 'Wired Ethernet'
|
||||
|
||||
* Name it <br />
|
||||
* Name it <br />
|
||||
|
||||
* Ensure the method is set to 'Shared to other computers', or similar. <br />
|
||||
* Ensure the method is set to 'Shared to other computers', or similar. <br />
|
||||
|
||||
* Save and connect on the connection not currently used. <br />
|
||||
* Save and connect on the connection not currently used. <br />
|
||||
|
||||
* Check your IP address on this network. <br />
|
||||
* Check your IP address on this network. <br />
|
||||
|
||||
* This shows that the host computer (Linux) has the IP address `10.42.0.1`
|
||||
|
||||
@@ -75,7 +75,7 @@ Since this device can be set up without a monitor, we shall. <br />First, we nee
|
||||
|
||||
`nmap -sn "10.42.0.*"` and look for the IP address which the host doesn't have (i.e. look for the ip address other than 10.42.0.1 in this example).
|
||||
|
||||
For example, when I ran the command, the output was <br />
|
||||
For example, when I ran the command, the output was <br />
|
||||
|
||||
so the IP address I am looking for is `10.42.0.172`.
|
||||
|
||||
@@ -94,7 +94,7 @@ Since this device can be set up without a monitor, we shall. <br />First, we nee
|
||||
|
||||
* For users of windows, see [ssh using PUTTY](https://desertbot.io/blog/headless-pi-zero-ssh-access-over-usb-windows#step-8-install-putty), and for users of OS X, you can simply ssh in using `ssh pi@raspberrypi.local` in a terminal.
|
||||
|
||||
* This should then ask you if you want to continue connecting, displaying the ECDSA key. Type `yes` and hit enter to continue.<br />
|
||||
* This should then ask you if you want to continue connecting, displaying the ECDSA key. Type `yes` and hit enter to continue.<br />
|
||||
|
||||
* Then, when the password is asked for, type `raspberry` - the default password in Raspbian.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user