Xastir and Linux Mint

Installing Xastir in Mint

Ben, VK5JFK, left a comment on my review of Linux Mint at the Linux in the Ham Shack web site, asking if I had installed Xastir under Mint.  I had not, but since Richard talked about Xastir in Episode 23, and Linux Mint is the "official" distribution for Linux in the Ham Shack, I thought a brief how-to article might be useful to our listeners.

In fact, installing Xastir in Linux Mint is fairly easy.  Here's a step by step procedure:

  • Launch the Synaptic Package Manager
  • Select the Amateur Radio (Universe) repository
  • Click on Xastir in the list - version 1.9.4-3 was available as I did this
  • Click on Apply - a bunch of dependencies were selected, and after approving that list, off it went.

A few minutes later (over a DSL connection) the installation was complete.

The first (and only) problem I encountered was that the installer did not create an entry in the Mint menu.  To remedy this, I clicked Menu, Preferences, Main Menu.  This utility allowed me to add a new menu category I called Amateur Radio, and a new item in that category that I creatively called Xastir.  The associated command is "/usr/bin/xastir".  After logging out and in, the new menu item appeared.

Before running Xastir for the first time, I opened a terminal and entered the command:

$ callpass ka9wka

and the computer responded:

Passcode for ka9wka is 19125
$

Of course, you will use your callsign and you'll receive a different passcode.  You'll need that number when configuring the interface.  No, the callsign is not case-sensitive.

After running Xastir, you must perform some configuration, as Richard discussed.  For this test, it was simply a matter of defining my location and adding the Internet interface.  When you launch Xastir the first time, it will automatically open the "Configure Station" dialog, but you can return to that by clicking File, Configure, Station.  Here I entered my callsign and location.  I left the rest of the options at the defaults.

Next, I clicked the Interface menu option, then Interface Control.  This brings up an empty list of configured interfaces.  I clicked Add, chose "Internet Server", and clicked the Add button. The "Configure Internet" dialog box appeared.  I entered 19125 into the Passcode field (see above), and "r/42/-87/500" (without the quotes) into the Filter Parameters field.  This filter says, I believe, show all stations within a radius of 500km of 42 degrees N and 87 degrees W.  Modify to suit your location and preference, and click OK.  Finally, still in the Interface Control dialog box, I clicked Start All.  The status changed from DOWN to UP, and I closed the dialog box.  In a few moments, stations began to appear on the map.

There are a lot more options in Xastir that I haven't explored here.  For example, if you're planning on installing this on a laptop with a TNC and GPS device attached, you'll need to add interfaces for those as well, and you'll probably want to add a more detailed map for your area.  For now, this should get Xastir running under Linux Mint with a minimum of time and bother.

73,

-Bill, KA9WKA

LHS Show Notes #027

Contributors:

  • Russ visited a Ham Radio Outlet in Virginia and bought a new Yaesu FT-7900R for his truck.
  • Richard bought a Kenwood TS-50, some wire and antennas at the Belton hamfest, but hasn't installed them yet.
  • John, EI7IG, says you don't need AX.25 support in the kernel to run XASTIR, since you're running the TNC in KISS mode. He also says that APRS is useful for emcomm events, disseminating local weather information, and passing short text messages.
  • Tim, KI6BGE, recommends Resonant Frequency, Linux in the Ham Shack, and SolderSmoke in his October 29 blog entry.

Announcements:

  • We received a donation from Paul during the last episode, and now Alex made a sizable donation. Thanks, Alex!

Links and Notes:

Music:

  • "Company of Fools" by Great Big Sea from the album "Fortune's Favour"

LHS Show Notes #026

Contributors:

  • Kent, VE4KEH, writes in the forums that the Debian Testing updates have caused him some problems. Richard suggests not using the Testing distribution, while Russ disagrees.
  • Do any of the ham radio digital protocols support full TCP/IP? Can we load a web site via packet radio?
  • Commentsabout Episode #025:
    • Alex, OZ9AEC, says that he'd rather attend an Ubuntu launch party every six months, rather than a Windows party every six years. 🙂 He provided a link to an Ubuntu 9.10 Release Party Map.
    • Jim, N3JIM, defends APRS (Automatic PACKET reporting System), saying it's more than just vehicle tracking.
      www.aprs.org says it's "automatic packet reporting system"
      www.aprs.net says it's "automatic position reporting system"
      Our hosts discuss the apparent usefulness, or lack thereof, of APRS.
  • Richard rants about receiving spam, this time from Twitter.

Announcements:

  • Please donate to the fund to send Linux in the Ham Shack to the Dayton Hamvention in 2010!

Links and Notes:

  • Joe, NE3R, provides this audio segment about minicom, a Linux terminal application for connection to serial port devices. Check out Joe's blog.
  • Audio from Russ at Ohio Linux Fest:
    • Talking to Jim, KB3ORA.
    • Handing out DVDs of the first 22 episodes.
    • Matt, KC8BEW, provided some ham radio gear to use at the booth. Thanks, Matt.
    • Russ visits with Beth Lynn Eicher and Rob Ball, both of OLF, and Doug Vann of Duo Consulting talks to Russ about Drupal.
  • Richard talks about his visit to the Belton HamEXPOin Belton, TX.
  • Donate to the fund to bring Richard and Russ to Dayton Hamvention 2010.
  • Look for new topics in future shows, such as reviews of other Linux distributions such as ARCH Linux, Slackware 13, and OpenSUSE 11.1.
  • Russ talks about getting his amateur radio station back on the air. He put up a new antenna, an AlphaDelta DX-CC trap dipole for 80-10m. He also acquired a Rascal GLX sound card interface, installed fldigi, and made his first digital mode contact with PSK31 on 20m! Yay, Russ!
  • Russ has also discovered IRLP.
  • Paul, from TeenRadioJourney.com, made a donation to the Dayton fund. Thanks, Paul.
  • We're looking for a new logo for Linux in the Ham Shack. Any and all submissions will be considered.

Music:

LHS Show Notes #025

Contributors:

  • Paul, from TeenRadioJourney.com, mentions LHS on his blog.
  • Russ Wenner from The Techie Geek podcast joins us in the chat room.
  • Kent, VE4KEH, in a post in the forums, says he heard Russ on an episode of Hacker Public Radio, and wonders if an appearance on Linux Outlaws is next. He also asks about a Windows 7 launch party. Our hosts respond.
  • Kent also posts a comment in a thread about Acer dropping support if you install Linux on one of their computers. Kent asks which manufacturers are Linux friendly? He also wonders why Acer creates two partitions on their laptops.
  • threethirty from Linux Cranks sent congratulations about LHS getting a mention in an LXer.com article Ohio LinuxFest Report
  • Matt, KC8BEW, in a comment about Episode 22 asks if Chirp will support radios other than Icom D-Star.

Announcements:

Links and Notes:

  • Russ talks a bit about being at Ohio Linux Fest. He was in "podcasters row" in the exhibit hall, along with the Northeast Ohio Open Source Society, The Linux Link Tech Show, and the Security Justice podcast. Russ shares some interviews and audio he recorded:
    • Interview with Matt, KC8BEW.
    • Russ plans on taking Linux in the Ham Shack to Dayton Hamvention, 2010.
    • Jim, KB3ORA, stops by the booth.
  • Questions in the chat room:
    • Russ Wenner from the Techie Geek Podcast, asks: is ham radio an expensive hobby? Richard opines.
    • HamTests.net is a good resource. The European site is HamTests.co.uk.
    • Do you need to learn Morse code? Nope, but it's even more popular now.
    • Do you need a high antenna? Not necessarily. Russ discusses. The ARRL has several good books on antennas.
    • Paul Shirey asks if shared folders on different machines can be combined. Possible, but difficult.
  • Richard talks about APRS and XASTIR.
    • One of the requirements for using APRS under Linux is that you must have the AX.25 packet radio protocol support in the kernel.
    • To determine if your kernal has AX.25 support, enter this command in a terminal:
      grep ax25 /proc/kallsyms

      If you get a result something like this:

      c0510ddc r trans_net_ax25_table
      c05127a0 r trans_net_ax25_param_table

      then AX.25 support is built into the kernel. If you receive nothing, then you'll need to recompile the kernel with AX.25 support. (Most of the current versions of Ubuntu and Linux Mint have AX.25 support.)
      For more information, see the HowTo:AX.25 article on the XASTIR wiki.

    • Richard describes configuring XASTIR.
    • Bottom line: it's not all that hard to set up. Read the wiki. There are how-to articles for many different operating systems.
  • From the chatroom, someone asks about the throughput of the various data modes in amateur radio.

Music:

  • "Like This" by STEEP from the album "STEEP"
  • "Lost" by Trainlight from the album "Now You're Alone with Ghosts"

LHS Episode #027: Where Are My Meds?

haarpWe have topped 40,000 downloads! Thanks go out to all of our listeners and live webcast attendees for making Linux in the HAM Shack as popular as it is. Give yourselves a huge round of applause. We're also well on our way to our donation goal of $750 so we can buy booth space and Internet access at the Dayton Hamvention in Dayton, Ohio, in May of 2010. Thank you for all of your donations. Please keep them coming as you're able to send them in!

In this episode, we address listener feedback and comments, and then in a burst of inspiration invite listeners from the chat room to come onto the program for a lively and very fun roundtable discussion. Topics were varied, from portable antenna design, to life without Red Bull; from the HAARP VLF array in Alaska to D-STAR, PACTOR and other digital ham radio communication modes. And since I was on meds and Richard was off his, things got a little crazy towards the end.

We hope you enjoy this episode of Linux in the HAM Shack. Please leave us comments or questions on the web site or via voice mail at 888-455-0305. And send your best wishes to Bill, KA9WKA, who has taken on the responsibility of getting LHS's show notes out in a timely fashion. Thanks, Bill. You're a lifesaver!

73 de Russ, K5TUX