Fased on Raspberry Pi
Goal
Run a persistent, always-on Fased Gateway on a Raspberry Pi. Perfect for:- 24/7 Fased Agent host
- Home automation hub
- Low-power, always-available Telegram/WhatsApp bot
Hardware requirements
| Pi model | RAM | Fit | Notes |
|---|---|---|---|
| Pi 5 | 4GB/8GB | Best | Fastest path |
| Pi 4 | 4GB | Good | Practical for most users |
| Pi 4 | 2GB | OK | Works with swap |
| Pi 4 | 1GB | Tight | Minimal config only |
| Pi 3B+ | 1GB | Slow | Works but sluggish |
| Pi Zero 2 W | 512MB | Too small | Not a good Gateway host |
Recommended: 2GB+ RAM, 64-bit OS, 16GB+ SD card (or USB SSD)
What You’ll Need
- Raspberry Pi 4 or 5 (2GB+ recommended)
- MicroSD card (16GB+) or USB SSD (better performance)
- Power supply (official Pi PSU recommended)
- Network connection (Ethernet or WiFi)
- ~30 minutes
1) Flash the OS
Use Raspberry Pi OS Lite (64-bit) — no desktop needed for a headless server.- Download Raspberry Pi Imager
- Choose OS: Raspberry Pi OS Lite (64-bit)
- Click the gear icon (⚙️) to pre-configure:
- Set hostname:
gateway-host - Enable SSH
- Set username/password
- Configure WiFi (if not using Ethernet)
- Set hostname:
- Flash to your SD card / USB drive
- Insert and boot the Pi
2) Connect via SSH
3) System Setup
4) Install Node.js 24 (ARM64)
5) Add Swap (Important for 2GB or less)
Swap prevents out-of-memory crashes:6) Install Fased
Option A: Standard Install (Recommended)
Option B: Hackable Install (For tinkering)
fased command — useful for debugging ARM-specific
issues.
7) Join Tailscale before onboarding
For a headless always-on Pi, put the device on your tailnet before onboarding so ongoing access stays private.8) Run Onboarding
- Gateway mode: Hosting
- Gateway auth: token/password as prompted
- Wallet/mining: optional; skip unless you are setting up wallet policy or SAT mining
- Hosting security: keep access private through Tailscale
- Daemon: Yes (systemd)
9) Verify Installation
10) Access the Control UI
Since the Pi is headless, use an SSH tunnel:Performance Optimizations
Use a USB SSD
SD cards are slow and wear out. A USB SSD improves performance and durability:Reduce Memory Usage
Monitor Resources
ARM-Specific Notes
Binary Compatibility
Most Fased features work on ARM64, but some external binaries may need ARM builds:| Tool | ARM64 Status | Notes |
|---|---|---|
| Node.js | ✅ | Works great |
| WhatsApp channel | ✅ | Pure JS, no issues |
| Telegram | ✅ | Pure JS, no issues |
| gog (Gmail CLI) | ⚠️ | Check for ARM release |
| Chromium (browser) | ✅ | sudo apt install chromium-browser |
32-bit vs 64-bit
Always use 64-bit OS. Node.js and many modern tools require it. Check with:Recommended model setup
Since the Pi is just the Gateway (models run in the cloud), use API-based models. Configure this in Agent > Models. If you need a raw config example:Auto-Start on Boot
Onboarding with--install-daemon sets this up, but to verify:
Troubleshooting
Out of Memory (OOM)
Slow Performance
- Use USB SSD instead of SD card
- Disable unused services:
sudo systemctl disable cups bluetooth avahi-daemon - Check CPU throttling:
vcgencmd get_throttled(should return0x0)
Service Won’t Start
ARM Binary Issues
If a skill fails with “exec format error”:- Check if the binary has an ARM64 build
- Try building from source
- Or use a Docker container with ARM support
WiFi Drops
For headless Pis on WiFi:Cost planning
Actual cost depends on hardware, storage, power, and whether you already own the device. Compare current Pi kit prices against a small VPS before buying hardware only for Fased.See Also
- Linux guide — general Linux setup
- DigitalOcean guide — cloud alternative
- Hetzner guide — Docker setup
- Tailscale — remote access
- Nodes — operator docs for pairing laptop/phone nodes with the Pi gateway