Linux Amateur Radio AX.25 HOWTO

Total Page:16

File Type:pdf, Size:1020Kb

Linux Amateur Radio AX.25 HOWTO Linux Amateur Radio AX.25 HOWTO Jeff Tranter, VE3ICH [email protected] v2.0, 19 September 2001 The Linux operating system is perhaps the only operating system in the world that can boast native and standard support for the AX.25 packet radio protocol utilized by Amateur Radio operators worldwide. This document describes how to install and configure this support. Linux Amateur Radio AX.25 HOWTO Table of Contents 1. Introduction.....................................................................................................................................................1 1.1. Changes from the previous version...................................................................................................1 1.2. Where to obtain new versions of this document...............................................................................1 1.3. Other related documentation.............................................................................................................1 2. The Packet Radio Protocols and Linux........................................................................................................3 2.1. How it all fits together......................................................................................................................3 3. The AX.25/NET/ROM/ROSE software components...................................................................................5 3.1. Finding the kernel, tools and utility packages..................................................................................5 3.1.1. The kernel source..............................................................................................................5 3.1.2. The network tools.............................................................................................................5 3.1.3. The AX.25 utilities...........................................................................................................5 3.1.4. The APRS utilities............................................................................................................6 4. Installing the AX.25/NET/ROM/ROSE software........................................................................................7 4.1. Compiling the kernel........................................................................................................................7 4.1.1. A word about kernel modules...........................................................................................9 4.2. The AX.25 library, tools, and application programs........................................................................9 5. A note on callsigns, addresses and things before we start.........................................................................12 5.1. What are all those T1, T2, N2 and things ?....................................................................................12 5.2. Run time configurable parameters..................................................................................................13 6. Configuring an AX.25 port..........................................................................................................................15 6.1. Creating the AX.25 network device................................................................................................15 6.1.1. Creating a KISS device...................................................................................................15 6.1.2. Creating a 6PACK device...............................................................................................17 6.1.3. Creating a Baycom device..............................................................................................17 6.1.4. Configuring the AX.25 channel access parameters........................................................18 6.1.5. Creating a kernel Soundmodem device..........................................................................19 6.1.6. Creating a user−mode Soundmodem device..................................................................23 6.1.7. Creating a YAM device..................................................................................................23 6.1.8. Creating a PI card device................................................................................................23 6.1.9. Creating a PacketTwin device........................................................................................24 6.1.10. Creating a generic SCC device.....................................................................................24 6.1.11. Creating a BPQ ethernet device....................................................................................32 6.1.12. Configuring the BPQ Node to talk to the Linux AX.25 support..................................32 6.2. Creating the /etc/ax25/axports file..................................................................................................33 6.3. Configuring AX.25 routing.............................................................................................................34 7. Configuring an AX.25 interface for TCP/IP..............................................................................................35 8. Configuring a NET/ROM port....................................................................................................................36 8.1. Configuring /etc/ax25/nrports.........................................................................................................36 8.2. Configuring /etc/ax25/nrbroadcast..................................................................................................37 8.3. Creating the NET/ROM Network device.......................................................................................38 8.4. Starting the NET/ROM daemon.....................................................................................................38 i Linux Amateur Radio AX.25 HOWTO Table of Contents 8.5. Configuring NET/ROM routing.....................................................................................................38 9. Configuring a NET/ROM interface for TCP/IP........................................................................................39 10. Configuring a ROSE port..........................................................................................................................40 10.1. Configuring /etc/ax25/rsports.......................................................................................................40 10.2. Creating the ROSE Network device.............................................................................................41 10.3. Configuring ROSE Routing..........................................................................................................41 11. Making AX.25/NET/ROM/ROSE calls.....................................................................................................42 12. Configuring Linux to accept Packet connections.....................................................................................43 12.1. Creating the /etc/ax25/ax25d.conf file..........................................................................................43 12.2. A simple example ax25d.conf file................................................................................................46 12.3. Starting ax25d...............................................................................................................................48 13. Configuring the node software..................................................................................................................49 13.1. Creating the /etc/ax25/node.conf file............................................................................................49 13.2. Creating the /etc/ax25/node.perms file.........................................................................................50 13.3. Configuring node to run from ax25d............................................................................................52 13.4. Configuring node to run from inetd..............................................................................................52 14. Configuring axspawn..................................................................................................................................54 14.1. Creating the /etc/ax25/axspawn.conf file......................................................................................54 15. Configuring the pms...................................................................................................................................56 15.1. Create the /etc/ax25/pms.motd file...............................................................................................56 15.2. Create the /etc/ax25/pms.info file.................................................................................................56 15.3. Associate AX.25 callsigns with system users...............................................................................56 15.4. Add the PMS to the /etc/ax25/ax25d.conf file..............................................................................56 15.5. Test the PMS.................................................................................................................................57 16. Configuring the user_call programs.........................................................................................................58 17. Configuring the ROSE Uplink and Downlink commands......................................................................59
Recommended publications
  • Implementing MACA and Other Useful Improvements to Amateur Packet Radio for Throughput and Capacity
    Implementing MACA and Other Useful Improvements to Amateur Packet Radio for Throughput and Capacity John Bonnett – KK6JRA / NCS820 Steven Gunderson – CMoLR Project Manager TAPR DCC – 15 Sept 2018 1 Contents • Introduction – Communication Methodology of Last Resort (CMoLR) • Speed & Throughput Tests – CONNECT & UNPROTO • UX.25 – UNPROTO AX.25 • Multiple Access with Collision Avoidance (MACA) – Hidden Terminals • Directed Packet Networks • Brevity – Directory Services • Trunked Packet • Conclusion 2 Background • Mission County – Proverbial: – Coastline, Earthquake Faults, Mountains & Hills, and Missions – Frequent Natural Disasters • Wildfires, Earthquakes, Floods, Slides & Tsunamis – Extensive Packet Networks • EOCs – Fire & Police Stations – Hospitals • Legacy 1200 Baud Packet Networks • Outpost and Winlink 2000 Messaging Software 3 Background • Mission County – Proverbial: – Coastline, Earthquake Faults, Mountains & Hills, and Missions – Frequent Natural Disasters • Wildfires, Earthquakes, Floods, Slides & Tsunamis – Extensive Packet Networks • EOCs – Fire & Police Stations – Hospitals • Legacy 1200 Baud Packet Networks • Outpost and Winlink 2000 Messaging Software • Community Emergency Response Teams: – OK Drills – Neighborhood Surveys OK – Triage Information • CERT Form #1 – Transmit CERT Triage Data to Public Safety – Situational Awareness 4 Background & Objectives (cont) • Communication Methodology of Last Resort (CMoLR): – Mission County Project: 2012 – 2016 – Enable Emergency Data Comms from CERT to Public Safety 5 Background &
    [Show full text]
  • Evaluating Lora Physical As a Radio Link Technology for Use in a Remote-Controlled Electric Switch System for a Network Bridge
    Evaluating LoRa Physical as a Radio Link Technology for use in a Remote-Controlled Electric Switch System for a Network Bridge Radio-Node Abdullahi Aden Hassan / Rasmus Karlsson Källqvist KTH ROYAL INSTITUTE OF TECHNOLOGY ELECTRICAL ENGINEERING AND COMPUTER SCIENCE Acknowledgments We would like to thank our academic mentor Anders Västberg for helping us with the process of writing and carrying through this degree project, answering all of our questions, and for proof reading this report. We would like to thank Amin Azari for showing genuine interest in our project and for answering some math questions we had when calculating the radio link budget, and for discovering that the formula in a book we were using had a printing error which was initially causing our results to be wrong. Thank you to fellow students Michael Henriksson and Sebastian Kullengren for a thorough opposition to this report and for much helpful feedback in keeping the text readable and scientific. Thank you to Björn Pehrson for representing AMPRNet Sweden and giving us the opportunity to work on this project, financing the system prototype and for giving helpful feedback. Finally, we would like to thank program director Bengt Molin for teaching us much of what we know of embedded systems and for lending us equipment used in the development of the hardware prototype. i Abstract This report explores the design of a system for remotely switching electronics on and off within a range of at least 15 km, to be used with battery driven radio nodes for outdoor Wi-Fi network bridging. The application of the network bridges are connecting to remote networks, should Internet infrastructure fail during an emergency.
    [Show full text]
  • Kenwood TH-D74A/E Operating Tips
    1 Copyrights for this Manual JVCKENWOOD Corporation shall own all copyrights and intellectual properties for the product and the manuals, help texts and relevant documents attached to the product or the optional software. A user is required to obtain approval from JVCKENWOOD Corporation, in writing, prior to redistributing this document on a personal web page or via packet communication. A user is prohibited from assigning, renting, leasing or reselling the document. JVCKENWOOD Corporation does not warrant that quality and functions described in this manual comply with each user’s purpose of use and, unless specifically described in this manual, JVCKENWOOD Corporation shall be free from any responsibility for any defects and indemnities for any damages or losses. Software Copyrights The title to and ownership of copyrights for software, including but not limited to the firmware and optional software that may be distributed individually, are reserved for JVCKENWOOD Corporation. The firmware shall mean the software which can be embedded in KENWOOD product memories for proper operation. Any modifying, reverse engineering, copying, reproducing or disclosing on an Internet website of the software is strictly prohibited. A user is required to obtain approval from JVCKENWOOD Corporation, in writing, prior to redistributing this manual on a personal web page or via packet communication. Furthermore, any reselling, assigning or transferring of the software is also strictly prohibited without embedding the software in KENWOOD product memories. Copyrights for recorded Audio The software embedded in this transceiver consists of a multiple number of and individual software components. Title to and ownership of copyrights for each software component is reserved for JVCKENWOOD Corporation and the respective bona fide holder.
    [Show full text]
  • New Gateways (PDF
    Packet Network Notice Rev: 28-Nov-2011 Date: Nov 28, 2011 From: Santa Clara County ARES/RACES Packet Committee Subject: Packet Network Update – New AMPRnet and E-mail gateways Attention: All ECs, AECs, MACs and other Santa Clara County Packet Users This Packet Network Notice contains important information which affects your ability to access and use the county packet backbone. This update covers the following topics: • New AMPRnet Gateway • New E-mail Gateway Please read this information thoroughly and pass along to any packet users in your local area. New AMPRnet Gateway The AMPRnet is an AMateur Packet Radio network consisting of packet radio BBSs located worldwide. Local networks of BBSs are interconnected to other local networks through gateways. These gateways use IP-in-IP tunnels to connect to each other. AMPRnet IP addresses are allocated from the IP address block of 44.0.0.0/8. Once a BBS or local network of BBSs is connected to AMPRnet, each of the BBSs can reach any other BBS on the AMPRnet, and vice-versa. For example, in the State of Michigan, each county has a local network of one or more BBSs. Each county is connected to all other counties (and to the rest of the world) with AMPRnet connections. Here in California, we can use AMPRnet connections to reach other counties which do not have a radio path to our network. We have just started to reach out to other counties to work on making those connections. There are two primary uses for this connectivity: 1) Messaging: Messages can now be addressed to anyone at any of the AMPRnet BBSs with a simple and standard Internet-style address format: [email protected].
    [Show full text]
  • Examining Ambiguities in the Automatic Packet Reporting System
    Examining Ambiguities in the Automatic Packet Reporting System A Thesis Presented to the Faculty of California Polytechnic State University San Luis Obispo In Partial Fulfillment of the Requirements for the Degree Master of Science in Electrical Engineering by Kenneth W. Finnegan December 2014 © 2014 Kenneth W. Finnegan ALL RIGHTS RESERVED ii COMMITTEE MEMBERSHIP TITLE: Examining Ambiguities in the Automatic Packet Reporting System AUTHOR: Kenneth W. Finnegan DATE SUBMITTED: December 2014 REVISION: 1.2 COMMITTEE CHAIR: Bridget Benson, Ph.D. Assistant Professor, Electrical Engineering COMMITTEE MEMBER: John Bellardo, Ph.D. Associate Professor, Computer Science COMMITTEE MEMBER: Dennis Derickson, Ph.D. Department Chair, Electrical Engineering iii ABSTRACT Examining Ambiguities in the Automatic Packet Reporting System Kenneth W. Finnegan The Automatic Packet Reporting System (APRS) is an amateur radio packet network that has evolved over the last several decades in tandem with, and then arguably beyond, the lifetime of other VHF/UHF amateur packet networks, to the point where it is one of very few packet networks left on the amateur VHF/UHF bands. This is proving to be problematic due to the loss of institutional knowledge as older amateur radio operators who designed and built APRS and other AX.25-based packet networks abandon the hobby or pass away. The purpose of this document is to collect and curate a sufficient body of knowledge to ensure the continued usefulness of the APRS network, and re-examining the engineering decisions made during the network's evolution to look for possible improvements and identify deficiencies in documentation of the existing network. iv TABLE OF CONTENTS List of Figures vii 1 Preface 1 2 Introduction 3 2.1 History of APRS .
    [Show full text]
  • Sistemas Informáticos Curso 2005-06 Sistema De Autoconfiguración Para
    Sistemas Informáticos Curso 2005-06 Sistema de Autoconfiguración para Redes Ad Hoc Miguel Ángel Tolosa Diosdado Adam Ameziane Dirigido por: Profª. Marta López Fernández Dpto. Sistemas Informáticos y Programación Grupo de Análisis, Seguridad y Sistemas (GASS) Facultad de Informática Universidad Complutense de Madrid AGRADECIMIENTOS: Queremos agradecer la dedicación de la profesora Marta López Fernández, Directora del presente Proyecto de Sistemas Informáticos, y del resto de integrantes del Grupo de Análisis, Seguridad y Sistemas (GASS) del Departamento de Sistemas Informáticos y Programación de la Universidad Complutense de Madrid, y de forma muy especial a Fabio Mesquita Buiati y a Javier García Villalba, Miembro y Director del citado Grupo, respectivamente, por el asesoramiento y las facilidades proporcionadas para el buen término de este Proyecto. 2 Índice RESUMEN ....................................................................................................................... 5 ABSTRACT ..................................................................................................................... 6 PALABRAS CLAVE....................................................................................................... 7 1-INTRODUCCIÓN....................................................................................................... 8 1.1- MOTIVACIÓN ......................................................................................................... 8 1.2 – OBJETIVO .............................................................................................................
    [Show full text]
  • Mind the Uppercase Letters
    Integration of APRS Network with SDI Tomasz Kubik1,2, Wojciech Penar1 1 Wroclaw University of Technology 2 Wroclaw University of Environmental and Life Sciences Abstract. From the point of view of large information systems designers the most important thing is a certain abstraction enabling integration of heterogeneous solutions. Abstraction is associated with the standardization of protocols and interfaces of appropriate services. Behind this façade any device or sensor system may be hidden, even humans recording their measurements. This study presents selected topics and details related to two families of standards developed by OGC: OpenLS and SWE. It also dis- cusses the technical details of a solution built to intercept radio messages broadcast in the APRS network with telemetric information and weather conditions as payload. The basic assumptions and objectives of a prototype system that integrates elements of the APRS network and SWE are given. Keywords: SWE, OpenLS, APRS, SDI, web services 1. Introduction Modern measuring devices are no longer seen as tools for qualitative and quantitative measurements only. They have become parts of highly special- ized solutions, used for data acquisition and post-processing, offering hardware and software interfaces for communication. In the construction of these solutions the latest technologies from various fields are employed, including optics, precision mechanics, satellite and information technolo- gies. Thanks to the Internet and mobile technologies, several architectural and communication barriers caused by the wiring and placement of the sensors have been broken. Only recently the LBS (Location-Based Services) entered the field of IT. These are information services, available from mo- bile devices via mobile networks, giving possibility of utilization of a mobile This work was supported in part by the Polish Ministry of Science and Higher Edu- cation with funds for research for the years 2010-2013.
    [Show full text]
  • Linux Networking-HOWTO
    Linux Networking−HOWTO: Linux Networking−HOWTO: Table of Contents Linux Networking−HOWTO:............................................................................................................................1 Author: Joshua Drake poet@linuxports.com...........................................................................................1 1.Introduction...........................................................................................................................................1 2.Document History.................................................................................................................................1 3.How to use this HOWTO......................................................................................................................1 4.General Information about Linux Networking.....................................................................................1 5.Generic Network Configuration Information.......................................................................................1 6.Ethernet Information.............................................................................................................................2 7.IP Related Information..........................................................................................................................2 8.Advanced Networking with Kernel 2.2................................................................................................2 9.Using common PC hardware................................................................................................................2
    [Show full text]
  • Ad Hoc Networks – Design and Performance Issues
    HELSINKI UNIVERSITY OF TECHNOLOGY Department of Electrical and Communications Engineering Networking Laboratory UNIVERSIDAD POLITECNICA´ DE MADRID E.T.S.I. Telecomunicaciones Juan Francisco Redondo Ant´on Ad Hoc Networks – design and performance issues Thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in Telecommunications Engineering Espoo, May 2002 Supervisor: Professor Jorma Virtamo Abstract of Master’s Thesis Author: Juan Francisco Redondo Ant´on Thesis Title: Ad hoc networks – design and performance issues Date: May the 28th, 2002 Number of pages: 121 Faculty: Helsinki University of Technology Department: Department of Electrical and Communications Engineering Professorship: S.38 – Networking Laboratory Supervisor: Professor Jorma Virtamo The fast development wireless networks have been experiencing recently offers a set of different possibilities for mobile users, that are bringing us closer to voice and data communications “anytime and anywhere”. Some outstanding solutions in this field are Wireless Local Area Networks, that offer high-speed data rate in small areas, and Wireless Wide Area Networks, that allow a greater mobility for users. In some situations, like in military environment and emergency and rescue operations, the necessity of establishing dynamic communications with no reliance on any kind of infrastructure is essential. Then, the ease of quick deployment ad hoc networks provide becomes of great usefulness. Ad hoc networks are formed by mobile hosts that cooperate with each other in a distributed way for the transmissions of packets over wireless links, their routing, and to manage the network itself. Their features condition their design in several network layers, so that parameters like bandwidth or energy consumption, that appear critical in a multi-layer design, must be carefully taken into account.
    [Show full text]
  • (Pdf) Download
    1 2 • Winlink programs group: “Official Group to support Winlink Team developed Products, both user and gateway software” • Winlink_for_EmComm: “Supports the discussion and use of the Winlink network and Winlink products for emergency or event support communications. ” 3 4 5 6 7 8 1. Digital voice radio works in exactly the same fashion, except that it deals with audio input, not text. 2. PACKET-1200 uses frequency shift keying (FSK) modulation with a 1000Hz shift and 1200 Bd symbol rate. There are a number of variations for PACKET-1200, including a PSK-based satellite version. PACKET-1200 can be seen in the VHF and UHF bands with indirect FM Modulation. FM bandwidth is 12 kHz. 3. See https://www.sigidwiki.com/wiki/PACKET#PACKET-1200 9 10 11 12 • That’s the packet sound • Each individual packet! • Carrier detect • ”NAK” = “NO ACKNOWLEDGEMENT” – resend • ”ACK” – “ACKNOWLEDGEMENT” – send the next packet • Too many retries, and the sending station stops sending (connection is dropped) • Breaking the message into small packets makes it easier to send a large message. But ALL packets MUST be received in order for the message to be read, 13 • One bye = 8 bits = 1 alphanumeric character • See https://tapr.org/pub_ax25.html • FLAG: start and end of each packet • Address: sender, receiver, and the path in between • Control (CTRL): The control field is responsible for identifying the type of “frame” being sent, and is also used to convey commands and responses from one end of the link to the other in order to maintain proper link control • The length of DATA is ≤ 255, and is set by the use.
    [Show full text]
  • Abkürzungs-Liste ABKLEX
    Abkürzungs-Liste ABKLEX (Informatik, Telekommunikation) W. Alex 1. Juli 2021 Karlsruhe Copyright W. Alex, Karlsruhe, 1994 – 2018. Die Liste darf unentgeltlich benutzt und weitergegeben werden. The list may be used or copied free of any charge. Original Point of Distribution: http://www.abklex.de/abklex/ An authorized Czechian version is published on: http://www.sochorek.cz/archiv/slovniky/abklex.htm Author’s Email address: [email protected] 2 Kapitel 1 Abkürzungen Gehen wir von 30 Zeichen aus, aus denen Abkürzungen gebildet werden, und nehmen wir eine größte Länge von 5 Zeichen an, so lassen sich 25.137.930 verschiedene Abkür- zungen bilden (Kombinationen mit Wiederholung und Berücksichtigung der Reihenfol- ge). Es folgt eine Auswahl von rund 16000 Abkürzungen aus den Bereichen Informatik und Telekommunikation. Die Abkürzungen werden hier durchgehend groß geschrieben, Akzente, Bindestriche und dergleichen wurden weggelassen. Einige Abkürzungen sind geschützte Namen; diese sind nicht gekennzeichnet. Die Liste beschreibt nur den Ge- brauch, sie legt nicht eine Definition fest. 100GE 100 GBit/s Ethernet 16CIF 16 times Common Intermediate Format (Picture Format) 16QAM 16-state Quadrature Amplitude Modulation 1GFC 1 Gigabaud Fiber Channel (2, 4, 8, 10, 20GFC) 1GL 1st Generation Language (Maschinencode) 1TBS One True Brace Style (C) 1TR6 (ISDN-Protokoll D-Kanal, national) 247 24/7: 24 hours per day, 7 days per week 2D 2-dimensional 2FA Zwei-Faktor-Authentifizierung 2GL 2nd Generation Language (Assembler) 2L8 Too Late (Slang) 2MS Strukturierte
    [Show full text]
  • Virginia Tech Ground Station TNC Interfacing Tutorial
    Virginia Tech Ground Station TNC Interfacing Tutorial Zach Leffke, MSEE ([email protected]) Research Associate Aerospace Systems Lab Ted & Karyn Hume Center for National Security and Technology 3/23/2018 Agenda VHF/UHF • TNC Connection Overview 3.0m Dish Antennas • KISS Protocol 4.5m Dish • AX.25/HDLC Protocol • AFSK/FSK/GMSK Modulation • ….System Review…. • OSI Stack • Remote Connection Students assembling • VTGS Remote Interface 4.5m Dish • Summary Deployable Space@VT Ops Center 1.2m Dish GNU Radio at work (students preparing for 2016 RockSat Launch) 3/23/2018 TNC Interfacing Tutorial 2 Preview of the Finale…………… Primary Ground Station - UPEC Host Computer Client Software TNC TC SW TNC SW SoundCard AX.25 AX.25 KISS Interface KISS HDLC RADIO Localhost DATA FM TCP TCP AFSK D to A LOOPBACK IN RF Spacecraft IP IP IP IP MAC C&DH Audio Audio Comput HOST OS NETWORK RADIO er TC SW FIRMWARE AX.25 AX.25 KISS HDLC KISS AFSK SERIAL Remote Ground Station - VTGS FM SERIAL RF Host Computer Telecommand (TC) TTL Serial Software TNC TNC SW SoundCard AX.25 INTERNET KISS Interface HDLC RADIO DATA FM TCP AFSK D to A HOST IN RF OS IP NET VPN CONNECTION MAC Audio Audio Radio 3/23/2018 TNC Interfacing Tutorial 3 TNC Connection Overview TNC Implementation Types Hardware Radio DATA Jack Specific Interface Examples 3/23/2018 TNC Interfacing Tutorial 4 TNC Implementation Summary • Multiple implementation options exist • Hardware TNC Ground Station • Software TNC + Sound Card • Software Defined Radio Receiver • Software Defined Radio Transceiver • Hybrid SDR RX / HW Radio TX implementations 3/23/2018 TNC Interfacing Tutorial 5 Hardware Radios – Common for Satellite 3/23/2018 TNC Interfacing Tutorial 6 Hardware TNCs 3/23/2018 TNC Interfacing Tutorial 7 Radio Sound Card Interfaces • Good ones offer optical isolation (optocouplers).
    [Show full text]