<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Direwolf on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/tags/direwolf/</link><description>Recent content in Direwolf on Andrew's Memory Blog</description><generator>Hugo -- gohugo.io</generator><image><url>https://andrewmemory.acornwall.net/img/rss_image.png</url><title>Direwolf on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/</link></image><language>en</language><managingEditor>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</managingEditor><webMaster>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</webMaster><copyright>Copyright 2009--2025</copyright><lastBuildDate>Sun, 22 Mar 2015 19:55:50 -0700</lastBuildDate><atom:link href="https://andrewmemory.acornwall.net/tags/direwolf/index.xml" rel="self" type="application/rss+xml"/><item><title>Setting up Direwolf/Xastir on a Raspberry Pi</title><link>https://andrewmemory.acornwall.net/blog/2015-03-22-setting-up-direwolfxastir-on-a-raspberry-pi/</link><pubDate>Sun, 22 Mar 2015 19:55:50 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2015-03-22-setting-up-direwolfxastir-on-a-raspberry-pi/</guid><description>&lt;p&gt;A long time ago I &lt;a href="https://andrewmemory.acornwall.net/tags/soundmodem/" &gt;set up Soundmodem&lt;/a&gt; for Ubuntu. Recently, I tried setting up an igate using WB2OSZ&amp;rsquo;s &lt;a href="https://github.com/wb2osz/direwolf/" target="_blank" rel="noreferrer"&gt;Direwolf&lt;/a&gt; instead. Things are much nicer these days.&lt;/p&gt;
&lt;p&gt;The Direwolf site includes a very nice guide to &lt;a href="https://github.com/wb2osz/direwolf/blob/master/doc/Raspberry-Pi-APRS.pdf" target="_blank" rel="noreferrer"&gt;setting up a Raspberry Pi as an igate&lt;/a&gt;, so I won&amp;rsquo;t go over it here. Instead, this is just to record the steps I took to set up my Raspberry Pi v2 as an igate server.&lt;/p&gt;
&lt;p&gt;1. &lt;a href="https://andrewmemory.acornwall.net/blog/2015-02-26-setting-up-raspbian-on-a-pi/" &gt;Set up the Raspberry Pi to run Raspbian&lt;/a&gt;&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Follow along with the setup guide:&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;sudo apt-get remove --purge pulseaudio # I didn&amp;#39;t need to do this since it wasn&amp;#39;t installed, but better safe than sorry
sudo apt-get install libasound2-dev xastir # Note that I&amp;#39;m installing xastir at the same time - this is different from the direwolf guide
cd ~
git clone https://www.github.com/wb2osz/direwolf
cd direwolf
git checkout 1.2
make
sudo make install
make install-rpi
make install-conf&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;Next, make sure the sound card is plugged into USB (I used the bottom slot). When I plugged it in, the system rebooted, so it&amp;rsquo;s probably smart to shut down before plugging the sound card in. For a sound card, I used the &lt;a href="www.amazon.com/Syba-SD-CM-UAUD-Adapter-C-Media-Chipset/dp/B001MSS6CS" &gt;Syba SD-CM-UAUD USB Stereo Audio Adapter, C-Media Chipset from Amazon&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From there, run &lt;code&gt;aplay -l&lt;/code&gt; to see: &lt;code&gt;card 1: Device [C-Media USB Audio Device], device 0: USB Audio [USB Audio]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Now I know the device is card 1 device 0. We&amp;rsquo;re almost ready to edit direwolf.conf. First, though - something that wasn&amp;rsquo;t documented on the Direwolf site. Igates need a secret code so they can log into the tier 2 servers. It&amp;rsquo;s based on your callsign, and there&amp;rsquo;s a utility called callpass in Xastir that will compute it for you. &lt;code&gt;callpass {my-real-call}&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This gives you a 5 or 6 digit integer that you should remember. I&amp;rsquo;ll call it {my-code}.&lt;/p&gt;
&lt;p&gt;Now edit direwolf.conf:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;uncomment ADEVICE plughw:1,0 - if you got a different number from aplay above, you might have to modify it.&lt;/li&gt;
&lt;li&gt;change MYCALL NOCALL to MYCALL {my-real-call}-10. I used -10 because that&amp;rsquo;s the APRS SSID for igates. (&lt;a href="http://aprs.org/aprs11/SSIDs.txt" target="_blank" rel="noreferrer"&gt;APRS SSIDs are documented here&lt;/a&gt;.) In the direwolf.conf that I got, the NOCALL had a ^J after it; I had to take that out&lt;/li&gt;
&lt;li&gt;uncomment IGSERVER noam.aprs2.net (maybe use a different server if you&amp;rsquo;re not in North America)&lt;/li&gt;
&lt;li&gt;uncomment IGLOGIN and change it to IGLOGIN {my-real-call} {my code}&lt;/li&gt;
&lt;li&gt;direwolf&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Yay, you&amp;rsquo;re igating. But what&amp;rsquo;s around? Set up Xastir for that:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;xastir&lt;/li&gt;
&lt;li&gt;In the first menu that comes up, set your callsign to {my-real-call}-10 and (if desired) set your lat/long/position ambiguity&lt;/li&gt;
&lt;li&gt;Interface -&amp;gt; Interface Control, Add, Networked AGWPE, Add. Leave Pass-code blank, save and Start. Now you&amp;rsquo;re getting APRS from over the air displayed on your Xastir maps.&lt;/li&gt;
&lt;li&gt;Not enough for you? Interface -&amp;gt; Interface Control, Add, Internet Server, Add. Set Pass-code to {my-code}, save and Start. Now you&amp;rsquo;re getting APRS from the network as well.&lt;/li&gt;
&lt;li&gt;Want to see it on maps? I wasn&amp;rsquo;t able to get all the maps going, but things worked when I picked Maps -&amp;gt; Map Chooser and selected only Online/osm_tiled_mapnik.geo and worldhi.map.&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>