howto:aredn:meshchat
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:aredn:meshchat [2021/11/08 16:25] – va7fi | howto:aredn:meshchat [2021/11/09 07:23] (current) – removed va7fi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Mesh Chat ====== | ||
| - | |||
| - | Using Mesh Chat is easy: simply click on a Mesh Chat service and enter your callsign. | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | |||
| - | At the moment, we have four Mesh Chat instances that sync to each other: | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | |||
| - | ===== Hosting a Mesh Chat Instance ===== | ||
| - | Mesh Chat can be installed directly on the hAP, but it's not recommended because it uses resources and it offers very little storage for files: | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | In contrast, a server install (coming up next) frees up resources and offers more space: | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | |||
| - | |||
| - | ===== Mesh Chat on a Linux Server ===== | ||
| - | Before we get started with the details, let's have a look at the big picture first. | ||
| - | * The AREDN Node name configured in the Basic Setup page. Mine in is '' | ||
| - | * The Hostname of the linux computer running the service. | ||
| - | * The Service name. Here we use '' | ||
| - | |||
| - | Here's where that information shows up on the '' | ||
| - | {{ : | ||
| - | |||
| - | And in the Mesh Chat app: | ||
| - | {{ : | ||
| - | |||
| - | In what follows, it'll be important to keep track of where to enter this information so it's configured properly. | ||
| - | |||
| - | |||
| - | ==== Fresh LinuxMint Install ==== | ||
| - | |||
| - | * Install [[https:// | ||
| - | |||
| - | * Change the Linux hostname. | ||
| - | sudo hostnamectl set-hostname VA7FI-Linux</ | ||
| - | |||
| - | |||
| - | ==== Mesh Chat Install ==== | ||
| - | Following the instructions on [[http:// | ||
| - | * Install the dependencies:< | ||
| - | sudo aptitude install curl apache2 | ||
| - | </ | ||
| - | |||
| - | * Download and install Mesh Chat:< | ||
| - | wget https:// | ||
| - | sudo dpkg -i meshchat_1.02_all.deb | ||
| - | </ | ||
| - | |||
| - | * Edit the configuration file:< | ||
| - | sudo pico / | ||
| - | </ | ||
| - | our $pi_zone | ||
| - | our $local_meshchat_node | ||
| - | </ | ||
| - | |||
| - | On LinuxMint there' | ||
| - | |||
| - | * Create these folders:< | ||
| - | sudo mkdir / | ||
| - | sudo mkdir / | ||
| - | </ | ||
| - | * And change the ownership and permissions:< | ||
| - | sudo chown www-data: | ||
| - | sudo chmod 770 -R / | ||
| - | </ | ||
| - | |||
| - | * Edit the config file:< | ||
| - | sudo pico / | ||
| - | </ | ||
| - | |||
| - | * And replace every instance of ''/ | ||
| - | |||
| - | * Restart the services:< | ||
| - | sudo systemctl daemon-reload | ||
| - | sudo / | ||
| - | sudo / | ||
| - | </ | ||
| - | |||
| - | At this point, you should be able to run Mesh Chat from the computer where it's installed using this address: | ||
| - | <wrap indent> | ||
| - | But it won't be able to talk to your AREDN node yet. | ||
| - | |||
| - | |||
| - | ==== AREDN Configuration ==== | ||
| - | Install the meshchat-api package: | ||
| - | * Download it from [[https:// | ||
| - | * From the '' | ||
| - | |||
| - | From the '' | ||
| - | - Setup a DHCP Address Reservation for the Linux computer | ||
| - | - Advertise the service | ||
| - | - Forward WAN port 8080 to LAN port 80 | ||
| - | {{ : | ||
| - | |||
| - | To synchronize Mesh Chat instances together, ensure that the " | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | |||
howto/aredn/meshchat.1636417509.txt.gz · Last modified: by va7fi
