Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] - New release v0.5.0-rc.1 to master #390

Merged
merged 328 commits into from
Mar 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
63a88c7
migrated to interfaces.d
darkdrgn2k Mar 23, 2019
4e4234e
Corrected BOARD_MODEL unset detection
darkdrgn2k Mar 23, 2019
a031242
Swapped board model and name in starting text
darkdrgn2k Mar 23, 2019
d5f5f07
Fxied incorrect family variable
darkdrgn2k Mar 23, 2019
9fcdcf6
Corrected BOARD_NAME variable
darkdrgn2k Mar 23, 2019
7ffc38c
Updated name and model confusion
darkdrgn2k Mar 23, 2019
6e0cebf
correct name model confusion
darkdrgn2k Mar 23, 2019
9085413
Board name/modem confusion
darkdrgn2k Mar 23, 2019
b93c5a7
corrected archetecture
darkdrgn2k Mar 23, 2019
d547f92
Added json for nums (#367)
makew0rld Mar 24, 2019
f3318f7
Enable tunnel on install
darkdrgn2k Mar 24, 2019
40a66f4
Create /etc/yggdrasil.iptunnel.conf if notexist
darkdrgn2k Mar 24, 2019
716210b
Corrected yggdrasil iptunnel install selection
darkdrgn2k Mar 24, 2019
04b4a3b
Remove unused variable
darkdrgn2k Mar 24, 2019
053ac4f
Added nodes about x86
darkdrgn2k Mar 24, 2019
9d27d43
Merge pull request #355 from tomeshnet/removenm
darkdrgn2k Mar 24, 2019
4025b8a
Corrected sed line
darkdrgn2k Mar 24, 2019
8134064
Corrected name of Model a and b
darkdrgn2k Mar 24, 2019
1523558
interfaces.d update
darkdrgn2k Mar 24, 2019
e81207d
Update uninstall
darkdrgn2k Mar 24, 2019
a5bdb63
Predictive networking and NM cleanup
darkdrgn2k Mar 25, 2019
cb3d8c2
Removed exit for i386
darkdrgn2k Mar 25, 2019
825d3db
Removed incorrect comment
darkdrgn2k Mar 25, 2019
f5f4080
Prevent yggdrasill from triggering ipv6 lookups
darkdrgn2k Mar 25, 2019
6129b5e
Added note about older version of grafana
darkdrgn2k Mar 25, 2019
84f690e
Merge pull request #340 from tomeshnet/i386
darkdrgn2k Mar 25, 2019
9e8e627
Updated route over to wlan-ap
darkdrgn2k Mar 26, 2019
8b997bc
added ipv6subnetint
darkdrgn2k Mar 26, 2019
e39064d
wlan-ap interface variable
darkdrgn2k Mar 26, 2019
f5f6fe7
Corrected syntax errors
darkdrgn2k Mar 26, 2019
02dce3a
Update MODULES.md
darkdrgn2k Mar 26, 2019
70b0908
added missing /32
darkdrgn2k Mar 26, 2019
e8bc412
Created interfaces.d wlan-ap
darkdrgn2k Mar 26, 2019
7d5e9a6
Fixed missing quote
darkdrgn2k Apr 2, 2019
91dc05a
added missing -6 flag
darkdrgn2k Apr 2, 2019
8dde9b8
dont ask to remove network manager
darkdrgn2k Apr 3, 2019
19e64b0
hostapd cleanup
darkdrgn2k Apr 3, 2019
20930e4
Merge pull request #369 from tomeshnet/master
darkdrgn2k Apr 5, 2019
5f129a8
corrected YGGINT to OUTINT
darkdrgn2k Apr 6, 2019
9581a32
install module
darkdrgn2k Apr 6, 2019
120163b
Merge pull request #371 from tomeshnet/develop
darkdrgn2k Apr 6, 2019
bcf5259
Update docs/MODULES.md
makew0rld Apr 7, 2019
a2cf7a2
Updates to MODULES.md (#356)
makew0rld Apr 7, 2019
e339b19
Update scripts/status
makew0rld Apr 7, 2019
f1110d3
Update docs/MODULES.md
makew0rld Apr 7, 2019
1d469ab
Update scripts/yggdrasil/install
makew0rld Apr 7, 2019
6ad294b
Update docs/MODULES.md
makew0rld Apr 7, 2019
c987936
Update docs/MODULES.md
makew0rld Apr 7, 2019
2c8a83f
Syntax update
darkdrgn2k Apr 7, 2019
8e15256
Merge branch 'ygg-tunnel-ipv6' of https://github.com/tomeshnet/protot…
darkdrgn2k Apr 7, 2019
16aada8
Update docs/MODULES.md
makew0rld Apr 7, 2019
6c4e6e3
Update docs/MODULES.md
makew0rld Apr 7, 2019
fd57463
Update docs/MODULES.md
makew0rld Apr 7, 2019
8b3cc0e
Update docs/MODULES.md
makew0rld Apr 7, 2019
19cce15
Update docs/MODULES.md
makew0rld Apr 7, 2019
1c17791
Update docs/MODULES.md
makew0rld Apr 7, 2019
3d1da3c
Users should be told where they can find this key.
darkdrgn2k Apr 8, 2019
7e16778
Update docs/MODULES.md
makew0rld Apr 8, 2019
477dce1
Update scripts/cjdns/install
makew0rld Apr 8, 2019
37b3ada
Update docs/MODULES.md
makew0rld Apr 8, 2019
dbb3665
Update scripts/cjdns/install
makew0rld Apr 8, 2019
a51e843
Update scripts/cjdns/install
makew0rld Apr 8, 2019
ff5e895
Update scripts/cjdns/install
makew0rld Apr 8, 2019
e6cd30b
Update scripts/cjdns/install
makew0rld Apr 8, 2019
957432c
Update scripts/cjdns/install
makew0rld Apr 8, 2019
5d6995d
Install cleanup
darkdrgn2k Apr 8, 2019
58fa971
Merge branch 'ygg-tunnel-ipv6' of https://github.com/tomeshnet/protot…
darkdrgn2k Apr 8, 2019
1428a8d
Update scripts/cjdns/install
makew0rld Apr 8, 2019
6d67349
Update scripts/cjdns/install
makew0rld Apr 8, 2019
63fa843
Update scripts/cjdns/uninstall
makew0rld Apr 8, 2019
e73a2c5
Update scripts/cjdns/uninstall
makew0rld Apr 8, 2019
90ea350
Update scripts/install2
makew0rld Apr 8, 2019
208c159
Update scripts/install2
makew0rld Apr 8, 2019
d898691
Update scripts/install2
makew0rld Apr 8, 2019
f878e2e
Review Patches
darkdrgn2k Apr 8, 2019
1a79b9d
sudo systemctl daemon-reload added
darkdrgn2k Apr 8, 2019
d8bb17e
Merge branch 'develop' into ygg-tunnel-ipv6
darkdrgn2k Apr 8, 2019
0d44616
Merge pull request #316 from tomeshnet/ygg-tunnel-ipv6
darkdrgn2k Apr 13, 2019
2156e09
cleanup of modules file
darkdrgn2k Apr 13, 2019
df5685e
Migrate confset to config.inc
darkdrgn2k Apr 13, 2019
f2d02d6
Added sections and updated config names
darkdrgn2k Apr 13, 2019
6b49c14
Added CKR link to ygg tunnel
darkdrgn2k Apr 13, 2019
24a1c5d
Added better radvd information
darkdrgn2k Apr 13, 2019
90da054
Syntax/grammer suggestions fixed
darkdrgn2k Apr 14, 2019
b80b046
ADded missing config.inc
darkdrgn2k Apr 14, 2019
d305565
syntax and grammer fix
darkdrgn2k Apr 14, 2019
c1a007a
Merge pull request #379 from tomeshnet/yggtunnel-config
darkdrgn2k Apr 14, 2019
c944c64
Move node.js into a seperate module ref #374
darkdrgn2k Apr 14, 2019
4dbd29d
Update install
darkdrgn2k Apr 15, 2019
cac5f49
Update install
darkdrgn2k Apr 15, 2019
23dddda
Update install
darkdrgn2k Apr 15, 2019
747132c
Update install
darkdrgn2k Apr 15, 2019
c4e43b1
Update install
darkdrgn2k Apr 15, 2019
afcb5a3
Update install
darkdrgn2k Apr 15, 2019
6dc3e43
remove grafana database
darkdrgn2k Apr 17, 2019
d21d0c3
Create install.sh
darkdrgn2k Apr 19, 2019
5336970
Create nodeinfo-geolocation
darkdrgn2k Apr 19, 2019
909b526
Update install.sh
darkdrgn2k Apr 19, 2019
4f99a21
Update nodeinfo-geolocation
darkdrgn2k Apr 19, 2019
0a72923
Update install.sh
darkdrgn2k Apr 19, 2019
87b2a68
TOC update
makew0rld Apr 19, 2019
85b1e67
Added netcat remove and install
makew0rld Apr 19, 2019
fbc1d40
Update scripts/grafana/uninstall
makew0rld Apr 19, 2019
f7e516d
Update scripts/grafana/uninstall
makew0rld Apr 19, 2019
af56562
Update docs/MODULES.md
makew0rld Apr 19, 2019
b016ca3
Update docs/MODULES.md
makew0rld Apr 19, 2019
5a9703c
Update docs/MODULES.md
makew0rld Apr 19, 2019
99d6222
Update docs/MODULES.md
makew0rld Apr 19, 2019
6b4c9c3
Update docs/MODULES.md
makew0rld Apr 19, 2019
3351f09
Update docs/MODULES.md
makew0rld Apr 19, 2019
c56f0dc
Update docs/MODULES.md
makew0rld Apr 19, 2019
06d1dfa
Update docs/MODULES.md
makew0rld Apr 19, 2019
e136b0a
Update docs/MODULES.md
makew0rld Apr 19, 2019
69b2a61
Update docs/MODULES.md
makew0rld Apr 19, 2019
9ab714f
Update docs/MODULES.md
makew0rld Apr 19, 2019
38d0397
Update docs/MODULES.md
makew0rld Apr 19, 2019
119a8e2
Merge pull request #377 from tomeshnet/modules.md
darkdrgn2k Apr 19, 2019
5269866
Updated to 0.4.20
makew0rld Apr 19, 2019
84474e7
Merge branch 'modules.md' into config-functions
darkdrgn2k Apr 19, 2019
59239d8
added missing ;
darkdrgn2k Apr 19, 2019
2343b41
Rename config.inc to confset.sh
darkdrgn2k Apr 19, 2019
aa95118
Update install
darkdrgn2k Apr 19, 2019
5f8e7d4
Merge pull request #382 from tomeshnet/grafana-uninstall
darkdrgn2k Apr 19, 2019
4cd1525
Update confset.sh
darkdrgn2k Apr 19, 2019
d4dca41
Merge pull request #388 from tomeshnet/ipfs-420
makew0rld Apr 19, 2019
3b56d99
Added || true for uninstall
makew0rld Apr 19, 2019
d473f43
Merge pull request #381 from tomeshnet/module-nodejs
darkdrgn2k Apr 20, 2019
1f2fd2f
missing BASE_DIR
darkdrgn2k Apr 20, 2019
36933bc
Missing fi in node.js
darkdrgn2k Apr 20, 2019
b3a9c50
Update scripts/yggdrasil-iptunnel/yggdrasil-setup
makew0rld Apr 21, 2019
3aaf651
Merge pull request #378 from tomeshnet/config-functions
darkdrgn2k Apr 21, 2019
438a3ce
Merge pull request #384 from tomeshnet/contribGeoLocation
darkdrgn2k Apr 21, 2019
fd56db7
move confset to seperate binary instead of fucntion
darkdrgn2k Apr 21, 2019
3269eb3
added setconf install
darkdrgn2k Apr 21, 2019
ac87ccf
Update install
darkdrgn2k Apr 21, 2019
42ccd0b
Update install
darkdrgn2k Apr 21, 2019
91c82f6
Update MESH_NAME to config file
darkdrgn2k Apr 21, 2019
92cbd22
added more mesh name variables and hostname
darkdrgn2k Apr 21, 2019
810ac68
Corrected invert match
darkdrgn2k Apr 21, 2019
192c87d
Added iw requirement for mesh
darkdrgn2k Apr 21, 2019
dd41377
Added additional renamed lines
darkdrgn2k Apr 21, 2019
0a0ef8b
Added question and separated lines
makew0rld Apr 22, 2019
43b6fc6
Update scripts/shared/confset/uninstall
makew0rld Apr 23, 2019
ef97af7
Merge pull request #393 from tomeshnet/confset
darkdrgn2k Apr 23, 2019
e5730a9
Update scripts/shared/hostname/install
makew0rld Apr 23, 2019
17bb451
Update scripts/shared/hostname/install
makew0rld Apr 23, 2019
226f3a9
Update scripts/shared/hostname/install
makew0rld Apr 23, 2019
7d83f2b
Update scripts/shared/hostname/install
makew0rld Apr 23, 2019
a5aa1de
Update scripts/shared/hostname/install
makew0rld Apr 25, 2019
cf8969a
moved hostname module lower
darkdrgn2k Apr 25, 2019
d068f6e
added hostname command
darkdrgn2k Apr 25, 2019
21a2d89
Merge pull request #386 from tomeshnet/netcat
makew0rld Apr 27, 2019
4173335
Update mesh-point
darkdrgn2k May 5, 2019
4770860
Update install
darkdrgn2k May 12, 2019
68c0c02
Merge pull request #399 from tomeshnet/meshpoint-fix
darkdrgn2k May 12, 2019
badae22
Merge pull request #394 from tomeshnet/mesh-conf
darkdrgn2k May 12, 2019
2d976dc
Merge pull request #404 from tomeshnet/confset
darkdrgn2k May 12, 2019
59910f7
Fixes #363
darkdrgn2k May 12, 2019
7194e2d
Added troubleshooting guide for wirless
darkdrgn2k May 12, 2019
ece62b0
Added refrence in readme to troubleshoot.mx
darkdrgn2k May 12, 2019
a34d0ef
Merge pull request #402 from tomeshnet/ipfs-reinit-fix
darkdrgn2k May 13, 2019
c97d7e6
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
348f014
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
a97bc47
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
fa5cd27
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
86d6282
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
647f440
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
d9693c2
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
4446bf2
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
c5a4106
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
e5bfba1
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
cc1828c
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
1a972ca
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
b0d1640
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
5ec113c
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
63da73a
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
d25b186
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
b0768f2
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
88bf8e1
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
9ab2f78
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
f48eda5
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
01e36b1
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
ae51561
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
de9f4ad
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
c08dfa4
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
06e1024
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
34c9ce0
Update docs/TROUBLESHOOT.md
darkdrgn2k May 13, 2019
1404c64
Merge pull request #406 from tomeshnet/issue334
darkdrgn2k May 13, 2019
2af4f76
Merge pull request #405 from tomeshnet/issue363
darkdrgn2k May 13, 2019
0ff48da
Merge pull request #409 from tomeshnet/master
darkdrgn2k May 13, 2019
3d8be22
Node.js version bump to 10.x (TLS) (#392)
darkdrgn2k May 16, 2019
e428af7
added sudo to hostname
darkdrgn2k May 18, 2019
bd8094a
Created WITH_EXTRA_NETCAT variable
darkdrgn2k May 18, 2019
83eacde
Added WITH_EXTRA_NETCAT variable
darkdrgn2k May 18, 2019
3b29429
Netcat module
darkdrgn2k May 18, 2019
91abbce
better description of dialog installer
darkdrgn2k May 18, 2019
1a955e6
corrected _ to -
darkdrgn2k May 18, 2019
2bf6b15
corrected wording for NETCAT
darkdrgn2k May 18, 2019
005059f
Added comments
darkdrgn2k May 18, 2019
8695dd5
Update scripts/extra-tools-netcat/install
darkdrgn2k May 21, 2019
7b37359
Update scripts/extra-tools-netcat/install
darkdrgn2k May 21, 2019
4bfb1a4
Merge pull request #411 from tomeshnet/UX
darkdrgn2k May 21, 2019
b2c2029
Moved status install lower for better UX
darkdrgn2k May 21, 2019
bc9e20d
corrected capitalization on variable
darkdrgn2k May 21, 2019
4e59466
remove sed use variable instead
darkdrgn2k May 21, 2019
9f3f4e2
Update install
darkdrgn2k Jun 16, 2019
7219d4d
Patches (#423)
darkdrgn2k Jun 19, 2019
ecb155e
Update install (#420)
makew0rld Jun 24, 2019
0de7141
Contrib folder explanation (#414)
makew0rld Jun 24, 2019
5f76e12
Fix broken line
darkdrgn2k Jul 8, 2019
cdac90c
Patches for Buster (#429)
darkdrgn2k Jul 11, 2019
4f8d158
Added +x to .sh file
darkdrgn2k Jul 19, 2019
743aa4d
Small doc corrections
darkdrgn2k Jul 21, 2019
a3dd827
Switch to Tomesh hosted patchfoo repo (#438)
darkdrgn2k Aug 7, 2019
fca257e
mesh.conf docmentation (#433)
darkdrgn2k Aug 7, 2019
9fcdf12
Update install (#439)
kylerchin Aug 7, 2019
243aea4
Corrected bootstrab Variable (#442)
darkdrgn2k Aug 22, 2019
6cab3b8
JQ Alt in geolocation (#432)
darkdrgn2k Aug 23, 2019
5c9791b
Install errors hostapd (#431)
darkdrgn2k Aug 23, 2019
3549862
Update install (#440)
makew0rld Aug 23, 2019
6cdf6f6
Added detectionfor Raspberry Pi 4 and Buster (#430)
darkdrgn2k Sep 1, 2019
7c68a07
Create install.sh
darkdrgn2k Oct 7, 2019
7643d30
Move to contrib
darkdrgn2k Oct 7, 2019
ecd4f4b
replaced eth0 with br0 for espressobin (#451)
darkdrgn2k Oct 24, 2019
1783938
New shellcheck Fixes (#446)
darkdrgn2k Oct 24, 2019
5ed4676
corrected () into []
darkdrgn2k Oct 25, 2019
40bb2a6
addRoute to addRemoteSubnet migration
darkdrgn2k Oct 25, 2019
653703b
Update yggdrasil-setup
darkdrgn2k Oct 25, 2019
8ee9ac8
Remove old docs (#454)
benhylau Oct 26, 2019
a23e2e1
node export update (#450)
darkdrgn2k Oct 30, 2019
aadc35d
Prometheus Version Bump (#445)
darkdrgn2k Oct 30, 2019
d9359d7
Yggdrasill Gateway+Peer workaround (#437)
darkdrgn2k Oct 30, 2019
8e8e427
BASE_DIR is reassigned for no reason (#464)
darkdrgn2k Nov 25, 2019
2fc4b88
Cjdns iptunnel wait (#462)
darkdrgn2k Nov 25, 2019
556e084
Raspberry Pi Watchdog Fix (#466)
darkdrgn2k Dec 8, 2019
f7ca4f9
Read stdio buffer before asking for entry (#457)
darkdrgn2k Dec 8, 2019
a9914a1
contrib: Captive portal for wlan-ap (#453)
darkdrgn2k Dec 8, 2019
b1dd8f8
Allow non-onboard wifi as AP (#458)
darkdrgn2k Dec 8, 2019
7df9521
Ygg Version 0.3.12 (#465)
darkdrgn2k Jan 18, 2020
61826c7
Patch wpa_supplicant for Raspbian (#434)
darkdrgn2k Jan 18, 2020
f935762
Update install
darkdrgn2k Jan 29, 2020
a97ec3f
#180 patch
darkdrgn2k Jan 29, 2020
f3d5877
Added missing sudo (#471)
darkdrgn2k Jan 31, 2020
1ddc3b3
Added armbian-firmware
darkdrgn2k Jan 31, 2020
ffc9a2a
Fimrware split for armbian
darkdrgn2k Jan 31, 2020
00258c4
Create install.sh
darkdrgn2k Jan 31, 2020
ad88b12
Wrong Branch
darkdrgn2k Jan 31, 2020
85f3dad
Missing -y in apt-get
darkdrgn2k Jan 31, 2020
f4250d0
Correct port 443 protocol (#475)
Artiume Feb 22, 2020
1245c5c
Updated shellcheck issues (#479)
darkdrgn2k Feb 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The following instructions will help you set up an encrypted mesh network on Raspberry Pi's. It takes about 15 minutes to set up a node with the Pi 3. Obviously, to have a mesh you will need more than one node.

Many board that run [Armbian](https://www.armbian.com/) such as many models of Orange Pi hardware are also supported. The same installation steps can be followed, except you would flash the SD card with Armbian instead of Raspbian. See [Hardware Table](#hardware-table) for the full list of supported hardware and check for board specific installation details in our [Frequently Asked Questions](./docs/FAQ.md).
The software also supports Debian running on x86 and x64 boards, and many board that run [Armbian](https://www.armbian.com/) (such as many models of Orange Pi hardware family). The same installation steps can be followed, except you would flash the SD card with Armbian instead of Raspbian or have Debian installed onto the computer. See [Hardware Table](#hardware-table) for the full list of supported hardware and check for board specific installation details in our [Frequently Asked Questions](./docs/FAQ.md).

## Set Up

Expand All @@ -16,7 +16,7 @@ Many board that run [Armbian](https://www.armbian.com/) such as many models of O
* For [802.11s Mesh Point](https://github.com/o11s/open80211s/wiki/HOWTO) wireless links (recommended), device such as the [TP-LINK TL-WN722N v1](http://www.tp-link.com/en/products/details/TL-WN722N.html), [Toplinkst TOP-GS07](https://github.com/tomeshnet/documents/blob/master/technical/20170208_mesh-point-with-topgs07-rt5572.md) or [another supported device](https://github.com/phillymesh/802.11s-adapters/blob/master/README.md).
* For [ad-hoc](https://en.wikipedia.org/wiki/Wireless_ad_hoc_network) wireless links (experimental), any device that supports linux and ad-hoc.

1. Flash the SD card with [Raspbian Stretch Lite](https://www.raspberrypi.org/downloads/raspbian/).
1. Flash the SD card with [Raspbian Buster Lite](https://www.raspberrypi.org/downloads/raspbian/).

1. Create an empty file named **ssh** to enable SSH when the Pi boots:

Expand Down Expand Up @@ -44,6 +44,8 @@ Many board that run [Armbian](https://www.armbian.com/) such as many models of O

During the installation, you may be able to pick a profile, or choose between many modules. To learn what each module is for, look at [MODULES.md](./docs/MODULES.md). This is important for the installation.

There is also the [contrib](./contrib/) folder for software that has been contributed to the project, but which might not actually be maintained by the core developers.

## Check Status

1. Give the Pi about 15 seconds to reboot and SSH back into it. You should find the status of your mesh node automatically printed. You can also print this anytime by running `status`.
Expand Down Expand Up @@ -76,19 +78,21 @@ List of tested hardware:

| Hardware | Base OS | [CJDNS Benchmark](https://github.com/phillymesh/cjdns-optimizations) <sub>(salsa20/poly1305, switching)</sub> | iPerf3 | USB | Ethernet | Notes |
| :-------------------------|:----------------|:--------------------------------------------------------------------------------------------------------------|:-------|:----|:---------|:---------|
| Raspberry Pi 3b+ | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 405k, 119k | ~90 Mbps| 2 | 10/100/1000 | Eth only ~320mbps. Onboard wifi dual band |
| Raspberry Pi 3b | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 350k, 100k | 89 Mbps | 2 | 10/100 | |
| Raspberry Pi 2 | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 145k, 55k | 39 Mbps | 2 | 10/100 | |
| Raspberry Pi 1 A+ | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 35k, - | ~9 Mbps | 1 | None | |
| Raspberry Pi 1 B+ | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 51k, 22k | ~8 Mbps | 2 | 10/100 | |
| Genericx x86 | Debian 9 | | | | | Performance depended on underlying hardware. |
| Raspberry Pi 4B (2GB ram) | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 650k, 230k | ~160 Mbps| 4 | 10/100/1000 | Onboard wifi dual band |
| Raspberry Pi 3b+ | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 405k, 119k | ~90 Mbps| 4 | 10/100/1000 | Eth only ~320mbps. Onboard wifi dual band |
| Raspberry Pi 3b | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 350k, 100k | 89 Mbps | 4 | 10/100 | |
| Raspberry Pi 2b | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 145k, 55k | 39 Mbps | 4 | 10/100 | |
| Raspberry Pi 1a+ | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 35k, - | ~9 Mbps | 1 | None | |
| Raspberry Pi 1b+ | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 51k, 22k | ~8 Mbps | 2 | 10/100 | |
| Raspberry Pi Zero | [Raspbian Lite](https://www.raspberrypi.org/downloads/raspbian/) | 68k, 30k | ~9 Mbps | 1* | None | *Need OTG Cable No FPV |
| Orange Pi Lite | [Armbian](https://dl.armbian.com/orangepilite/) | 160k, 74k | 67 Mbps | 2 | None | |
| Orange Pi One | [Armbian](https://dl.armbian.com/orangepione/) | 160k, 74k | 67 Mbps | 1 | 10/100 | |
| Orange Pi Zero | [Armbian](https://dl.armbian.com/orangepizero/) | 160k, 74k | 67 Mbps | 1 (+2*) | 10/100 | *USB Headers |
| Orange Pi Zero Plus 2 H5 | [Armbian](https://dl.armbian.com/orangepizeroplus2-h5/) | 190k, 130K | 80 Mbps | 0 (+2*) | None | *USB Headers |
| NanoPi Neo 2 | [Armbian](https://dl.armbian.com/nanopineo2/) | 160k, 95K | 67 Mbps | 1 (+2*) | 10/100/1000 | *USB Headers, Gigabit Eth |
| Rock64 | [Armbian](https://dl.armbian.com/rock64/) | 255k, 168K | 94 Mbps | 3 | 10/100/1000 | 1 USB 3.0, Gigabit Eth |
| Pine64 | [Armbian](https://dl.armbian.com/pine/nightly/) | 227k, 151k | 78 Mbps | 2 | 10/100/1000 | Gigabit Eth |
| Pine64 | [Armbian](https://dl.armbian.com/pine64/) | 227k, 151k | 78 Mbps | 2 | 10/100/1000 | Gigabit Eth |
| ESPRESSObin | [Armbian](https://dl.armbian.com/espressobin/) | 186k, 128K | 73 Mbps | 2 | 10/100/1000 | 1 USB 3.0, 3x Gigabit Eth, SATA, mPCIe. Use stable and apt-get upgrade after boot |
| MK802ii | Debian | 30k, 40k | 25Mbps | | | Android box. Single core. Onboard WiFi supports Mesh Point |

Expand Down Expand Up @@ -116,6 +120,8 @@ To add a new module, use **scripts/ipfs/** as an example to:

* We keep a list of [Frequently Asked Questions](./docs/FAQ.md). Feel free to add to this list with the issues you experienced on your boards.

* Your computer can be a node too! It will mesh with the Pi's over your router. See the [cjdns repository](https://github.com/cjdelisle/cjdns) on how to set this up.
* We have a [Troubleshooting](./docs/TROUBLESHOOT.MD) doc with information to point you in the right direction of some common problems.

* Your computer can be a node too! It will mesh with the Pi's over your router. See the [cjdns repository](https://github.com/cjdelisle/cjdns) on how to set this up. You can now also install this prototype stack on debian/ubuntu PC hardware. This includes a Virtual Machine.

* Original plan for this repository and early benchmark results are available in [the doc folder](./docs).
16 changes: 16 additions & 0 deletions contrib/GeoLocation/geo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
// Place on a server as proxy for hideing the google API key
$apiKey="<YOUR GOOGLE API KEY FOR GEO LOCATION";

$json= file_get_contents('php://input');
$json = str_replace(",}}","}}",$json);

$url='https://www.googleapis.com/geolocation/v1/geolocate?key=' . $apiKey;

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
$result = curl_exec($ch);
echo $result;
?>
4 changes: 4 additions & 0 deletions contrib/GeoLocation/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
sudo apt-get install -y jq
sudo cp "nodeinfo-geolocation" /opt/tomesh/nodeinfo.d/geolocation
sudo chmod +x /opt/tomesh/nodeinfo.d/geolocation
23 changes: 23 additions & 0 deletions contrib/GeoLocation/nodeinfo-geolocation
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

echo "{ "wifiAccessPoints": {" > /tmp/locationScan
iwlist wlan0 scanning | grep Cell | grep Address | awk '{print "\"macAddress\": \""$5"\","}' >>/tmp/locationScan
echo "}}" >> /tmp/locationScan

curl -d @/tmp/locationScan -H "Content-Type: application/json" "http://node2.e-mesh.net/geo.php" -o /tmp/locationResult > /dev/null

if [ -z "$(type jq)" ]; then
a=$(cat /tmp/locationResult |grep \"accuracy\" | awk '{print $2}')
lat=$(cat /tmp/locationResult |grep \"lat\" | awk '{print $2}')
lng=$(cat /tmp/locationResult |grep \"lng\" | awk '{print $2}')
else
a=`jq -r ".accuracy" /tmp/locationResult 2>/dev/null`
lat=`jq -r ".location.lat" /tmp/locationResult 2>/dev/null`
lng=`jq -r ".location.lng" /tmp/locationResult 2>/dev/null`
fi

echo "\"geolocation\": {"
echo " \"latitude\": \"$lat\","
echo " \"longitude\": \"$lng\","
echo " \"accuracy\": \"$a\""
echo "},"
20 changes: 20 additions & 0 deletions contrib/board-espressobin/config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh

# Break bridge configured by default

# Disable systemd management of network interfaces except to bring up eth0 with random MAC address
sudo rm -rf /etc/systemd/network/*

sudo tee /etc/systemd/network/10-eth0.network << END
[Match]
Name=eth0
[Network]
DHCP=ipv4
END

sudo tee /etc/systemd/network/10-eth0.link << END
[Match]
MACAddress=f0:ad:4e:03:64:7f
[Link]
MACAddressPolicy=random
END
22 changes: 22 additions & 0 deletions contrib/captive-portal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# NoDogSplash captive portal

Source: https://github.com/nodogsplash/nodogsplash

Nodogsplash is a Captive Portal that offers a simple way to provide restricted access to the Internet by showing a splash page to the user before Internet access is granted.

This script install and configured the Nodogsplash captive portal to run on `wlan-ap` interface of the prototype stack.

## Installation

```
chmod +x install-nodogsplash.sh
./install-nodogsplash.sh
```

## Issues

Some people have objections using captive portal because it hijacks traffic and could potentially be a privacy violation. Additionally it prevents headless devices from accessing the internet.

## Nice to have

- [ ] Nice tomesh splash screen (/etc/nodogsplash/htdocs/splash.sh)
18 changes: 18 additions & 0 deletions contrib/captive-portal/install-nodogsplash.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

sudo apt install -y libmicrohttpd-dev

mkdir tmp
cd tmp
git clone https://github.com/nodogsplash/nodogsplash.git
cd nodogsplash
make
sudo make install
sudo cp debian/nodogsplash.service /etc/systemd/system
cd ..
cd ..
rm -rf tmp

cp nodogsplash.conf /etc/nodogsplash/nodogsplash.conf
sudo systemctl enable nodogsplash
sudo systemctl start nodogsplash
21 changes: 21 additions & 0 deletions contrib/captive-portal/nodogsplash.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
GatewayInterface wlan-ap
#login_option_enabled 1
FirewallRuleSet authenticated-users {
FirewallRule allow all
}
FirewallRuleSet preauthenticated-users {
# FirewallRule allow tcp port 80 to 123.321.123.321
}
FirewallRuleSet users-to-router {
FirewallRule allow udp port 53
FirewallRule allow tcp port 53
FirewallRule allow udp port 67
FirewallRule allow tcp port 22
# FirewallRule allow tcp port 80
# FirewallRule allow tcp port 443
}
GatewayName ToMeshNode
GatewayAddress 10.0.0.1
GatewayPort 2050
MaxClients 250
AuthIdleTimeout 480
Loading