User Tools

Site Tools


ei5iybpastebin2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ei5iybpastebin2 [2022/01/23 22:06] ei5iybei5iybpastebin2 [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:
 {{:rpi_os.png?400|}} {{:rpi_os.png?400|}}
  
-==Raspberry Pi Advanced Hidden Menu==+===== Raspberry Pi Advanced Hidden Menu ======
  
 [[https://www.tomshardware.com/news/raspberry-pi-imager-now-comes-with-advanced-options]] [[https://www.tomshardware.com/news/raspberry-pi-imager-now-comes-with-advanced-options]]
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 /etc/wpa_supplicant/wpa_supplicant.conf       wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  
-=== Set Static IP ===+===== Set Static IP =====
  
 sudo nano /etc/dhcpcd.conf sudo nano /etc/dhcpcd.conf
Line 68: Line 69:
   static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1   static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1
  
-==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://www.marrold.co.uk/2019/04/installing-direwolf-15-on-raspberry-pi.html]] [[https://www.marrold.co.uk/2019/04/installing-direwolf-15-on-raspberry-pi.html]]
-==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://github.com/wb2osz/direwolf   git clone http://github.com/wb2osz/direwolf
Line 85: 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 121: Line 128:
  - Join the discussion forum here:   https://groups.io/g/direwolf  - Join the discussion forum here:   https://groups.io/g/direwolf
  
-==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 165: 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://apps.magicbug.co.uk/passcode/]] [[http://apps.magicbug.co.uk/passcode/]]
  
-==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 178: Line 188:
 {{::direwolf_permission_error.png?400|}} {{::direwolf_permission_error.png?400|}}
  
-==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 196: 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 233: 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 246: Line 257:
      
 And enter the following And enter the following
 +
   if $programname == 'direwolf' then /var/log/direwolf/direwolf.log   if $programname == 'direwolf' then /var/log/direwolf/direwolf.log
   & stop   & stop
-  +
 Then create a logrotate configuration file Then create a logrotate configuration file
   nano /etc/logrotate.d/direwolf   nano /etc/logrotate.d/direwolf
Line 271: Line 283:
   }   }
  
-==Steps to remember on ISO write== +===== Steps to remember after ISO write ===== 
-  1. /etc/direwolf.conf callsign and APRS pass + 
-  2. Change static IP +1. [[#add_dire_wolf_config_for_an_igate|Change callsign and APRS pass]] 
-  3. Change WiFi SSID and pass wpa_passphrase YOUR-SSID YOUR-PASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf+ 
 +2. [[#set_static_ip|Change static IP]] 
 + 
 +3. [[#configure_wifi|Change WiFi SSID and pass]] 
 + 
 +4. [[#change_password|Change pi password]] 
 + 
 +5Remove bash history
      
ei5iybpastebin2.1642975569.txt.gz · Last modified: 2022/01/23 22:06 by ei5iyb