-
Raspberry Pi 4 - this is our recommended pi model. At least 2 GB of RAM is recommended.
-
Raspberry Pi 3B+
-
Although it will likely work on a Raspberry Pi 5, this is untested and not officially supported.
-
Use the official Raspberry Pi Imager to write the disk image to your SD card
-
Operating System > Raspberry Pi OS (other) > Raspberry Pi OS Lite (64-bit), Debian Trixie. Installation of other OS versions is not officialy supported.
-
OS customisation settings:
-
General
-
Username:
pi -
Set wifi credentials
-
-
Services
-
Enable SSH
-
-
-
Write OS to SD card and eject SD card
-
Connect via ssh:
ssh [email protected] -
sudo apt-get update -
sudo apt-get upgrade -y -
sudo apt-get install git
-
ssh-keygen -t rsa -b 4096 -C “[email protected]” -
eval "$(ssh-agent -s)" -
ssh-add ~/.ssh/id_rsa -
more ~/.ssh/id_rsa.pub(copy to git)
-
git clone [email protected]:dasl-/pifi.git -
cd pifi
-
Create a config file:
config.json. The config file should set all of the required config parameters. -
./install/install_dependencies.sh -
./install/install.sh-
This may result in an out of memory error. If that happens, simply re-run the install script. It should succeed the second time.
-
-
optional reboot to confirm services come up automatically and cleanly from a reboot:
sudo shutdown -r now
-
By default, raspberry pi’s have the hostname
raspberrypi. As such, you can SSH onto the pi or hit the pifi webpage viaraspberrypi.local(i.e.:ssh [email protected]and http://raspberrypi.local -
The
./install/install.shscript has an argument you can use to change the hostname, e.g../install/install.sh -g pifi -
You can optionally reserve an IP address for the pifi on your router (if it supports this)
-
Note if you choose 192.168.1.166 for the reserved IP, then the domain name http://pifi.club/ will resolve to your pi on your wifi network :)
-
FreshTomato router firmware has a setting
Enable DNS Rebind protection, which is enabled by default. When this is enabled, it will prevent upstream DNS servers from resolving queries to any non-routable IP (e.g., 192.168.1.X). So you need to disable this feature for the vanity URL to work.
-