mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-30 00:57:16 +00:00
Added some stuff
parent
1b41c4e8aa
commit
3933ac07b4
@ -18,6 +18,11 @@ https://www.raspberrypi.org/documentation/installation/installing-images/README.
|
|||||||
|
|
||||||
Choose your system. We’ll be using Linux + dd.
|
Choose your system. We’ll be using Linux + dd.
|
||||||
|
|
||||||
|
### Enabling SSH on your Pi
|
||||||
|
SSH access is turned of by default for security. We need to do a simple extra step to enable it.
|
||||||
|
|
||||||
|
The boot partition on a Pi should be accessible from any machine with an SD card reader, on Windows, Mac, or Linux. If you want to enable SSH, all you need to do is to put a file called ssh in the /boot/ directory. The contents of the file don’t matter: it can contain any text you like, or even nothing at all. When the Pi boots, it looks for this file; if it finds it, it enables SSH and then deletes the file. SSH can still be turned on or off from the Raspberry Pi Configuration application or raspi-config; this is simply an additional way to turn it on if you can’t easily run either of those applications.
|
||||||
|
|
||||||
Once that’s done, connect your RPi to a DHCP network with an ethernet cable and power it on. Depending on your network configuration, you can login to your RPi using it's hostname "raspberry", or use a network discovery tool to find it's IP address.
|
Once that’s done, connect your RPi to a DHCP network with an ethernet cable and power it on. Depending on your network configuration, you can login to your RPi using it's hostname "raspberry", or use a network discovery tool to find it's IP address.
|
||||||
We will use nmap to scan our DHCP IP range for all hosts that are up. Replace 10.0.0.1/24 with your IP address range. You can also check you router's settings to see all devices connected to your network and their IPs.
|
We will use nmap to scan our DHCP IP range for all hosts that are up. Replace 10.0.0.1/24 with your IP address range. You can also check you router's settings to see all devices connected to your network and their IPs.
|
||||||
|
|
||||||
@ -29,6 +34,14 @@ Login to your pi using SSH with username: pi password: raspberry.
|
|||||||
|
|
||||||
(Replace 10.0.0.5 with your Rpi's IP)
|
(Replace 10.0.0.5 with your Rpi's IP)
|
||||||
|
|
||||||
|
### Change the default password
|
||||||
|
|
||||||
|
It's really important to change the default password for obvious security reasons. Change it with
|
||||||
|
|
||||||
|
`passwd`
|
||||||
|
|
||||||
|
and input the new password
|
||||||
|
|
||||||
### Expand your filesystem
|
### Expand your filesystem
|
||||||
|
|
||||||
`sudo raspi-config`
|
`sudo raspi-config`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user