Last edited · 16 revisions  


DRAWS Raspberry Pi image

Download the image file
  • Go to the download site to find the current filename of the image
    • You can get the image using the following or just click on the filename using your browser.
Unzip the image file
Provision an SD card
  • At least an 8GB microSD card is recommended

  • If you need options for writing the image to the SD card ie. you are not running Linux go to the Raspberry Pi documentation page and scroll down to "Writing an image to the SD card"

  • For linux use the Department of Defense Computer Forensics Lab (DCFL) version of dd.

time dcfldd if=current_beta.img of=/dev/sdf bs=4M
  • The reason I time the write is that every so often the write completes in around 2 minutes and I know a good write should take around 11 minutes on my machine.

  • Boot the new microSD card

login: pi
passwd: nwcompass
Configure core functionality
  • Whether you want direwolf for packet functionality or run HF apps with the draws HAT do the following:
cd n7nix/config
sudo su
./ core
  • The above script sets up the following:

    • iptables
    • RPi login password
    • RPi host name
    • mail host name
    • time zone
    • current time via chrony
    • AX.25
    • direwolf
    • systemd
  • Now reboot your RPi & verify your installation is working properly

  • NOTE: the default core config leaves AX.25 & direwolf NOT running & NOT enabled

    • The default config is to run HF applications like js8call, wsjtx and FLdigi
    • If you want to run a packet application or run some tests on the DRAWS board that requires direwolf then enable AX.25/direwolf like this:
cd ~/bin
# As root
  • Now reboot and verify with
ax25-status -d
More program options
  • After confirming that the core functionality works you can configure other packet programs that will use direwolf such as rmsgw, paclink-unix, etc:
./ rmsgw
./ plu

For HAM apps that do NOT use direwolf

  • If you previously ran a packet app and now want to run some other program that does NOT use direwolf like: js8call, wsjtx, FLdigi, then do this:
cd bin
sudo su
  • This will bring down direwolf & all the AX.25 services allowing another program to use the DRAWS sound card.

To Enable the RPi on board audio device

  • uncomment the following line in /boot/config.txt
    • ie. remove the hash character from the beginning of the line.
  • after a reboot verify the RPi sound device has been enumerated by listing all the sound playback hardware devices:
aplay -l
  • Look for a response that looks similar to this:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0