PagermonPi Image For Raspberry Pi - pagermon/pagermon GitHub Wiki
Prerequisites
- Raspberry Pi 3 or 4 - Raspberry Pi 3 or 4
- SD Card - SD Card at least 16GB in size
- SD Card Reader - SD Card Reader
- WinRAR
Getting Started
- Download the latest PagermonPi Image from Pagermon Releases page
- Extract file onto your PC using WinRAR
- Burn .img file onto SD Card using your favorite image writing software eg. Win32DiskImager(Windows), Balena Etcher (Linux/Mac)
- Insert SD Card into your Raspberry Pi
- Boot Pi
Logging Into PagermonPi
You can login via SSH or Console using the following details
Username: pi
Password: raspberry
Setting Up PagermonPi
Expand the partition to the full size
- Type
sudo raspi-config
terminal - Select option
7 - Advanced Options
- Select option
A1 - Expand Filesystem
- Press
Escape
to exit - Type
sudo shutdown -r now
Pi will now reboot and will now be the whole size of your SD Card
Changing Pi Password
- Type
passwd
- Enter current password
raspberry
- Enter new password x2
Password is now changed
Updating Apt
- Type
sudo apt update
- Type
sudo apt -y upgrade
Wait till this is finished
Running Pagermon Server
- Type
cd ~/pagermon/server/
to make sure your in the right directory - Type
pm2 start process.json
- Type
pm2 save
- Type
sudo pm2 startup
- Type
pm2 status
to check Pagermon Server is running
Accessing Pagermon via Web
- Open your browser on your PC on the network and browse to http://(PagermonPi IP):3000
If you don't know the Ip then type
ifconfig
and look for eth0(Lan) or wlan0(Wireless) - Default credentials are 'admin' / 'changeme'
- Head to /admin, change your password, and generate some API keys
Grab your API keys and drop them in the Pagermon Client Config, then you're good to go!
Setting up and configuring Pagermon Client
- Type
cd ~/pagermon/client/
- Move into the client config directory by typing
cd ~/pagermon/client/config/
- Copy default.json to config.json using
cp default.json config.json
- edit config.json with your favorite editor eg
nano config.json
{
"apikey": "**changeme**",
"hostname": "**http://127.0.0.1:3000**",
"identifier": "**TEST**"
}
- change the things in ** **, see below for a description of each setting
apikey = This is the API key you will have to generate in the Admin/Settings Page eg. http://serverip/admin/settings (Delete the two test ones and add a new one)
hostname = The host name or IP of the Pagermon server (If you run Pagermon Server and Client on same PC then you can put this as http://127.0.0.1:3000
identifier = This will show up in the source column on the server web page good for when you have multiple sources and want to know which one the pager message is coming from
- Type
cd ~/pagermon/client/
- Edit reader.sh
nano reader.sh
and edit frequency and rtl_device number
rtl_fm **-d 0** -E dc -F 0 -A fast -f **148.5875M** -s22050 - |
multimon-ng -q -b1 -c -a POCSAG512 -f alpha -t raw /dev/stdin |
node reader.js
-d 0 - change this to your rtl_device number using rtl_test ( If you only have one SDR attached - this is usually 0)
-f 148.5875M - change this to the frequency you are decoding
Running Pagermon Client
- Type
cd ~/pagermon/client/
- Type
pm2 start reader.sh
- Type
pm2 save
- Type
pm2 startup
- Type
pm2 status
to check Pagermon Client is running
Pagermon Client is now running.