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 .

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState