💾 Archived View for freedombone.net › mesh_usage.gmi captured on 2020-11-07 at 00:40:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

⯇ Go Back

Freedombone Mesh Network: How to use it

When you first boot from the USB drive the system will create some encryption keys, assign a unique network address to the system and then reboot itself. When that's done you should see a prompt asking for a nickname. This nickname just makes it easy for others to initially find you on the mesh and will appear in the list of peers.

After a minute or two if you are within wifi range and there is at least one other peer on the network then you should see additional icons appear on the desktop, such as Peers and Chat.

Boot trouble

If the system doesn't boot and reports an error which includes /dev/mapper/loop0p1 then reboot with Ctrl-Alt-Del and when you see the grub menu press e and manually change /dev/mapper/loop0p1 to /dev/sdb1, then press Ctrl-x. If that doesn't work then reboot and try /dev/sdc1 instead.

After the system has booted successfully the problem should resolve itself on subsequent reboots.

Set the Date

On the ordinary internet the date and time of your system would be set automatically via NTP. But this is not the internet and so you will need to manually ensure that your date and time settings are correct. You might need to periodically do this if your clock drifts. It's not essential that the time on your system be highly accurate, but if it drifts too far or goes back to epoch then things could become a little confusing in regard to the order of blog posts.

Right click on the date in the top right corner of the screen. Select preferences, then click the Time Settings button. You can then select the date from the calendar and set the time, then click the Set System Time button. Enter the default password, which is freedombone.

Check network status

Unlike with ordinary wifi, on the mesh you don't get a signal strength icon and so it's not simple to see if you have a good connection.

Select the wifi icon on the desktop and enter the password 'freedombone'. The network configuration will go into a monitoring mode and in the bottom right side of the window you will be able to see signal strength and other parameters. This can help you to locate systems or adjust antennas to get the best wifi performance.

When you are finished close the window and then select the Network Restart desktop icon, which will restart the B.A.T.M.A.N. network. You can also use the restart icon if you are within range of the mesh network but the Chat and Peers icons do not automatically appear after a few minutes.

Connecting to the internet

      ░░░░░░░░░░            ░░░░░░░░░░
      ░        ░            ░        ░
      ░        ░  █  █  █   ░        ░
      ░░░░░░░░░░            ░░░░░░░░░░
      ▓▓▓▓▓▓▓▓▓▓   p2p      ▓▓▓▓▓▓▓▓▓▓
     ▓▓▓▓▓▓▓▓▓▓▓▓  Wifi    ▓▓▓▓▓▓▓▓▓▓▓▓
                   network
             █                █
               █            █
                 ░░░░░░░░░░
                 ░        ░
                 ░        ░
                 ░░░░░░░░░░
                 ▓▓▓▓▓▓▓▓▓▓
          ██████▓▓▓▓▓▓▓▓▓▓▓▓
          █
 ethernet █
 cable    █      ░        ░
          █      ░        ░
          █      ░░░░░░░░░░
          ███████░░░░░░░░░░
               Internet Router

If you need to be able to access the internet from the mesh then connect one of the peers to an internet router using an ethernet cable (shown as yellow above), then reboot it. Other peers in the mesh, including any attached mobile devices, will then be able to access the internet using the ethernet attached peer as a gateway. Freifunk works in a similar way.

If for legal reasons you need to connect to the internet via a VPN then wireguard is preinstalled and you can use it from the terminal.

Connecting two meshes over the internet via a VPN tunnel

      ░░░░░░░░░░            ░░░░░░░░░░
      ░        ░            ░        ░
      ░        ░  █  █  █   ░        ░
      ░░░░░░░░░░            ░░░░░░░░░░
      ▓▓▓▓▓▓▓▓▓▓   p2p      ▓▓▓▓▓▓▓▓▓▓
     ▓▓▓▓▓▓▓▓▓▓▓▓  Wifi    ▓▓▓▓▓▓▓▓▓▓▓▓
                   network
             █       1        █
               █            █
                 ░░░░░░░░░░                      ░░░░░░░░░░
                 ░        ░                      ░        ░ p2p
                 ░        ░                      ░        ░ Wifi
                 ░░░░░░░░░░                      ░░░░░░░░░░ Network 2
                 ▓▓▓▓▓▓▓▓▓▓                      ▓▓▓▓▓▓▓▓▓▓
          ██████▓▓▓▓▓▓▓▓▓▓▓▓                    ▓▓▓▓▓▓▓▓▓▓▓▓██████
          █                                                      █
 ethernet █                                                      █
 cable    █      ░        ░                      ░        ░      █
          █      ░        ░    * C L O U D Y *   ░        ░      █
          █      ░░░░░░░░░░    I N T E R N E T   ░░░░░░░░░░      █
          ███████░░░░░░░░░░▓▓▓▓▓▓▓▓▓ VPN ▓▓▓▓▓▓▓▓░░░░░░░░░░███████
              Internet Router 1                Internet Router 2

Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together.

Connect your peer/laptop to your internet router with an ethernet cable and forward udp port 51820 from your internet router to the computer you've just plugged in.

Select the 'Connect meshes' icon and enter the IP address and Wireguard public key for an internet connected peer in the other mesh. They may also need to do the same to get bi-directional communications.

Wireguard

Mobile devices (phones, etc)

To allow mobile devices to connect to the mesh you will need a second wifi adapter connected to your laptop/netbook/SBC. Plug in a second wifi adapter then reboot the system. The second adaptor will then create a wifi hotspot (the connection shown in green above) which mobile devices can connect to. The hotspot name also contains its local IP address (eg. "mesh-192.168.1.83").

On a typical Android device go to Settings then Security and ensure that Unknown sources is enabled. Also within Wifi from the Settings screen select the mesh hotspot. The password is "freedombone". Open a non-Tor browser and navigate to the IP address showing in the hotspot name. You can then download and install mesh apps.

On some android devices you may need to move the downloaded APK file from the Downloads directory to your home directory before you can install it.

Chat System

Ensure that you're within wifi range of at least one other mesh peer (could be a router or client) and then you should see that the Chat and Peers icons appear. Select the peers icon and you should see a list of peers on the mesh.

Selecting a peer followed by the Ok button will copy their Tox ID to the clipboard.

Now select the Chat icon and once you are connected you should see the status light turn green. If after a few minutes you don't get the green status light then try closing and re-opening the Tox chat application. Select the plus button to add a friend and then paste in a Tox ID.

The other peer can then accept or decline your friend request.

You can also select an avatar by selecting the grey head and shoulders image.

And by selecting the peer from the list on the left hand side the chat can begin.

One important point is that by default the microphone is turned off. When doing voice chat you can select the microphone volume with the drop down slider in the top right corner of the screen.

At present video doesn't work reliably, but text and voice chat do work well.

Collaborative document editing

The mesh system includes the ability to collaboratively edit various sorts of documents using CryptPad. CryptPad is an almost peer-to-peer system in that it is designed for a client/server environment but that the server aspect of it is very minimal and limited to orchestrating the connected clients. With CryptPad installed on each mesh peer it effectively enables peer-to-peer collaborative editing. Documents are ephemeral and forgotten unless they're exported or copy-pasted to permanent storage.

To create a document click on the CryptPad icon. Depending upon the specifications of your system it may take a few seconds to load, so don't be too disturned if the browser contents look blank for a while. Select Rich Text Pad and give yourself a username.

If you have the chat system running you can then copy and paste the URL for your pad into the chat, and the other peer can then open the link and edit the document with you. You can repeat that for however many other peers you wish to be able to edit.

Sharing Files

You can make files publicly available on the network simply by dragging and dropping them into the Public folder on the desktop. To view the files belonging to another peer select the desktop icon called Visit a site and enter the nickname or Tox ID of the other peer.

Blogging

To create a blog post select the Blog icon on the desktop and then select New blog entry and Ok. Edit the title of the entry and add your text. You can also include photos if you wish - just copy them to the CreateBlog/content/images directory and then link to them as shown.

To finish your blog entry just select Save and then close the editor. On older hardware it may take a while to publish the results, and this depends upon the amount of computation needed by IPFS to create file hashes. If you make no changes to the default text then the new blog entry will not be saved.

You can also visit other blogs, edit or delete your previous entry and change your blog theme.