IP: 72.68.202.185
Local: 192.168.6.112
ssh: ssh cagrimmett@freedombox.local
Useful Links
- https://wiki.debian.org/FreedomBox/Manual#FreedomBox.2FManual.2FQuickStart.How_to_get_started
- https://www.olimex.com/Products/OLinuXino/Home-Server/Pioneer-FreedomBox-HSK/open-source-hardware
- https://www.olimex.com/Products/OLinuXino/Home-Server/Pioneer-FreedomBox-HSK/resources/July2019_OlimexFreedomBox_Instructions.pdf
Re-flashing the SD card
Note: You can’t use a GUI like extFS from Paragon to copy the image. You have to use the command line.
- Download image from https://freedombox.org/download/pioneer/
- Uncompress the xz using The Unarchiver
- Connect microSD card to laptop using the reader and dongle
diskutil listdiskutil unmountDisk /dev/disk3(use actual disk number)sudo dd if=freedombox-image.img of=/dev/rdisk3 bs=1m status=progressdiskutil eject /dev/disk3- Remove microSD card from reader.
- Unplug FreedomBox.
- Insert SD card.
- Plug in ethernet first.
- Say incantations to Saint IGNUcius.
- Plug in power.
- Wait for it to load and reboot.
- See if it is on the network with
arp -a
Upgrading Linux distributions
First, update the current system.
sudo apt update
sudo apt upgrade
sudo apt full-upgrade
sudo apt autoremove
Next, update the source lists.
sudo nano /etc/apt/sources.listCode language: PHP (php)
Also all lists in /etc/apt/sources.list.d/
Then,
sudo apt update
sudo apt upgrade --without-new-pkgs
sudo apt full-upgrade
sudo rebootCode language: JavaScript (javascript)
Confirm:
cat /etc/debian_version
Restoring from a snapshot
https://discuss.freedombox.org/t/preserving-and-restoring-a-snapshot-via-command-line/2610/4
$ sudo snapper -c root listCode language: PHP (php)
That will return a list of snapshots.
$ sudo snapper --ambit classic rollback <snapshot number>Code language: HTML, XML (xml)
Then you probably need to reboot, because you probably aren’t doing this when everything is working correctly.
$ sudo reboot
User websites
Stored at: https://grimmett.xyz/~username/
Example:
https://grimmett.xyz/~cagrimmett/
Kiwix
https://wiki.kiwix.org/wiki/Kiwix-manage
- sudo -s
- cd /var/lib/private/kiwix-server-freedombox/content
- wget {zim url}
- cd ..
- kiwix-manage library_zim.xml add content/{zim file}
- sudo systemctl restart kiwix-server-freedombox.service
Miniflux
- use FreshRSS/greader API to access via NetNetsWire.
- In the Firewall settings, DNS-over-TLS needs to be set to Opportunistic and DNSSEC needs to be set to Allow Downgrade. Forcing DNS-over-TLS and strict DNSSEC will block miniflux’s outgoing connections, at least on my setup.
