Packet Radio Under Linux

Linux and ham radio share a common spirit of cooperation, experimentation and do-it-yourself attitude. These two interests come together in packet radio.
Back to My Story

My first introduction to packet was using the sound card modem driver with a hand-held 2-meter band transceiver for 1200bps packet. The audio connects from the PC sound card to the radio's microphone and speaker jacks. A signal from a serial or parallel port in conjunction with a simple (one transistor) circuit is used to control the radio's PTT (Press To Talk) circuit. This approach requires no TNC and no packet modem—if you already have a computer and sound card this costs almost nothing. Figure 1 shows a block diagram of my setup.

Configuring the system was straightforward—I just followed the detailed instructions in the AX25 HOWTO. Utility programs included with the AX25 package allow me to monitor the packets being broadcast and received, and to call and answer other packet stations.

I obtained an IP address from the local IP coordinator (the 44.x.x.x ampr.org Internet domain is assigned for packet radio) and configured my system for TCP/IP over packet. All the standard network tools then operated over packet. Assuming they are configured for TCP/IP, I can ping or finger other stations and connect to them using telnet. Similarly, I can log on to my home Linux machine over the Internet.

Next I plan to set up a simple BBS system users can log on to via packet radio. I'd also like to look at more sophisticated packet networking tools supported under Linux, such as NetRom, NOS and Rose. In the future I may even explore options for higher-speed packet such as the 56 Kbps Ottawa PI2 card.

Conclusions

As well as being fun, packet radio under Linux taught me a lot about networking, much of which is also applicable to Ethernet, X.25 and other network protocols.

Linux is a great platform for packet, particularly since it is fully integrated with the rest of the networking subsystem. Its reliability lets you leave a Linux system up for long periods of time without crashing (ideal for a BBS environment). As an example, one local Linux system has been on the air continuously for over 310 days without interruption. Some of the software I used was still in alpha release yet was stable enough to use. Finally, packet radio has opened up a whole new area of Linux for me to explore, ensuring that I won't run out of things to do in the foreseeable future.

Acknowledgments

Thanks go to Gord Dey, VE3PPE, for reviewing this article and adding many valuable suggestions. I also wish to thank Terry Dawson for writing the AX25 HOWTO and utilities, Alan Cox, Jonathan Naylor and others for writing the Linux packet code and Thomas Sailer for writing the sound card packet modem driver.

Resources

Jeff Tranter is the author of the Linux Sound and CD-ROM HOWTOs and the book Linux Multimedia Guide, published by O'Reilly and Associates. His hobbies beyond Linux and ham radio include playing guitar, cross-country skiing and lava lamps. His ham radio call sign is VE3ICH and you can reach him via e-mail at jeff-tranter@pobox.com.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Packet Radio Under Linux

Anonymous's picture

Dear Sir,

I read this article, and mean while some doubts had appeared.

I wander if this is possible:

With Packet Radio Under Linux, is it possible to have Internet Access with good bandwidth, like over 64Kb?

Is it possible, for instance, to have a satelite Internet Access, and to "share" the Internet access in some kind of intranet using Packet Radio under Linux? If so, what can be the maximum distance of a computer from the "source"?

Thanks for your help,

Beste regards

Re: Packet Radio Under Linux

Anonymous's picture

Respected sir,

i am a engg. student from India.i want to know more about the ax.25

packet radio project.i read about it in the linux documentation in

Mandrake linux.i also read ur doc in linux journal.now i am eager to do

the same thing what u did sir, ie using soundcard in the pc.sir, i am

having a pc with pentium-3 processor, 64 mb ram and 20 gb harddisk with

builtin soundcard with AC'97 driver.it is my pleasure if u would

suggest me how to do it, i am very thirsty over it to see how it all togather

works with atleast 2 pc's placed at different places in the same lab

.sir, suggest me what s/w to be download. At present i have downloaded

AX.25 protocols and packages form fibo.com. sir, i am confused with what

radio i have to use. please do send me more information about it. Email-id :lifeis2days@yahoo.com

thanking u in anticipation

Yours faithfully

kiran.t.patil

Re: Packet Radio Under Linux

Anonymous's picture

Respected sir,

i am a engg. student from India.i want to know more about the ax.25

packet radio project.i read about it in the linux documentation in

Mandrake linux.i also read ur doc in linux journal.now i am eager to do

the same thing what u did sir, ie using soundcard in the pc.sir, i am

having a pc with pentium-3 processor, 64 mb ram and 20 gb harddisk with

builtin soundcard with AC'97 driver.it is my pleasure if u would

suggest me how to do it, i am very thirsty over it to see how it all togather

works with atleast 2 pc's placed at different places in the same lab

.sir, suggest me what s/w to be download. At present i have downloaded

AX.25 protocols and packages form fibo.com. sir, i am confused with what

radio i have to use. please do send me more information about it.

Emailid:lifeis2days@yahoo.com

thanking u in anticipation

Yours faithfully

kiran.t.patil

Re: Packet Radio Under Linux

Anonymous's picture

For information about Amateur Radio in India see this site: http://designcrest.com/arsi/index.html .

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions