Difference between revisions of "Mesh/WalkThrough"

Jump to navigation Jump to search
697 bytes removed ,  18:39, 13 December 2019
adds troubleshooting and reset button soldering section
(adds troubleshooting and reset button soldering section)
 
(7 intermediate revisions by 2 users not shown)
Line 21: Line 21:
= Download/Build =
= Download/Build =


Now that you have a node, you canflash it with the latest sudowrt-firmware. The first step is to download the firmware image file for your supported router. At the moment, we are supporting the following firmware builds:
Now that you have a node, you can flash it with the latest sudowrt-firmware. The first step is to download the firmware image file for your supported router. At the moment, we are supporting the following firmware builds:


{| class="wikitable"
{| class="wikitable"
Line 106: Line 106:


= Configure =
= Configure =
A freshly flashed node automatically sets its IP address to <code>172.30.0.xx</code>. You will need to configure your laptop to use the following network settings to communicate with the node:


* IP address: <code>172.30.0.10</code>
'''''If you are configuring something other than a WD MyNet N600, or firmware version 0.2.3 or earlier, follow ([[#Makenode_.28v.0.2.3_and_earlier.29|these instructions]])'''''
* Subnet mask:  <code>255.255.255.0</code>
* Gateway: <code>0.0.0.0</code>
 
Or use the commands
  sudo ip link set <eth_interface> down
  sudo ip addr add 172.30.0.10/24 dev <eth_interface>
  sudo ip link set <eth_interface> up
 
where <code><eth_interface></code> is the name of your ethernet interface found using <code>ip addr</code> (common names include <code>eth0</code>, <code>enp3s0</code>, ...)
 
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]
 
== Autoconf (v.0.3.0) ==
'''''Note: If you installed [https://github.com/sudomesh/sudowrt-firmware/releases/tag/0.3.0 release 0.3.0] for myNet N600 routers, your node can be autoconfigured. You will not need to use the previous solution <code>makenode</code>, otherwise you may need to read the ([[#Makenode_.28v.0.2.3_and_earlier.29|instructions further down]])'''''


[[File:Nodeports titles.png|400px|thumb|right|Plug into port 3 to access the private network from your laptop. Port 2 connects to the public 'peoplesopen.net' network]]
[[File:Nodeports titles.png|400px|thumb|right|Plug into port 3 to access the private network from your laptop. Port 2 connects to the public 'peoplesopen.net' network]]
Line 134: Line 119:
Learn more about the [[Mesh/Network topology|network's topology here]].
Learn more about the [[Mesh/Network topology|network's topology here]].


=== Configuring the Web Dashboard ===
== Configuring the Web Dashboard ==


While connected to the ''private'' network (default <code>pplsopen-admin</code>), try connecting to the home node's web dashboard by opening a web browser and navigating to [http://172.30.0.1]
While connected to the ''private'' network (default <code>pplsopen-admin</code>), try connecting to the home node's web dashboard by opening a web browser and navigating to [http://172.30.0.1 172.30.0.1]


If the flash was successful you should be brought to the following screen:
If the flash was successful you should be brought to the following screen:
Line 151: Line 136:
<br clear=all>
<br clear=all>


=== Changing Admin and Root User Passwords ===
== Changing Admin and Root User Passwords ==


'''''Note: If you would like to be able to change the above wifi settings in the future, or ssh into your router, you will need to change the admin and root passwords within 12 hours.'''''
'''''Note: If you would like to be able to change the above wifi settings in the future, or ssh into your router, you will need to change the admin and root passwords within 12 hours.'''''
Line 164: Line 149:
     passwd admin
     passwd admin


== Makenode (v.0.2.3 and earlier) ==
== Testing ==
'''''Note: If you installed autoconfiguring [https://github.com/sudomesh/sudowrt-firmware/releases/tag/0.3.0 release 0.3.0] for myNet N600 routers, you do not need to use makenode. See the autoconf instructions above.'''''


Makenode's documentation has been consolidated to [[Mesh/Makenode|its page.]]
After you're finished with the flashing and configuration, your home node should be available for connections via your private WiFi SSID (default <code>pplsopen-admin</code>). Additionally the public SSIDs <code>peoplesopen.net <your mesh IP></code> and <code>peoplesopen.net fast <your mesh IP></code> will be available. It should also be populated on the [https://peoplesopen.herokuapp.com monitor]!


= Testing =
A fourth interface named <code>pplsopen.net-node2node</code> will be detectable as well. This is the interface used for the nodes to mesh with each other.


After you're finished with the flashing and configuration, your home node should be available for connections via your private WiFi SSID. Additionally the public SSID 'peoplesopen.net' will be available. It should also be populated on the [https://peoplesopen.herokuapp.com monitor]!
At this point you're setup. Reach out to the [[Mesh#How_To_Participate|rest of the network]]!


A third interface named 'pplsopen.net-node2node' will be detectable as well. This is the interface used for the nodes to mesh with each other.
== Makenode (v.0.2.3 and earlier) ==
'''''Note: If you installed autoconfiguring [https://github.com/sudomesh/sudowrt-firmware/releases/tag/0.3.0 release 0.3.0] for myNet N600 routers, you do not need to use makenode. See the autoconf instructions above.'''''


At this point you're setup. For more information on using your node, such as accessing the web-based management interface, see [[Home and extender nodes#Home_nodes|Home node info]]
Makenode's documentation has been consolidated to [[Mesh/Makenode|its page.]]
 
For more technical details on the internals of the home node, see the [[Mesh/Technical_Overview]]
 
For more in depth testing procedures, see our [https://github.com/sudomesh/babeld-lab/blob/master/operator_manual.md mesh node operator's manual].
 
= Troubleshooting =
If you get the error "no such file or directory", open a new terminal and run this command to ensure that <tt>node</tt> points to your NodeJS executable:
 
  sudo ln -s nodejs node
 
In the new terminal, return to the 'makenode' source code directory and try again:
 
  npm install
  ./makenode.js


= Flashing TP-Link Routers =
= Flashing TP-Link Routers =
Line 208: Line 179:


[[Category:Mesh]]
[[Category:Mesh]]
= Troubleshooting =
== Soldering A Reset Button ==
As you are resetting routers, you may end up having a component, such as the reset button itself, fall off of the PCB (printed circuit board). The WD MyNet n600 has security screws, so you may need a [https://www.google.com/search?hl=en&ei=Zz30XZ-iLurJ0PEP8Mq90As&q=site%3Aaliexpress.com+torx+t10+security+bit&oq=site%3Aaliexpress.com+torx+t10+security+bit&gs_l=psy-ab.3...15707.23122..23261...0.0..2.605.6423.23j13j6j1j1j1......0....1..gws-wiz.......0i273j0j0i131j0i67.SQrobDcWg6U&ved=0ahUKEwjf8eHvgLTmAhXqJDQIHXBlD7oQ4dUDCAs&uact=5 Torx T10 Security Bit] to remove the case.
<gallery mode="traditional">
File:Wd_n600_naked_board.jpg|WD MyNet n600 naked (without case)
File:Wd_n600_reset_button_resolder.jpg|WD MyNet n600 resolder of the reset button that fell off
</gallery>

Navigation menu