AREDN: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 8: Line 8:


=== on a ProxMox Virtual Machine ===
=== on a ProxMox Virtual Machine ===
I installed on [[Tern]] this because my travails on VirtualBox left me wondering what a supported install looked like.
I installed on [[Tern]] this because my travails on VirtualBox left me wondering what a supported install looked like.It was a hard fail because Proxmox would not work on this machine.


=== on a VirtualBox Virtual Machine ===
=== on a VirtualBox Virtual Machine ===
Line 39: Line 39:


First network interface is now Host-only. I had top create an interface "VBoxManage hostonlyif create" because File->Preferences no longer has "Network" huh. '''STILL NO GO.''' Out of the (virtual!) box it supposedly has DHCP enabled on WAN. '''NOT ON the VM image!!''' I see only static entries in /etc/config/network.
First network interface is now Host-only. I had top create an interface "VBoxManage hostonlyif create" because File->Preferences no longer has "Network" huh. '''STILL NO GO.''' Out of the (virtual!) box it supposedly has DHCP enabled on WAN. '''NOT ON the VM image!!''' I see only static entries in /etc/config/network.
=== on QEMU ===
Just keep on trying. I already installed QEMU on Murre but now installing QEMU on Bellman. (Debian) (I figured I might as well get ready to test Raspberry Pi images too (arm))
<code>sudo apt install qemu-system-x86 qemu-system-arm qemu-system-common</code>
Here on Bellman I will be doing everything from command line. I am fed up with the mysteries of the AREDN package so I am first going to load a Debian image [https://laotzu.ftp.acc.umu.se/images/cloud/bookworm/latest/debian-12-nocloud-amd64.raw (qemu RAW format)]. Then openwrt. Finally, AREDN.


== Build your own ==
== Build your own ==

Revision as of 02:59, 13 December 2024

"Amateur Radio Emergency Digital Network" or some such. They pronounce this "ARRR DIN" like a pirate. I want to call it "ARR-AH-DIN". Too bad for me.

Main page is at https://arednmesh.org/

The nearest neighbor for me is the Willamette Valley Mesh Network.

Building an Internet-only node

on a ProxMox Virtual Machine

I installed on Tern this because my travails on VirtualBox left me wondering what a supported install looked like.It was a hard fail because Proxmox would not work on this machine.

on a VirtualBox Virtual Machine

Officially they support ProxMox (don't have one), VMWare ($) and QEMU. Setting up to run in VirtualBox was easy enough, now I just have to sort the networking out.

2024-12-07

VBoxManage convertfromraw --format VDI aredn-3.24.10.0-x86-64-generic-ext4-combined.img aredn-3.24.10.0-x86-64-generic-ext4-combined.vdi
Converting from raw image file="aredn-3.24.10.0-x86-64-generic-ext4-combined.img" to file="aredn-3.24.10.0-x86-64-generic-ext4-combined.vdi"...
Creating dynamic image with size 126353408 bytes (121MB)...
  • Create in a vbox machine (128MB RAM, 2 CPUs), remove the IDE controller, and add a second network adapter and set it to Bridged mode
  • Launch the machine.
  • It shows a hostname of NOCALL, it is possible to set a hostname using "W6GKD-astoria", like this, but this is the wrong thing. Instead run "/usr/local/bin/firstuse-setup W6GKD-astoria" and that will set the hostname and do other as-yet unspecified stuff. I chose the name based on their rules which say make the callsign all caps.
uci set system.@system[0].hostname='W6GKD-astoria'
uci commit system
/etc/init.d/system reload
  • Reboot. This gets me some IP addresses in /etc/hosts. Funky ones.
  • In the console, entered commands to set br-lan to DHCP and rebooted. That got me a usable IP address on my lan.
  • Connected with password "hsmm" using ssh -p 2222 [email protected]
  • Rebooted. Now there are services on port 80 and 8080 but not reachable (?).

Sorting out the networking

Documentation on the network interfaces is here. How to guides: Home Router

The crucial part I missed is that it sets up its WAN port as the place it will connect to your network. From its perspective this makes perfect sense. The AREDN network is the LAN and the outside world is the WAN. Well maybe that makes sense. I mean, my network is how it will reach the Internet. If I put a radio on one of its LAN ports, that's where the mesh network would be.

First network interface is now Host-only. I had top create an interface "VBoxManage hostonlyif create" because File->Preferences no longer has "Network" huh. STILL NO GO. Out of the (virtual!) box it supposedly has DHCP enabled on WAN. NOT ON the VM image!! I see only static entries in /etc/config/network.

on QEMU

Just keep on trying. I already installed QEMU on Murre but now installing QEMU on Bellman. (Debian) (I figured I might as well get ready to test Raspberry Pi images too (arm))

sudo apt install qemu-system-x86 qemu-system-arm qemu-system-common

Here on Bellman I will be doing everything from command line. I am fed up with the mysteries of the AREDN package so I am first going to load a Debian image (qemu RAW format). Then openwrt. Finally, AREDN.

Build your own

Source code is in github https://github.com/aredn/aredn

I installed docker on Murre for this.

Resources

Go to https://arednmesh.org/ for information on the big project; if you accidentally go to https://aredn.org/ you will see a long manifesto about trademarks, whew. Glad I missed all that.