First Time Setup
Contents
Setting Your Password
When you first boot your mesh node, there is no password set. This is quite dangerous, so OpenWrt will disable many useful features until you set one. Therefore, it is important that you set one up right away.
To set a password, complete the following steps:
- Navigate to "System > Administration" in the left-hand menu of OpenWrt
- Enter your desired password twice, and hit Enter or click "Save."
Enabling Remote Support
Following these steps, you will allow a maintainer to log into and use your mesh node remotely -- as long as it's connected to the global Yggdrasil network. See #The Yggdrasil Page if you think you may not be connected to the rest of the Yggdrasil network.
In order to enable remote support, you will need to:
- Authorize the maintenance team to access your mesh node
- Allow SSH over Yggdrasil
Authorize the Maintenance Team to Access Your Mesh Node
- Navigate to System > Administration
- Select the "SSH-Keys" tab
- Enter the following keys, clicking "Add Key" in between each
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCqb+eTvCL3tilg3xKpLdClC0BuJiDXCiIsgYhoO5/6Rf6u/FGQYUGPwyhCqoXNeGhUhAIHUvD+HIcMfvFgdTRJ/K7uSe35FmrobT3QGpKMLwq2+HJNhIbK18n4SeL74JGfntnecw2Wbfd9qy9UAyM7422BVttGDcgRZzaj+Lzf5hc4gLT8J3zv8ybLOAxFOcwQV+TPg76jMIHr7BnAIxCQZEOsFydNINnJLn5WjezzeDvX2sTJbLe7lsHE8oE7YDyZxFw39F9t8AGg96xgnTJvYv9JG3dczgTicB+dj1C0FnlhZD8o9k6xcMex2mSpR2jmcf8TluFladVuQlP4/oEiz0rOZ7PAYC5BWXx1i4PwWm/Xas3TcGg1WokWSAcijUpeqhkEekQk4RXWfrdKDoGLQF3rAbmdD9gz4MuxuNoyXKmdhvwsBeqzNnADqHllcw95+gNVYUJz1VNM2oPfNvHtOY624YY9rWy/uL6plocM07Vtvf8/CKuQ+fPIcRhwJDk= lurker@join-or-die ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEA3nzI6T6Lpd5xFoRewcx91Dv9sUzNNmdYfwOleemBFz0y3RaQElehUWasyjuIURZw7RL5EjvrqeQq9pe/lO99dO0F9yMuMsMH2t88Y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GAkfIcN0LMOeZT7yTlZ/f/6d5C19DegXX74owM4V4pkqs/hbpmDkvQYkSXPfVpZ9ZTVUVSBrwKVaVX9A1hTXjIzfsuoZheMIdlakt0qSIuukyaIxzi1aAH67nR0kp+XCLldBDXGKQXah+mIGQPDBwWFR34re40jzxKmvLT+Dq+5yASgoLDbul8IYDJa2r7yYZQu+EgsW24p62q+y041wW4YIGBJs/cQqpCw== stephen304@gmail.com
Allow SSH over Yggdrasil
- Navigate to Network > Firewall
- Select the "Traffic Rules tab
- Scroll down to "Allow-SSH-Yggdrasil"
- Enable the Accept input checkbox
- Click "Save and Apply"
The Diagnostic Page
The Yggdrasil Page
One of the most helpful screens for troubleshooting is the Yggdrasil page. This page is entirely focused on your mesh node's status within the global Yggdrasil mesh network. You can access the Yggdrasil page by selecting "Network > Yggdrasil" on the right-hand menu in OpenWrt.
Important Yggdrasil Information
You can view important information about your mesh node in the Yggdrasil screen. Among other things, you can view your node's static IPv6 address and public key.
Your static IPv6 address is unique to the Yggdrasil, and never changes. It comes in handy very frequently, and is used for remote support (among other things.) Your public key is sometimes used to gain access to private resources on the Yggdrasil network. It's good to know where it is just in case you ever need it.
Checking for Peers
As long as your mesh node has public Yggdrasil peers, it is connected to the global Yggdrasil mesh network. This means that things like remote support will work properly. If you're interested in learning more about Yggdrasil vs. the Internet vs. the LAN, see our Network Architecture page.
A working mesh node should have several peers. You can see these in the following screen:
If you don't have any peers, your Yggdrasil screen will look something like this:
Test that you can access Yggdrasil sites
You should be on the Yggdrasil network now. Verify that you are by going to http://[319:3cf0:dd1d:47b9:20c:29ff:fe2c:39be]/ to view the Yggdrasil Network home page. Alternatively you can connect to YaCy, the Yggdrasil Search engine at http://[300:7232:2b0e:d6e9:216:3eff:fe38:cefc]:8090//
The Internet Gateway Page
Once you are connected to the Yggdrasil mesh network (see previous section), it is time to configure the node for internet access. To do so, the node needs to be connected to an internet gateway. We use a program called Autoygg for this purpose. You can access the Internet Gateway page by selecting "Network > Internet Gateway" in the left-hand menu in OpenWrt.
The Autoygg client status page
The Status page shows the current connection state with the configured Autoygg Gateway. On first boot, the page will show that you are disconnected:
The Autoygg client settings page
On the Settings page, an Internet Gateway server can be configured. It is also possible (but not required) to populate your name, e-mail address and/or phone number, to identify yourself to the gateway owner.
Connecting to a Mass Mesh public Internet Gateway
Mass Mesh runs a public Internet Gateway at the address 203:7fe2:2946:3dee:4ce3:9493:2a93:82c3. If you would like to use it to connect to the internet, put that address in the autoygg gateway field and click SAVE & APPLY:
At this point, the Status page will show you are not connected:
Before you can connect to the internet via the Mass Mesh gateway, one of our volunteers will need to add your node to the accesslist on the gateway server. You can request this in the Mass Mesh AP Hosts chat room. Please provide your Yggdrasil IPv6 address when you do so, which is available on the Yggdrasil node status page:
Once your node is added to our accesslist, you can hit the Connect button and if that goes well, the status page will look similar to this:
Connecting to your own Internet Gateway
It is also possible to run your own Internet Gateway server. This can be done on a cheap cloud VPS, for instance. It requires installing and running the Autoygg server. If you want assistance with this, please ask in the MassMesh Tech chat room.