Difference between revisions of "Mesh/WalkThrough"

Jump to navigation Jump to search
474 bytes added ,  09:05, 7 April 2017
improvements
m
(improvements)
Line 14: Line 14:
To install them, open your terminal and type the following commands.
To install them, open your terminal and type the following commands.


   sudo apt-get install nodejs
   sudo apt-get install nodejs ([https://github.com/creationix/nvm nvm] is preferable for installing nodejs and npm)
  sudo apt-get install npm
   sudo apt-get install git
   sudo apt-get install git
  sudo apt-get install npm
   sudo apt-get install dropbear
   sudo apt-get install dropbear
(arch also works, though you may have to build dropbear from its [https://github.com/mkj/dropbear source])


== Mac ==
== Mac ==
Line 94: Line 96:
= Configuring Your OpenWRT Router to Work on the Sudomesh Network =
= Configuring Your OpenWRT Router to Work on the Sudomesh Network =


After you have successfully flashed your router with the OpenWRT, you will need to use [https://github.com/sudomesh/makenode makenode] to complete the setup. makenode registers your node on the SudoMesh network, resulting in the assignment of a 64 IPv4 address subnet to your node, in addition to applying basic configuration.
A freshly flashed node will be setup on 172.22.0.1. You will need to configure your machine to use the following network settings to communicate with the node.
 
* IP address: 172.22.0.9
* Subnet mask:  255.255.255.0
* Gateway: 0.0.0.0
 
To test that the flashing was successful, feel free to try connecting to your unconfigured router by opening a browser and navigating to https://172.22.0.1
if the flash was successfull you should be brought to the following screen:
 
[[File:DefaultUI.png|thumb|center|upright=2]]
 
After you have successfully flashed your router with OpenWRT, you will need to use [https://github.com/sudomesh/makenode makenode] to complete the setup. makenode registers your node on the SudoMesh network, resulting in the assignment of a 64 IPv4 address subnet to your node, in addition to applying basic configuration.


From your terminal, run the following:
From your terminal, run the following:
Line 105: Line 118:
The default settings in <tt>settings.js</tt> should suffice in most cases, but if you need to make changes, do them in <tt>settings.js</tt>.  
The default settings in <tt>settings.js</tt> should suffice in most cases, but if you need to make changes, do them in <tt>settings.js</tt>.  


A freshly flashed node will be setup on 172.22.0.1. You will need to configure your machine to use the following network settings to communicate with the node.


* IP address: 172.22.0.9
 
* Subnet mask:  255.255.255.0
 
* Gateway: 0.0.0.0


See Network Configuration Guides: [https://sudoroom.org/wiki/Mesh/Network%20Configuration%20for%20Linux Linux] [https://sudoroom.org/wiki/Mesh/Network%20Configuration%20for%20MacOS%20X Mac]
See Network Configuration Guides: [https://sudoroom.org/wiki/Mesh/Network%20Configuration%20for%20Linux Linux] [https://sudoroom.org/wiki/Mesh/Network%20Configuration%20for%20MacOS%20X Mac]
95

edits

Navigation menu