ei5iybpastebin2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ei5iybpastebin2 [2022/01/23 21:58] – ei5iyb | ei5iybpastebin2 [2022/01/23 23:11] (current) – ei5iyb | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====Raspberry Pi===== | + | ====== Raspberry Pi ====== |
Headless operating system | Headless operating system | ||
Line 5: | Line 6: | ||
{{: | {{: | ||
- | ==Raspberry Pi Advanced Hidden Menu== | + | ===== Raspberry Pi Advanced Hidden Menu ====== |
[[https:// | [[https:// | ||
Line 15: | Line 16: | ||
I found that this only works if you have on-board WiFi | I found that this only works if you have on-board WiFi | ||
- | ==Defaults== | + | ===== Defaults |
Default user: pi | Default user: pi | ||
Default password: raspberry | Default password: raspberry | ||
- | ==Change password== | + | ===== Change password |
sudo passwd pi | sudo passwd pi | ||
- | ==Enable SSH== | + | ===== Enable SSH ===== |
sudo raspi-config | sudo raspi-config | ||
Line 29: | Line 30: | ||
Interface Options --> P2 SSH | Interface Options --> P2 SSH | ||
- | ==Configure WiFi== | + | ===== Configure WiFi ===== |
sudo raspi-config | sudo raspi-config | ||
Line 57: | Line 58: | ||
wpa-conf / | wpa-conf / | ||
- | ==Set Static IP== | + | ===== Set Static IP ===== |
sudo nano / | sudo nano / | ||
Line 67: | Line 69: | ||
static domain_name_servers=192.168.0.1 8.8.8.8 fd51: | static domain_name_servers=192.168.0.1 8.8.8.8 fd51: | ||
- | ==Update apt== | + | ===== Update apt ===== |
apt-get update | apt-get update | ||
apt-get upgrade | apt-get upgrade | ||
- | ===Get Dire Wolf=== | + | ===== Get Dire Wolf ===== |
- | ==Guide by 2E0SIP== | + | |
+ | ===== Guide by 2E0SIP ===== | ||
[[https:// | [[https:// | ||
- | ==Update Dependencies== | + | |
+ | ===== Update Dependencies ===== | ||
apt-get install git build-essential libasound2-dev libudev-dev alsa-utils rsyslog logrotate gpsd libgps-dev | apt-get install git build-essential libasound2-dev libudev-dev alsa-utils rsyslog logrotate gpsd libgps-dev | ||
- | ==Get Dire Wolf Source Code and build it== | + | |
+ | ===== Get Dire Wolf Source Code and build it ===== | ||
cd /usr/src | cd /usr/src | ||
git clone http:// | git clone http:// | ||
Line 84: | Line 91: | ||
make | make | ||
make install | make install | ||
- | ==From Direwolf documentation== | + | |
+ | ===== From Direwolf documentation | ||
The build procedure has changed in version 1.6. | The build procedure has changed in version 1.6. | ||
Line 120: | Line 128: | ||
- Join the discussion forum here: | - Join the discussion forum here: | ||
- | ==Add Dire Wolf Config for an IGate== | + | ===== Add Dire Wolf Config for an IGate ===== |
Place Dire wolf config in | Place Dire wolf config in | ||
Line 164: | Line 172: | ||
# messages from the local radio channel to the global servers. | # messages from the local radio channel to the global servers. | ||
| | ||
- | == Get APRS passcode== | + | ===== Get APRS passcode ===== |
[[http:// | [[http:// | ||
- | ==Create the direwolf user== | + | ===== Create the direwolf user ===== |
adduser --system --no-create-home --group direwolf | adduser --system --no-create-home --group direwolf | ||
| | ||
- | ==Add direwolf user to the audio group== | + | ===== Add direwolf user to the audio group ===== |
usermod -g audio -G audio direwolf | usermod -g audio -G audio direwolf | ||
| | ||
Line 177: | Line 188: | ||
{{:: | {{:: | ||
- | ==Maybe a good time to install RTL-SDR== | + | ===== Maybe a good time to install RTL-SDR |
sudo apt-get update | sudo apt-get update | ||
Line 195: | Line 206: | ||
rtl_test | rtl_test | ||
| | ||
- | ==Starting Direwolf on boot== | + | ===== Starting Direwolf on boot ===== |
Next we need to create a systemd service so direwolf starts on boot. We also redirect stdout and stderr to syslog, so we can treat it as a log file. | Next we need to create a systemd service so direwolf starts on boot. We also redirect stdout and stderr to syslog, so we can treat it as a log file. | ||
Line 232: | Line 244: | ||
systemctl enable systemd-networkd-wait-online | systemctl enable systemd-networkd-wait-online | ||
| | ||
- | ==Configure Logging== | + | == Configure Logging == |
Earlier we configured the direwolf systemd service file to redirect all stdout and stderr to syslog. So it's easier to read we need to redirect the log entries to their own file. | Earlier we configured the direwolf systemd service file to redirect all stdout and stderr to syslog. So it's easier to read we need to redirect the log entries to their own file. | ||
Line 245: | Line 257: | ||
| | ||
And enter the following | And enter the following | ||
+ | |||
if $programname == ' | if $programname == ' | ||
& stop | & stop | ||
- | | + | |
Then create a logrotate configuration file | Then create a logrotate configuration file | ||
nano / | nano / | ||
Line 270: | Line 283: | ||
} | } | ||
- | ==Steps to remember | + | ===== Steps to remember |
- | 1. / | + | |
- | 2. Change static IP | + | 1. [[# |
- | 3. Change WiFi SSID and pass | + | |
+ | 2. [[# | ||
+ | |||
+ | 3. [[# | ||
+ | |||
+ | 4. [[# | ||
+ | |||
+ | 5. Remove bash history | ||
| |
ei5iybpastebin2.1642975123.txt.gz · Last modified: 2022/01/23 21:58 by ei5iyb