From 59ef8ff65def599bfc194f05bd6174bb3f3f12b7 Mon Sep 17 00:00:00 2001
From: Bob Mottram
ssh into the system with:
@@ -288,9 +288,9 @@ Only use ports 443 or 80 for VPN as an absolute last resort, since doingWhen the installation is complete you can download your VPN keys and configuration files onto your local machine.
@@ -306,7 +306,7 @@ You will need to ensure that the openvpn and stunnel packages aresudp pacman -S openvpn stunnel4 +sudo pacman -S openvpn stunnel4
Avoiding censorship can be a cat and mouse game, and so if the port you're using for VPN gets blocked then you may want to change it.
@@ -348,16 +348,16 @@ Avoiding censorship can be a cat and mouse game, and so if the port you're using-Select Administrator controls then App Settings then vpn. Choose Change TLS port and enter a new port value. You can then either manually change the port within your VPN configuration files, or download them again as described in the Usage section above. +Select Administrator controls then App Settings then vpn. Choose Change TLS port and enter a new port value. You can then either manually change the port within your VPN configuration files, or download them again as described in the Usage section above.
-It's possible that your VPN keys might get lost or compromised on your local machine. If that happens you can generate new ones from the Administrator controls by going to App Settings then vpn then choosing Regenerate keys for a user and downloading the new keys as described in the Usage section above. +It's possible that your VPN keys might get lost or compromised on your local machine. If that happens you can generate new ones from the Administrator controls by going to App Settings then vpn then choosing Regenerate keys for a user and downloading the new keys as described in the Usage section above.
There may be situations where you need to write the same disk image to multiple drives at the same time in order to maximize rate of deployment. In the instructions given below the dd command is used for writing to the target drive, but to write to multiple drives you can use a tool such as GNOME MultiWriter.
@@ -384,9 +384,9 @@ The MultiWriter tool is also available within mesh client images, so that you caRouters are intended to build network coverage for an area using small and low cost hardware. You can bolt them to walls or leave them on window ledges. They don't have any user interface and their only job is to haul network traffic across the mesh and to enable peers to find each other via running bootstrap nodes for Tox and IPFS. Copy the image to a microSD card and insert it into the router, plug in an Atheros wifi dongle and power on. That should be all you need to do.
It's better not to trust images downloaded from random places on the interwebs. Chances are that unless you are in the web of trust of the above GPG signatures then they don't mean very much to you. If you actually want something trustworthy then build the images from scratch. It will take some time. Here's how to do it.
@@ -571,9 +571,9 @@ The resulting image can be copied to a microSD card, inserted into a BeagleboneIf you want to make your own specially branded version, such as for a particular event, then to change the default desktop backgrounds edit the images within img/backgrounds and to change the available avatars and desktop icons edit the images within img/avatars. Re-create disk images using the instructions shown previously.
@@ -583,9 +583,9 @@ If you need particular dconf commands to alter desktop appearance or behaWhen 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 username. This username just makes it easy for others to initially find you on the mesh and will appear in the list of users.
@@ -595,9 +595,9 @@ After a minute or two if you are within wifi range and there is at least one othIf 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.
@@ -607,9 +607,9 @@ After the system has booted successfully the problem should resolve itself on suOn 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.
@@ -619,9 +619,9 @@ On the ordinary internet the date and time of your system would be set automaticUnlike 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.
@@ -644,9 +644,9 @@ When you are finished close the window and then select the Network RestartIf 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, 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.
@@ -654,11 +654,62 @@ If you need to be able to access the internet from the mesh then connect one ofAfter connecting one peer to the internet you may need to reboot other peers in order to update their network configurations.
+ ++If for legal reasons you need to connect to the internet via a VPN then openvpn is preinstalled and you can run the command: +
+ +sudo openvpn myclient.ovpn ++
+Where myclient.ovpn comes from your VPN provider and with the password "freedombone". +
+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. VPN configuration, pem and stunnel files exist within the home directory. Edit the configuration with: +
+ +nano ~/client.ovpn ++
+Edit the IP address or domain for the mesh that you wish to connect to within the route command: +
+ +route [mesh IP or domain] 255.255.255.255 net_gateway ++
+Then you can connect to the other mesh with: +
+ +cd /home/fbone
+sudo stunnel stunnel-client.conf
+sudo openvpn client.ovpn
+
++Using the password "freedombone". From a deep packet inspection point of view the traffic going over the internet will just look like any other TLS connection to a server. +
+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 which mobile devices can connect to. The hotspot name also contains its local IP address (eg. "mesh-192.168.1.83").
@@ -680,9 +731,9 @@ On some android devices you may need to move the downloaded APK file from theEnsure 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 Other Users icons appear. Select the users icon and you should see a list of users on the mesh. 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 copy and paste in a Tox ID from the users list.
@@ -741,9 +792,9 @@ At present video doesn't work reliably, but text and voice chat do work well.Patchwork is available as a social networking system for the mesh. Like all social network systems it has a stream of posts and you can follow or unfollow other users. You can also send private messages to other users with end-to-end encryption.
@@ -778,9 +829,9 @@ The Secure Scuttlebutt protocol which Patchwork is based upon is intended to beYou 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 user select the desktop icon called Visit a site and enter the username or Tox ID of the other user.
@@ -795,9 +846,9 @@ You can make files publicly available on the network simply by dragging and dropTo create a blog post select the Blog icon on the desktop and then use the up and down cursor keys, space bar and enter key to add a new entry. 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.