mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update pivilion manual setup
parent
522cafc983
commit
c25d5f1a7e
@ -36,15 +36,15 @@ You can connect the RPi to a HDMI screen (with a USB mouse + keyboard) and conne
|
|||||||
### Software
|
### Software
|
||||||
1. [Raspberry Pi OS Legacy image](https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-legacy) - the "lite" image is recommended for Pivilion - note that this version doesn't have a graphical user interface installed - you can only use the terminal interface if you connect the Pi to a screen with a HDMI cable. We are using the Legacy image while we iron out some problems with captive portal mode.
|
1. [Raspberry Pi OS Legacy image](https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-legacy) - the "lite" image is recommended for Pivilion - note that this version doesn't have a graphical user interface installed - you can only use the terminal interface if you connect the Pi to a screen with a HDMI cable. We are using the Legacy image while we iron out some problems with captive portal mode.
|
||||||
1. [Tor Browser](https://www.torproject.org/download/download-easy.html.en) - used only for checking if the gallery works on Tor (not for generating galleries)
|
1. [Tor Browser](https://www.torproject.org/download/download-easy.html.en) - used only for checking if the gallery works on Tor (not for generating galleries)
|
||||||
1. A network scanning tool like [Nmap](https://nmap.org/) or Fing (avaliable for iOS and Android) **Be careful with network scanning software - scanning networks that are not yours may be illegal in your country!**
|
1. A network scanning tool like [Nmap](https://nmap.org/) or Fing (available for iOS and Android) **Be careful with network scanning software - scanning networks that are not yours may be illegal in your country!**
|
||||||
1. [Putty SSH client](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) - Windows only
|
1. [Putty SSH client](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) - Windows only
|
||||||
1. [Filezilla sFTP client](https://filezilla-project.org/) - optional, for backing up and uploading files to the Pi
|
1. [Filezilla sFTP client](https://filezilla-project.org/) - optional, for backing up and uploading files to the Pi
|
||||||
|
|
||||||
## Software Installation
|
## Software Installation
|
||||||
Pivilion runs on top of libre / free software which is avaliable in the Raspbberry Pi OS repositories. To download and install software we will use apt, the Advanced Package Tool. Apt is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu, and related Linux distributions (Raspbnerry Pi OS is based on Debian).
|
Pivilion runs on top of libre / free software which is available in the Raspberry Pi OS repositories. To download and install software we will use apt, the Advanced Package Tool. Apt is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu, and related Linux distributions (Raspberry Pi OS is based on Debian).
|
||||||
|
|
||||||
### Installing Raspbperry Pi OS
|
### Installing Raspberry Pi OS
|
||||||
Always get a current Raspbperry Pi OS Legacy image before installing Pivilion. It will drastically speed up the update / upgrade step of the manual. Use the official [Raspberry Pi documentation gettig started guide](https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-images-on-chrome-os) to learn how to handle images on your OS.
|
Always get a current Raspberry Pi OS Legacy image before installing Pivilion. It will drastically speed up the update / upgrade step of the manual. Use the official [Raspberry Pi documentation getting started guide](https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-images-on-chrome-os) to learn how to handle images on your OS.
|
||||||
|
|
||||||
### Enabling SSH on Your Pi
|
### Enabling SSH on Your Pi
|
||||||
SSH access is turned off by default for security. We need to do a simple extra step to enable it.
|
SSH access is turned off by default for security. We need to do a simple extra step to enable it.
|
||||||
@ -52,7 +52,7 @@ SSH access is turned off by default for security. We need to do a simple extra s
|
|||||||
The boot partition on a Pi should be accessible from any machine with an SD card reader, on Linux, Windows or Mac. If you want to enable SSH, all you need to do is to put a file called ssh in the boot partition. 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.
|
The boot partition on a Pi should be accessible from any machine with an SD card reader, on Linux, Windows or Mac. If you want to enable SSH, all you need to do is to put a file called ssh in the boot partition. 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.
|
||||||
|
|
||||||
### Connecting to the Pi
|
### Connecting to the Pi
|
||||||
Once that’s done, connect your RPi to a DHCP network and power it on. Depending on your network configuration, you can login to your RPi using it's hostname "raspberry", use a network discovery tool to find it's IP address, or check your router administrator intarface for the ip assigned to your Pi.
|
Once that’s done, connect your RPi to a DHCP network and power it on. Depending on your network configuration, you can login to your RPi using it's hostname "raspberry", use a network discovery tool to find it's IP address, or check your router administrator interface for the ip assigned to your Pi.
|
||||||
|
|
||||||
#### Using WiFi Only to Connect to the Pi
|
#### Using WiFi Only to Connect to the Pi
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ wpa_supplicant is a free software implementation of an IEEE 802.11i supplicant f
|
|||||||
|
|
||||||
The config file generated will assume you're using WPA2 security on your network. If not, you will have to modify it manually according to your network settings.
|
The config file generated will assume you're using WPA2 security on your network. If not, you will have to modify it manually according to your network settings.
|
||||||
|
|
||||||
It also adds a country code to your WiFi settings which Raspbperry Pi OS made mandatory for the RPi 3b+ and it has been known to cause issues for some people. In the generated config file the country will be set to Bolivia which will allow you to push your WiFi to higher power then legally allowed in some countries. If you feel uneasy about this please change this to your country code. Note that your Pi won't automatically transmit at a higher rate without being instructed to do so, but that's outside the scope of this document.
|
It also adds a country code to your WiFi settings which Raspberry Pi OS made mandatory for the RPi 3b+ and it has been known to cause issues for some people. In the generated config file the country will be set to Bolivia which will allow you to push your WiFi to higher power then legally allowed in some countries. If you feel uneasy about this please change this to your country code. Note that your Pi won't automatically transmit at a higher rate without being instructed to do so, but that's outside the scope of this document.
|
||||||
|
|
||||||
#### Finding the Pi's IP
|
#### Finding the Pi's IP
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ There are several options for finding the IP of your device:
|
|||||||
|
|
||||||
1. Logging into your local router and checking the list of connected devices
|
1. Logging into your local router and checking the list of connected devices
|
||||||
2. Using a network scanning tool like [Nmap](https://nmap.org/) or Fing (avaliable for iOS and Android)
|
2. Using a network scanning tool like [Nmap](https://nmap.org/) or Fing (avaliable for iOS and Android)
|
||||||
3. Connecting it to a display with a HDMI cable and just reading the IP from the screen. If you installed Raspbperry Pi OS lite it will just write the IP address before prompting you to login. If you installed the full Raspbperry Pi OS version with a GUI you can find your IP in the upper right corner by hovering over the networking icon
|
3. Connecting it to a display with a HDMI cable and just reading the IP from the screen. If you installed Raspberry Pi OS lite it will just write the IP address before prompting you to login. If you installed the full Raspberry Pi OS version with a GUI you can find your IP in the upper right corner by hovering over the networking icon
|
||||||
|
|
||||||
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 your 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 your router's settings to see all devices connected to your network and their IPs.
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ and input the new password.
|
|||||||
|
|
||||||
### Expanding the Filesystem
|
### Expanding the Filesystem
|
||||||
|
|
||||||
This is optional depending on the Raspbperry Pi OS version you are using.
|
This is optional depending on the Raspberry Pi OS version you are using.
|
||||||
|
|
||||||
Check used and available storage with
|
Check used and available storage with
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user