howto:aredn:meshchat:home
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:aredn:meshchat:home [2021/11/09 12:01] – [Hosting a Mesh Chat Instance] va7fi | howto:aredn:meshchat:home [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Mesh Chat ====== | ||
| - | |||
| - | Using Mesh Chat is easy: simply click on a Mesh Chat service and enter your callsign. | ||
| - | |||
| - | {{ meshchat01.png | ||
| - | |||
| - | {{ meshchat02.png? | ||
| - | |||
| - | |||
| - | At the moment, we have five Mesh Chat instances that sync to each other: | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | * [[http:// | ||
| - | |||
| - | ===== Hosting a Mesh Chat Instance ===== | ||
| - | |||
| - | If you want to host a Mesh Chat instance, you install it directly on the hAP, but it's not recommended because it uses resources and it offers very little storage for files: | ||
| - | |<100% - ->| | ||
| - | ^Mesh Chat on a hAP ^Mesh Chat on a Linux Laptop | | ||
| - | | {{ storage01.png? | ||
| - | |||
| - | |||
| - | |||
| - | ===== Mesh Chat on a Linux Server ===== | ||
| - | Before we get started with the details, let's have a look at the big picture. | ||
| - | * The AREDN Node name configured in the '' | ||
| - | * The Hostname of the linux computer running the service. | ||
| - | * The Service name. Here we use '' | ||
| - | |||
| - | Here's where that information shows up on the '' | ||
| - | {{ statuspage.png |}} | ||
| - | |||
| - | And in the Mesh Chat app: | ||
| - | {{ meshchat00.png |}} | ||
| - | |||
| - | In what follows, it'll be important to keep track of where to enter this information so it's configured properly. | ||
| - | |||
| - | |||
| - | ==== Server Install ==== | ||
| - | |||
| - | * Follow the steps in the Prerequisites section of the [[../ | ||
| - | |||
| - | |||
| - | ==== Mesh Chat Install ==== | ||
| - | Following the instructions on [[http:// | ||
| - | |||
| - | * 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 | ||
| - | - Don't for get to < | ||
| - | |||
| - | {{ meshchatportforwarding.png }} | ||
howto/aredn/meshchat/home.1636488088.txt.gz · Last modified: by va7fi
