(This was originally published on N8GNJ.org, and copied here; SuperPacket is now my "big picture of Amateur Radio" blog for articles like this - see About SuperPacket.)
Amateur Radio Emergency Digital Network (AREDN) is a firmware image for selected Wi-Fi access points and Wireless Internet Service Provider (WISP) units. AREDN's firmware adds various services such as Domain Name Service (DNS) and Dynamic Configuration Host Protocol (DHCP) and most notably, hands-off mesh networking (sometimes called peer to peer networking). As part of the AREDN firmware, it enables the Wi-Fi radio to use a portion of the 2.4 GHz band that is only legal for use by (licensed) Amateur Radio operators. You don't have to be an Amateur Radio operator to use the firmware, but you do have to be an Amateur Radio operator to make use of the additional channels.
AREDN is useful enough that I think every ham that has a Go Kit with a computer, should have a few AREDN nodes in their go kit. My rationale for making that statement is one of the issues that Amateur Radio operators have in responding to emergencies with their go kits (again, with a computer) is that there is no good, and certainly no easy way to have their computer communicate with other Amateur Radio operators. I've observed many, many times when computer-to-computer communication devolves to putting a file on a USB memory device that's then "sneakerneted" to another computer. AREDN units are a fix for that. AREDN is mostly "plug and play" to use, but some preparation is required.
The easiest way to understand and experiment with the potential of AREDN is the GL-iNet GL-AR150 shown above. It's around $25 on Amazon - buy two for your experimentation. The model in the photos above has an internal antenna. The GL-iNet GL-AR150-ext features an external antenna port and a small antenna. The big brother of the GL-150 is the GL-750, which is a bit more expensive, but has the benefit of a 5 Ghz radio in addition to the 2.4 GHz radio.
The best way, I think, to think of AREDN nodes for this use case is that they're the rough equivalent of an Ethernet switch and Ethernet cables connecting multiple computers together to share resources, such as a local web server, file sharing, or any other service we take for granted via the Internet - as long as it can be hosted locally. Think email via POP/SMTP, but not Gmail.
After it's flashed with the AREDN firmware, there is some minimal configuration required, including entering your callsign and setting up a password. I recommend installing the tunnel software (allows you to create a Virtual Private Network - VPN to other AREDN nodes via an Internet connection). The tunnel software doesn't take up much room and it's much, much easier to do it when you have a good Internet connection rather than adding it later on a marginal or no Internet connection. Unlike the initial firmware installation, the tunnel software must be done "live" - you can't download it for later installation.
(Apologies that I'm describing all of this with words rather than photos - a future version of this will include photos.)
Then it's as simple as providing the AR150 power via USB (it doesn't need much - a computer's USB port is adequate) and plug the AR150's LAN Ethernet port into the computer's Ethernet port. Assuming you select the default radio settings, any other AREDN node within range (with the same radio settings) will automatically connect into a mesh network.
The real power of AREDN is the services beyond the AREDN nodes. In my example above of multiple Amateur Radio operators in a shelter, one computer can be configured as a web server, advertise that server on that particular AREDN node, and then anyone else in the AREDN mesh can click on that advertised service and see the web page.
The use case I'm describing here hasn't been discussed much (that I've seen).
I have a mild criticism of AREDN that they posit its role as outdoor infrastructure, and in my opinion, that's somewhat impractical. 2.4 GHz is hard enough to make work, even with the "quiet" portion of spectrum that AREDN is using. The better model for Amateur Radio high-speed microwave infrastructure, in my opinion, is HamWAN. Alternatively to HamWAN's way of doing things, you can buy off-the-shelf Wireless Internet Service Provider (WISP) equipment designed for this purpose (thus, it's expensive). Vendors of WISP equipment include Cambium Networks, Ubiquiti Networks, and MikroTik. While this is equipment intended for WISPs, because it uses license-exempt spectrum (generally 5 GHz), it can be purchased and used by anyone. One good vendor of such equipment is Streakwave Wireless. It's a bit of work to get them to work with an individual, but they're willing to do so.
I'm now able to access two AREDN Virtual Private Network tunnels, one for my fellow Amateur Radio operators in Whatcom County, and another for my buddies in the Seattle area. One issue to be careful about is routing loops so I'm careful to keep the two networks segmented for now, as I want to experiment on both of them. I have two sets of AREDN nodes in my shop, and they don't interoperate with each other because of of unique radio configurations for each group.
My friend Bill Vodall W7NWP made a good set of notes on configuring the AR150s.
Next steps in experimenting with AREDN:
- Configure a Raspberry Pi as a web server and advertise that service via AREDN
- Configure my new TP-Link 2.4 GHz radio to try to connect with the nearby AREDN node,
- Learn more about advertising services, such as VOIP, email, etc. via AREDN
- Order more AR150s, get them configured into a Go Box configuration with their own battery packs, weatherproof boxes, and better antennas for better range.
Update 2 - 2021-02-23 - Displaying a web page on an AREDN Node, from the AREDN node
The one thing I wished was possible on the AREDN nodes was to display some custom text like a small web page. It would be ideal if this was automated, like a checkbox to display custom text. When I plainted this desire to my long-suffering techie buddy Bill Vodall W7NWP, he was completely puzzled - "Steve... it has a web server already running. You're looking at the status page in a web browser, aren't you?". That was my D'oh moment. So then Bill and I went on an hours-long quest to figure out how to access it. Turns out you can ssh and scp into your AREDN node - IF you know what you're doing.
Part 1 - Make a simple web page
You can't effectively make changes to a file from / on the AREDN node. Well, technically, you can, but you the only editor available on an AREDN node is the vi(le) editor. Life's too short.
So, compose a web page that you want to be resident on your AREDN node on your "big" computer. It needs to be "something".html. Keep it simple. Compose in an HTML editor or a text editor, and keep it to text only (no images). Save it as a simple text file. If you're rusty on your HTML, as I was, here's an HTML intro.
Save it as n8gnj-test1.html (whatever name makes sense to you). Make sure you can find this file when you're in the command line using SSH.
Be sure to view your file in a web browser:
http:///path/filename
Part 2 - SSH
ssh -p 2222 root@n8gnj-1
ssh is Secure SHell. -p specifies the port which on an AREDN node is 2222 for ssh and scp. root is the username on the AREDN node, and n8gnj-1 is the system name (technically, it's N8GNJ-1 but the system doesn't seem to mind, and it's easier not to shift to all caps.
Also, the system doesn't seem to care about using n8gnj-1 vs using n8gnj-1.local.mesh, so I used the former.
and you're prompted for the node's password, and you're in!
But that was only part of the battle, but at least I could look at the file system from the inside.
Part 2 - SCP
The beauty of UNIX / Linux is that the tools like SCP have been honed over decades. They work... you just have to know how to use them. The available documentation, especially on a system, like man scp are terse at best. So it took Bill and I hours to get this right. Well, to be fair to Bill, it took him tens of minutes to get it right (based on my feedback) and it took me hours of fiddling around.
scp -P 2222 n8gnj-test1.html root@n8gnj-1:/www/n8gnj-test1.html
scp is Secure CoPy. -P (note that for scp, it must be an uppercase P) specifies the port which on an AREDN node is 2222 for ssh and scp. root is the username on the AREDN node, and n8gnj-1 is the host name.
n8gnj-test1 is the file that I created on the "big" computer.
The fiddly bit was the :/www/n8gnj-test1.html. :/www/ specifies that the scp command copies the n8gnj-test1.html file into the /www directory of the AREDN node. (You have to know a valid directory in advance of this command, thus it's useful to know how to use ssh). something2.html is the name of that file when it's copied onto the AREDN node (in the /www directory).
and you're prompted for the node's password, and if everything is correct, scp terminates. Then go back to ssh, and look at the /www directory, and there should be a something2.html file there.
At this point, you've moved a file into the file system of the AREDN node. Then, you get to get to do configuration magic to display it from the main AREDN node status page.
Part 3 - Configuration of a link to display
(Apologies that this next part is terse - I want to capture it before I forget these fiddly bits.)
Go to Setup, Advertise a Service.
- Name Box: (what name you want to appear under the Services column next to your node in the Mesh Status page) I put N8GNJ Simple Web.
- Click the Link checkbox (it will appear as a clickable link)
- First box - HTTP (pulldown, I think)
- Second Box - select your node from the pulldown. In my case it's N8GNJ-1.
- Third box (after the :) 80 (port number, apparently; Port 80 is universal for HTTP).
- Fourth box is the name of the file in /www. In my case it's n8gnj-test1.html. (Apparently the /www is prepended and no need to have it in the string - just the filename.)
- Click the Add button. It'll take a few seconds for it to update.
- Click the Save Changes button (above). It'll take a few seconds to save this new configuration.
Normally, this capability is used to advertise a service on another system; there are dozens of examples. Mine was going to be a web server running on a Raspberry Pi, but what I wanted to display is pretty simple, and it seemed like this should be possible, but there were only the vaguest of hints that this was possible, and how to actually do it, on the AREDN pages and forums.
Part 4 - Display the Web page
Now, in the mesh status page, next to my node N8GNJ-1, there is an advertised service - N8GNJ Simple Web that is clickable. When clicked, it displays the very simple HTML text that I put in there. What's really unique about this is that it's a web page that's stored on the AREDN node, and it's being served by the AREDN node.
Thanks again Bill!
Update 1 - 2021-02-22 - AR-750 can offer Wi-Fi on 5 GHz in addition to AREDN on 2.4 GHz
In a running conversation I'm having with another Amateur Radio operator, it occurred to me that the GL-iNet GL-AR750 has a unique capability vs other ARDEN nodes because it has a 2.4 GHz radio and a 5 GHz radio. When you flash an AR750 to AREDN firmware, the 2.4 GHz radio is reprogrammed into AREDN's configuration for meshing with other AREDN nodes. But the 5 GHz radio isn't reprogrammed - it remains compatible with Wi-Fi. That capability enables this (theoretical) scenario:
- The big one happens - earthquake, power failure, ice storm, etc. Cellular service is out. This isn't THAT theoretical; I was without cell service for a week in Woodinville WA in the aftermath of a severe winter storm that toppled MANY trees onto the power lines. Power was out for that week, and the small cell sites that service most of Woodinville didn't have standby generators, only batteries, and those were depleted after 12 hours or so.
- People need to communicate their status - email is the most practical.
- A "package" of an AREDN AR-750 with a high capacity battery pack, is put into a tree or other high, central point.
- The AR-750's 2.4 GHz radio meshes with others.
- The AR-750's 5 GHz radio is avilable for access by "civilians". (Yes, this is legal because a ham is in charge of the network - a "control operator".)
- Civilians are able to use their phones to connect to the 5 GHz Wi-Fi Access Point on the AR-750.
- Civilians then open the web browser on their phones and are greeted with a "splash page". That capability requires some development.
- Civilian fills out a form on the web page and then that's upload to a control operator on a laptop somewhere in the mesh.
- Civilian gates out the email into the Winlink system and Winlink handles delivery of the email.
New web page - A Brief Survey of Technological Innovation in Amateur Radio
This is a paper I wrote for the ARRL and TAPR Digital Communications Conference 2022.
A Brief Survey of Technological Innovation in Amateur Radio
By Steve Stroh N8GNJ1
ARRL and TAPR 2022 Digital Communications Conference Charlotte, North Carolina, USA 2022-09-16 thru 18
Abstract
In recent decades, the perception of Amateur Radio within the general public has shifted from Amateur Radio being useful, innovative, and an interesting technical activity, to Amateur Radio being perceived as an anachronism and largely irrelevant (except in the direst of communications emergencies). Summarized: “Ham Radio – that’s still around?”
Amateur Radio’s service to the public for emergency communications is being supplanted by improved commercial and government communications capabilities such as improved Iridium2 satellite phones, the FirstNET3 public safety cellular system, and most recently, the nomadic capability of the Starlink4 broadband satellite system.
Amateur Radio has continuously developed unique technological innovations in radio technology, and that has not only continued in the modern era but has accelerated. However, that ongoing, unique contribution to technological society is, increasingly, unrecognized. That is unfortunate. If regulators, lawmakers, industry, the general public... and the Amateur Radio community itself understood the unique contributions to technological innovations in radio technology that Amateur Radio continues to develop, perhaps such recognition might improve Amateur Radio’s perception that it remains a valuable part of society, worthy of continued access to portions of the electromagnetic spectrum.
Keywords
Amateur, Radio, Operator, Ham, Wireless, Technology, Innovation, Spectrum, Digital, VHF, UHF, SHF, Microwave, Communications, ARDC, Techies, Makers, Hackers, Zero Retries Newsletter, Experimentation, Research and Development, FlexRadio, Steve Stroh N8GNJ
Background
For decades, I have been an admirer of technological innovation in Amateur Radio. Not just new technologies like Packet Radio emerging in the 1980s, but new techniques for old problems such as digital techniques enabling reliable communications via unreliable mediums such as the High Frequency (HF)5 (aka Shortwave) portions of the electromagnetic spectrum.
Amateur Radio’s unique culture, the varying characteristics of various portions of spectrum allocated to (or shared with) Amateur Radio operations, and the many highly capable and skilled Amateur Radio Operators, have resulted in a fertile, and welcoming “experimental zone” for technological innovation in radio technologies. Until recent decades, that culture of technological innovation was widely recognized, and encouraged. In the last few decades, the recognition of
1 Email – [email protected]
2 https://www.iridium.com/network/
3 https://firstnet.gov/network
4 https://www.starlink.com/rv
5 https://en.wikipedia.org/wiki/High_frequency
A Brief Survey of Technological Innovation in Amateur Radio
Amateur Radio’s utility and contributions to technological innovation have been deprecated to near irrelevence... at least in popular perception... by ubiquitous Internet access, mobile phones, caricatures of Amateur Radio as “Grandpa sitting in the basement tapping on a Morse Code key”, and most notably, the removal of old barriers to individuals communicating across international borders.
A primary reason that this is a concern for society is that it has become irrevocably dependent on radio technology as the primary method of communications for mobile devices, most notably cellular technology, wireless local area networks (Wi-Fi), and most recently, direct-to-user satellite communications. For many people, their mobile phone is their only method of communications and media consumption. Much of that technology has been developed and manufactured in China. Dependence on China for such a critical infrastructure function is proving to be fraught with peril. To counter that peril, the US and other Western nations must quickly develop additional expertise, and personnel, “in nation” to better develop and support this now-critical wireless infrastructure. Amateur Radio can be a “training ground” for developing familiarity and expertise with radio technology, leading to careers in developing and supporting radio technology... but only if Amateur Radio is recognized as a useful and interesting.
The rise of technology specialists, especially those trained in Information Technology (IT), the “Maker culture”6, and the “Hacking Culture”7 have breathed new life into Amateur Radio. “Techies” have discovered Amateur Radio as an enabling technology for supporting experimentation with Information Technologies (such as building hobbyist / not-for-profit wide- area microwave networks). Makers have discovered that there are incredibly interesting things that they can add to their personal knowledge base and practical projects based on capabilities Amateur Radio has long taken for granted, such as long-range communications via VHF / UHF repeaters. Hackers have discovered Amateur Radio as a fertile “playground” for their experiments and expansion of knowledge about radio technology, such as Software Defined Receivers... and Transmitters (with an Amateur Radio license).
I started the Zero Retries Newsletter8 in July, 2021 out of frustration that the totality of technological innovation in Amateur Radio wasn’t being recognized by the Amateur Radio community, its regulators, and especially the public at large. Specifically, I was worried about the growing public perception that Amateur Radio is irrelevant, or worse, an anachronism. Such a perception, if it is to continue for much longer, may prove catastrophic to Amateur Radio, most notably in the loss of Amateur Radio access to various portions of spectrum. To date I’ve published more than fifty weekly issues of Zero Retries, and each issue highlights some aspect of technological innovation in Amateur Radio.
Literally, Amateur Radio is a license to experiment with radio technology and a welcoming “innovation zone” to develop new and exciting technological innovations in radio technology. I hope to make that point with the vignettes in this paper.
6 https://en.wikipedia.org/wiki/Maker_culture
7 https://en.wikipedia.org/wiki/Hacker_culture
8 https://zeroretries.substack.com (will eventually migrate to https://zeroretries.org)
...
Read the rest of the paper at:
https://www.superpacket.org/n8gnj_dcc_2022_final_for_web.pdf
Posted by Steve Stroh on September 16, 2022 at 06:30 AM in Amateur Radio Future, ARDC, AREDN, ARRL and TAPR DCC, Conferences, D-Star, General Commentary, Growing Amateur Radio, Internet, Microwave, New Packet Radio, Packet Radio, Presentations / Talks, RadioMirror, Radios, Regulatory, Satellite, Software Defined Transceiver, SuperPacket Web Pages, TCP/IP, WSJT Modes | Permalink