{"id":1472,"date":"2024-04-11T15:29:10","date_gmt":"2024-04-11T22:29:10","guid":{"rendered":"https:\/\/ad6dm.net\/log\/?p=1472"},"modified":"2024-04-11T22:08:19","modified_gmt":"2024-04-12T05:08:19","slug":"vara-fm-packet-dual-mode-winlink-gateway-in-linux","status":"publish","type":"post","link":"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/","title":{"rendered":"VARA FM \/ Packet Dual-Mode Winlink Gateway in Linux"},"content":{"rendered":"<p>As you might have read earlier in this blog, I put up a <a href=\"https:\/\/ad6dm.net\/log\/2021\/10\/ad6dm-10-vhf-winlink-rms-gateway-is-on-the-air\/\">VARA FM \/ packet VHF dual-mode Winlink Gateway AD6DM-10<\/a> at the tail end of 2021. This system is still going, through both a Windows Update-induced <a href=\"https:\/\/x.com\/AD6DM\/status\/1659250377659645957\" target=\"_blank\" rel=\"noopener\">tiny PC death<\/a>, and more recently, a <a href=\"https:\/\/x.com\/AD6DM\/status\/1773194276869980367\" target=\"_blank\" rel=\"noopener\">bloated aging laptop battery<\/a>. It runs on Windows 10, and is currently on an Evolve III &#8220;<a href=\"https:\/\/twitter.com\/search?q=%23jankapotamus&amp;src=typed_query&amp;f=top\" target=\"_blank\" rel=\"noopener\">jankapotamus<\/a>&#8221; laptop. Moreover, I managed to fry my <a href=\"https:\/\/x.com\/AD6DM\/status\/1692958582218609040\" target=\"_blank\" rel=\"noopener\">Windows 10 ruggedized tablet that I got from Huntsville Hamfest last year<\/a>. (I thought I was trying a safe voltage while testing a barrel plug, but after 2 seconds I heard a pop and then saw the magic smoke.)<\/p>\n<p>Anyway, with the latest problems with these PCs, though not related to Windows, I decided it was a great chance to find a replacement system and use an operating system that is known for uptime and reliability: Linux.<\/p>\n<figure id=\"attachment_1474\" aria-describedby=\"caption-attachment-1474\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1474\" data-permalink=\"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/img_7840\/\" data-orig-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?fit=2560%2C1440&amp;ssl=1\" data-orig-size=\"2560,1440\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_7840\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?fit=1024%2C576&amp;ssl=1\" class=\"wp-image-1474 size-medium\" src=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840.jpg?resize=300%2C169&#038;ssl=1\" alt=\"Two jankapotamus laptops, super cheap, and used.\" width=\"300\" height=\"169\" srcset=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?resize=2048%2C1152&amp;ssl=1 2048w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7840-scaled.jpg?w=2320&amp;ssl=1 2320w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1474\" class=\"wp-caption-text\">Two used Maestro Evolve Laptops booting up for the first time.<\/figcaption><\/figure>\n<p>I wanted to buy a replacement laptop. At first I looked at the &#8220;<a href=\"https:\/\/community.emcommtools.com\/faq\/supported-equipment.html\" target=\"_blank\" rel=\"noopener\">ruggedized<\/a>&#8221; ones, and the <a href=\"https:\/\/www.youtube.com\/watch?v=r22xilag_9A\" target=\"_blank\" rel=\"noopener\">MS Surface<\/a> laptops, due to various hams who talk about them a lot. In the end, I couldn&#8217;t move myself to hit the &#8220;buy&#8221; button for the several hundred dollars these kinds of laptops cost (with all the needed peripherals), especially as an experimental project. So I ended up with two used Maestro Evolve III laptops on eBay for $95.00 + tax.<\/p>\n<p>Almost immediately after sharing about these replacements on Twitter, people came out of the woodwork and started recommending Linux. But little did they know, I already wiped one of them and installed <a href=\"https:\/\/linuxmint-installation-guide.readthedocs.io\/en\/latest\/install.html\" target=\"_blank\" rel=\"noopener\">Linux Mint on it via USB drive install<\/a>.<\/p>\n<p>Linux Mint is a flavor of Ubuntu that I had not tried yet, but have been hearing people liked and\/or use more. I thought I&#8217;d give it a try, and after playing with it for a few minutes I realized I liked the user interface a lot.<\/p>\n<p>Standing on the shoulders of giants, I then went on to <a href=\"https:\/\/github.com\/km4ack\/73Linux\" target=\"_blank\" rel=\"noopener\">KM4ACK&#8217;s 73 Linux<\/a> scripts which is the latest incarnation of his years-long project at digital ham radio and computing called &#8220;Build-a-Pi&#8221;. I&#8217;ve passively monitored the developments of Build-a-Pi and 73 Linux since the beginning, but never really delved into the deeper-most parts of it. Now was a great time to jump in, now that <a href=\"https:\/\/www.youtube.com\/watch?v=zxEeJZctKaE\" target=\"_blank\" rel=\"noopener\">VARA FM was shown to be working in a Linux environment<\/a>. I cannot thank Jason enough for his selfless and steadfast work in making digital ham radio more accessible to the ham radio community.<\/p>\n<p>With this foundation, I was all set and ready to script my way into hopes and daydreams of elegant linux reliability. It would JustWork\u2122 right? Wrong&#8230;<\/p>\n<p>Almost immediately I discovered that any one app using the <a href=\"https:\/\/digirig.net\/product\/digirig-mobile\/\" target=\"_blank\" rel=\"noopener\">digirig<\/a> sound card would get an exclusive lock on the it and ban any other process or application from accessing it. I couldn&#8217;t wrap my head around this. So I couldn&#8217;t launch <a href=\"https:\/\/packet-radio.net\/direwolf\/\" target=\"_blank\" rel=\"noopener\">direwolf<\/a> (packet soft-modem) and <a href=\"https:\/\/rosmodem.wordpress.com\/\" target=\"_blank\" rel=\"noopener\">VARA FM<\/a> at the same time?? Preposterous! No one else has had this problem? Hams seriously only ran one app at a time?? Come on!<\/p>\n<p>I thought my problem was just with <a href=\"https:\/\/www.winehq.org\/\" target=\"_blank\" rel=\"noopener\">Wine<\/a>, but it seemed to be true for any other native linux app. The problem was with <a href=\"https:\/\/en.wikipedia.org\/wiki\/Advanced_Linux_Sound_Architecture\" target=\"_blank\" rel=\"noopener\">ALSA<\/a>, linux&#8217;s low-level sound system, and how it&#8217;s implemented. Various contributors have created methods for dealing with this issue: Jack (obsolete), Pulseaudio, and Pipewire (newest). All of those require extensive hacks for apps to see their interfaces, and they may not work.<\/p>\n<figure id=\"attachment_1481\" aria-describedby=\"caption-attachment-1481\" style=\"width: 300px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1481\" data-permalink=\"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/screenshot-from-2024-04-07-11-39-22\/\" data-orig-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?fit=1366%2C768&amp;ssl=1\" data-orig-size=\"1366,768\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2024-04-07 11-39-22\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?fit=1024%2C576&amp;ssl=1\" class=\"wp-image-1481 size-medium\" src=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?resize=300%2C169&#038;ssl=1\" alt=\"VARA FM working within linux\" width=\"300\" height=\"169\" srcset=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-07-11-39-22.png?w=1366&amp;ssl=1 1366w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1481\" class=\"wp-caption-text\">VARA FM talking to VARA FM on my old AD6DM-10 gateway, getting good SNR.<\/figcaption><\/figure>\n<p>The answers came when I reached out to the very active and responsive <a href=\"https:\/\/forum.digirig.net\" target=\"_blank\" rel=\"noopener\">digirig forum<\/a>. The winning answers <a href=\"https:\/\/forum.digirig.net\/t\/anyone-got-a-dual-vara-fm-direwolf-packet-gateway-linux\/3439\" target=\"_blank\" rel=\"noopener\">came from AG7GN<\/a>, who shared his own <a href=\"https:\/\/forum.digirig.net\/t\/help-unable-to-select-digirig-after-rpi-4-update\/1492\" target=\"_blank\" rel=\"noopener\">ALSA hacks<\/a> for running JS8Call and fldigi at the same time. With his hacks I was able to get things like they worked on my old Windows gateway. (I did have to do <a href=\"https:\/\/forum.digirig.net\/t\/anyone-got-a-dual-vara-fm-direwolf-packet-gateway-linux\/3439\/7?u=ad6dm\" target=\"_blank\" rel=\"noopener\">something extra in Wine<\/a>, also a tip from AG7GN, in order to <a href=\"https:\/\/forum.digirig.net\/uploads\/default\/original\/2X\/4\/461bc509701806fec120d709404672cc6a009d66.jpeg\" target=\"_blank\" rel=\"noopener\">get VARA FM to respect the new ALSA plugs<\/a>.)<\/p>\n<p>The other side of my journey was setting up <a href=\"https:\/\/www.cantab.net\/users\/john.wiseman\/Documents\/InstallingLINBPQ.html\" target=\"_blank\" rel=\"noopener\">linbpq<\/a>, which was to take the place of Windows&#8217; <a href=\"https:\/\/www.winlink.org\/content\/rms_packet\" target=\"_blank\" rel=\"noopener\">RMS Packet sysop software<\/a>. BPQ would serve to tie all the modems together and route the calling client to Winlink&#8217;s email servers for mail sending and retrieval. I have run BPQ32 in Windows in the past, a failed attempt at making a BBS in 2021, but it is a cryptic piece of software. I was always guessing when I had to enter values for variables such as: NODECALL, CMSCALL, PORTCALL, Application SSID, CMS user, and the like.<\/p>\n<p>The thing is, it would work for VARA FM, but not for packet. No matter what variation I tried, packet would just sit and acknowledge the connection and then do nothing. It never would bounce me to the Winlink mail servers and pick up mail. I was so ready to give up, once again.<\/p>\n<p>The <a href=\"https:\/\/groups.io\/g\/bpq32\/topic\/105396644#41178\" target=\"_blank\" rel=\"noopener\">answers came after another day of frustration from none other than John G8BPQ<\/a>, the creator of BPQ. The BPQ forum on Groups.io is a very responsive forum, and people just seem to automatically know when something&#8217;s off in a config file you share.<\/p>\n<p>I now have a drop-in replacement in Linux for my <a href=\"https:\/\/aprs.fi\/#!z=11&amp;call=a%2FAD6DM-10&amp;timerange=3600&amp;tail=3600\" target=\"_blank\" rel=\"noopener\">Winlink gateway<\/a>. When I first thought about this a few years ago, and even recently during the many tests and restarts, I didn&#8217;t think it was possible to have a dual-mode linux gateway due to: 1) VARA FM as Windows-only (which Jason solved in 73 Linux), 2) Winlink dev team support for linux (turns out they support linbpq as a CMS relay), and 3) Linux soundcard issues, of which there always seems to be a hack someone figured out.<\/p>\n<p>So now I have a way of creating a lean Winlink gateway that doesn&#8217;t rely on a randomly updating\/rebooting bloated OS and doesn&#8217;t <a href=\"https:\/\/www.amazon.com\/Age-Surveillance-Capitalism-Future-Frontier\/dp\/1610395697\" target=\"_blank\" rel=\"noopener\">phone home telling some company all my clickstream and activity<\/a>. It&#8217;s perfectly happy to run on 4GB of RAM and 64GB of hard drive space. And more than that, it&#8217;s just plain cool!<\/p>\n<p>All during this time I was DM&#8217;ing KM4ACK with my questions and frustrated rants. He was super patient and helpful. As a last step, we tackled having the applications start gracefully from reboot. This, too, had its debug sessions as we found that simple reboot cronjob would lead to a frozen VARA FM and\/or a crashed direwolf. We arrived at different solutions that centered around the same idea: Set proper start delay timing. Jason used <a href=\"https:\/\/app.simplenote.com\/publish\/kHm1xg\" target=\"_blank\" rel=\"noopener\">tmux startup commands<\/a> in a script with 1 minute start delay while I did everything within the Linux Mint Startup Applications GUI. Both seem to work well and are stable.<\/p>\n<p>And before people start telling or asking me about Raspberry Pi, let me say that Wine (and therefore VARA FM) on Pi requires (as of this writing) <a href=\"https:\/\/forum.winehq.org\/viewtopic.php?t=38264&amp;sid=c94a386d0c548f036de870be37b7dbbf\" target=\"_blank\" rel=\"noopener\">adding another layer of emulation (arm to x86)<\/a>. That and the number of failed microSD cards I&#8217;ve experienced (too many to count), and no thanks! Don&#8217;t even want to try it. No, I won&#8217;t buy a new dongle or board for a SSD. No, I won&#8217;t run VNC on a tablet or extra computer to access the tiny SBC pi. I want a compact self-contained computer, not an octopus of dongles, pins, and peripherals. The laptop only cost me $45.99, and I get a free keyboard and monitor with it!<\/p>\n<p>In summary, Many years ago I didn&#8217;t think such a system would be possible in linux. There was always a compromise like &#8220;who needs VARA anyway? Packet is the way.&#8221; Fast-forward to the time of this writing and I was expecting this journey to be something many had gone through already. I did not anticipate the difficulty I would encounter to duplicate a conceptually simple dual-mode Windows RMS gateway. But it seems this is pioneering ground. Everyone just defaults to Windows apps and puts up with the Windows reboots, hoping their remote EMCOMM stations don&#8217;t need a visit due to an unresponsive machine. It is my hope that people will look more to linux and make robust solutions with this resource-friendly, privacy-respecting, efficient and reliable OS.<\/p>\n<figure id=\"attachment_1483\" aria-describedby=\"caption-attachment-1483\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1483\" data-permalink=\"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/img_7854\/\" data-orig-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?fit=2560%2C1524&amp;ssl=1\" data-orig-size=\"2560,1524\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_7854\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The new Jankapotamus Linux Mint machine hooked up to the 857 manpack.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?fit=1024%2C610&amp;ssl=1\" class=\"wp-image-1483 size-large\" src=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854.jpg?resize=1024%2C610&#038;ssl=1\" alt=\"The jankapotamus linux machine hooked up to the 857 manpack.\" width=\"1024\" height=\"610\" srcset=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?resize=1024%2C610&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?resize=768%2C457&amp;ssl=1 768w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?resize=1536%2C914&amp;ssl=1 1536w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?resize=2048%2C1219&amp;ssl=1 2048w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/IMG_7854-scaled.jpg?w=2320&amp;ssl=1 2320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-1483\" class=\"wp-caption-text\">The new Jankapotamus Linux Mint machine hooked up to the 857 manpack.<\/figcaption><\/figure>\n<p>KM4ACK and I plan to talk about this on a Hamdom Thoughts livestream this Sunday 4\/14\/2024 on <a href=\"https:\/\/youtube.com\/c\/AD6DMDennis\">my YouTube channel<\/a>.<\/p>\n<p>For some final code and configuration snippets on my setups, check out these links:<\/p>\n<ul>\n<li>direwolf.conf for a digirig sound device: <a href=\"https:\/\/gist.github.com\/denmojo\/1a28431e72604d081efd272696f36ca2\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/denmojo\/1a28431e72604d081efd272696f36ca2<\/a><\/li>\n<li>ALSA hack to expose multi-app access to USB sound device:<a href=\"https:\/\/gist.github.com\/denmojo\/22be858a88ee7dd736479476105309b9\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/denmojo\/22be858a88ee7dd736479476105309b9<\/a><\/li>\n<li>Registry edits to Wine to see ALSA PCM plugs instead of just hardware interfaces: <a href=\"https:\/\/gist.github.com\/denmojo\/2cac118ae79ecee610d70bbad3a11dda\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/denmojo\/2cac118ae79ecee610d70bbad3a11dda<\/a><\/li>\n<li>bpq32.cfg configuration: <a href=\"https:\/\/gist.github.com\/denmojo\/afb667bba6607a712be99f17bc506be1\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/denmojo\/afb667bba6607a712be99f17bc506be1<\/a><\/li>\n<li>In Wine, I made sure to do <a href=\"https:\/\/www.youtube.com\/watch?v=iYYRTu6myRc\" target=\"_blank\" rel=\"noopener\">KM4ACK&#8217;s wine regedit<\/a> to set the COM port for VARA FM PTT. I set it to COM9.<\/li>\n<\/ul>\n<figure id=\"attachment_1496\" aria-describedby=\"caption-attachment-1496\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1496\" data-permalink=\"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/screenshot-from-2024-04-11-21-45-05\/\" data-orig-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?fit=1366%2C768&amp;ssl=1\" data-orig-size=\"1366,768\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2024-04-11 21-45-05\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Regedit for VARA FM COM port.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?fit=1024%2C576&amp;ssl=1\" class=\"wp-image-1496 size-large\" src=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?resize=1024%2C576&#038;ssl=1\" alt=\"Regedit for VARA FM COM port.\" width=\"1024\" height=\"576\" srcset=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-45-05.png?w=1366&amp;ssl=1 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-1496\" class=\"wp-caption-text\">Regedit for VARA FM COM port.<\/figcaption><\/figure>\n<p>Please note that during all of this I also used &#8216;<strong>alsamixer<\/strong>&#8216; in a terminal to make sure Automatic Gain Control was off, and &#8216;<strong>pavucontrol-qt<\/strong>&#8216; to tweak the sound input and output levels on the USB Sound Device to reach optimal levels for the radio. That and the Auto-Tune function of VARA FM allowed me to get the best levels for talking to nearby stations. Packet seemed to work well with these sane audio settings.<\/p>\n<figure id=\"attachment_1497\" aria-describedby=\"caption-attachment-1497\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1497\" data-permalink=\"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/screenshot-from-2024-04-11-21-55-42\/\" data-orig-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?fit=1366%2C768&amp;ssl=1\" data-orig-size=\"1366,768\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2024-04-11 21-55-42\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;alsamixer to turn off AGC.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?fit=1024%2C576&amp;ssl=1\" class=\"size-large wp-image-1497\" src=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?resize=1024%2C576&#038;ssl=1\" alt=\"alsamixer to turn off AGC.\" width=\"1024\" height=\"576\" srcset=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-55-42.png?w=1366&amp;ssl=1 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-1497\" class=\"wp-caption-text\">alsamixer to turn off AGC.<\/figcaption><\/figure>\n<p><a href=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1498\" data-permalink=\"https:\/\/ad6dm.net\/log\/2024\/04\/vara-fm-packet-dual-mode-winlink-gateway-in-linux\/screenshot-from-2024-04-11-21-37-30\/\" data-orig-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?fit=1366%2C768&amp;ssl=1\" data-orig-size=\"1366,768\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot from 2024-04-11 21-37-30\" data-image-description=\"&lt;p&gt;pavucontrol-qt to set sane sound levels.&lt;\/p&gt;\n\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?fit=1024%2C576&amp;ssl=1\" class=\"aligncenter size-large wp-image-1498\" src=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?resize=1024%2C576&#038;ssl=1\" alt=\"pavucontrol-qt to set sane sound levels.\" width=\"1024\" height=\"576\" srcset=\"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2024\/04\/Screenshot-from-2024-04-11-21-37-30.png?w=1366&amp;ssl=1 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>As with all digital ham radio endeavors, be prepared for a lot of tweaking and testing. It&#8217;s a long chain of spells you must cast, each one just right, for the magic to happen. It will take the help of others at times, but in the end, it will be glorious.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was all set and ready to script my way into hopes and daydreams of elegant linux reliability. It would JustWork\u2122 right? Wrong&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,52],"tags":[16,71,50,28,70],"class_list":["post-1472","post","type-post","status-publish","format-standard","hentry","category-digital","category-project","tag-computer","tag-linux","tag-offgrid","tag-vhf","tag-winlink"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9naFX-nK","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1219,"url":"https:\/\/ad6dm.net\/log\/2021\/10\/ad6dm-10-vhf-winlink-rms-gateway-is-on-the-air\/","url_meta":{"origin":1472,"position":0},"title":"AD6DM-10 VHF Winlink RMS Gateway is on the Air","author":"AD6DM","date":"October 30, 2021","format":false,"excerpt":"Winlink RMS Gateway AD6DM-10 is up, and serving the ham community. After collecting parts of this system for a few weeks, it is operational on 145.630 MHz in CM98hj. It is comprised of: An Alinco DR-135T VHF 2 meter transceiver set to 20 watts power An Arrow OSJ J-Pole up\u2026","rel":"","context":"With 4 comments","block_context":{"text":"With 4 comments","link":"https:\/\/ad6dm.net\/log\/2021\/10\/ad6dm-10-vhf-winlink-rms-gateway-is-on-the-air\/#comments"},"img":{"alt_text":"A non-branded mini-PC windows computer","src":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2021\/10\/IMG_2151-300x225.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":684,"url":"https:\/\/ad6dm.net\/log\/2018\/12\/projects-2018\/","url_meta":{"origin":1472,"position":1},"title":"Projects 2018","author":"AD6DM","date":"December 31, 2018","format":false,"excerpt":"This past year was an eventful ham radio one. As I begin to look ahead to goals and daydreams of 2019, it's always good to not expect the past to be the norm, but to take a moment and appreciate all the stuff that's happened good and bad. Thinking back,\u2026","rel":"","context":"In &quot;Elmer&quot;","block_context":{"text":"Elmer","link":"https:\/\/ad6dm.net\/log\/category\/elmer\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/12\/Southwest_050216.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/12\/Southwest_050216.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/12\/Southwest_050216.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":474,"url":"https:\/\/ad6dm.net\/log\/2018\/04\/sent-first-sstv-image\/","url_meta":{"origin":1472,"position":2},"title":"Sent first SSTV image","author":"AD6DM","date":"April 4, 2018","format":false,"excerpt":"Using\u00a0SSTV for iOS\u00a0on my phone and a\u00a0BTECH APRS-K1 Audio Interface Cable\u00a0(albeit connected to a Kenwood TH-D74A), I just sent my first SSTV image on 145.510 MHz FM simplex. I don't think anyone heard, but it was a proof of concept exercise. I recorded the transmission on a separate handheld, using\u2026","rel":"","context":"In &quot;Digital&quot;","block_context":{"text":"Digital","link":"https:\/\/ad6dm.net\/log\/category\/digital\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":443,"url":"https:\/\/ad6dm.net\/log\/2018\/03\/choosing-the-next-rig\/","url_meta":{"origin":1472,"position":3},"title":"Choosing the Next Rig","author":"AD6DM","date":"March 17, 2018","format":false,"excerpt":"In my quest to find the next portable rig (I already decided), I made a comparison sheet with stats about the various rigs I was considering. Here is my portable rig matrix (including handhelds). Hopefully this list could be of help to others. \ufeff\ufeff Bear in mind, I had specific\u2026","rel":"","context":"In &quot;Antennas&quot;","block_context":{"text":"Antennas","link":"https:\/\/ad6dm.net\/log\/category\/antennas\/"},"img":{"alt_text":"New RS-918SSB","src":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/03\/IMG_5734-1024x768.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/03\/IMG_5734-1024x768.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/03\/IMG_5734-1024x768.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2018\/03\/IMG_5734-1024x768.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":85,"url":"https:\/\/ad6dm.net\/log\/2017\/10\/found-a-beacon-on-2m\/","url_meta":{"origin":1472,"position":4},"title":"Found a Beacon on 2m","author":"kf6ujs","date":"October 26, 2017","format":false,"excerpt":"I briefly heard someone on 10m single-sideband (SSB) saying goodbye to his QSO friend, and that he was going to tune around on 2m SSB. Although I knew 2m SSB existed, never occurred to me that now that I have an all-mode rig, I could also tune around there instead\u2026","rel":"","context":"In &quot;Antennas&quot;","block_context":{"text":"Antennas","link":"https:\/\/ad6dm.net\/log\/category\/antennas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1187,"url":"https:\/\/ad6dm.net\/log\/2021\/09\/amateur-radio-texting-using-aprs\/","url_meta":{"origin":1472,"position":5},"title":"Amateur Radio Texting Using APRS","author":"AD6DM","date":"September 19, 2021","format":false,"excerpt":"Experienced hams have been talking about using APRS messages for SMS texting to friends and family for a few years now. I was mildly interested but found messaging tedious on a handheld transceiver, as well as the brief privacy implications of APRS SMS registration a barrier to entry. However, when\u2026","rel":"","context":"In &quot;Digital&quot;","block_context":{"text":"Digital","link":"https:\/\/ad6dm.net\/log\/category\/digital\/"},"img":{"alt_text":"Regedits for VARA FM COM ports","src":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-07-123043.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-07-123043.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-07-123043.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/ad6dm.net\/log\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-07-123043.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/posts\/1472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/comments?post=1472"}],"version-history":[{"count":10,"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/posts\/1472\/revisions"}],"predecessor-version":[{"id":1499,"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/posts\/1472\/revisions\/1499"}],"wp:attachment":[{"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/media?parent=1472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/categories?post=1472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ad6dm.net\/log\/wp-json\/wp\/v2\/tags?post=1472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}