Last edited · 20 revisions  


DRAWS Raspberry Pi image

Provision the micro SD Card

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 a 16GB 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, dcfldd.

    • You can ruin the drive on the machine you are using if you do not get the output device (of=) correct. ie. below /dev/sdf is just an example.
    • There are good notes here for Discovering the SD card mount point

      # Become root
      sudo su
      apt-get install dcfldd
      time (dcfldd if=current_beta.img of=/dev/sdf bs=4M status=progress; sync)
      # Doesn't hurt to run sync twice
  • 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

Initial Configuration

Configure core functionality
  • Whether you want direwolf for packet functionality or run HF apps with the draws HAT do the following:
cd n7nix/config
# Become root
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
First Reboot After Initial Configuration
  • 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 are not interested in packet and want to run an HF app then go ahead & do that now.
    • 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
      # Become root
      sudo su
Second Reboot to enable packet
  • Now reboot and verify by running:

    ax25-status -d
More Packet 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:
cd n7nix/config
# Become root
sudo su
# If you want to run a Linux RMS Gateway
./ rmsgw
# If you want to send & receive Winlink messages
./ 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
# Become root
sudo su
  • This will stop direwolf & all the AX.25 services allowing another program to use the DRAWS sound card.

To Enable the RPi on board audio device

  • As root 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