128
edits
| Redconfetti (talk | contribs) | Redconfetti (talk | contribs)  | ||
| Line 98: | Line 98: | ||
| These are the steps for configuring your newly flashed router. It will retrieve hardware information about the node, prompt you for a few config settings, and then query the meshnode database to get an available IP address and subnet. | These are the steps for configuring your newly flashed router. It will retrieve hardware information about the node, prompt you for a few config settings, and then query the meshnode database to get an available IP address and subnet. | ||
| Open your terminal  | Open your terminal and type: | ||
|    git clone https://github.com/sudomesh/makenode.git |    git clone https://github.com/sudomesh/makenode.git | ||
| Line 105: | Line 105: | ||
|    cp settings.js.example settings.js |    cp settings.js.example settings.js | ||
| The default settings in  | 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 | 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 | |||
| == Linux == | |||
| Make sure the  | Edit your network settings by doing the following: | ||
| * Click on the network icon on the top right of the toolbar. | |||
| * Click "Edit connections..." | |||
| * Click on Ethernet connection "Wired connection 1" and click Edit | |||
| * Click on the "IPv4 Settings" tab | |||
| * Change method to "Manual" | |||
| * Click Add | |||
| * Under "Address" type "172.22.0.9" | |||
| * Under "Netmask" type "255.255.255.0" | |||
| * Under "Gateway" type "0.0.0.0" | |||
| * Click Save | |||
| * Click Close | |||
| == Mac == | |||
| * Open the System Preferences | |||
| * Open 'Network' | |||
| * Select 'Ethernet' from the list of interfaces on the left | |||
| * Change 'Configure IPv4' to 'Manually' using the drop-down menu | |||
| * Set 'IP address' as '172.22.0.9' | |||
| * Set 'Subnet Mask' as '255.255.255.0' | |||
| * Set 'Router' as '' (blank) | |||
| * Set 'DNS Server' as '' (blank) | |||
| * Set 'Search Domains' as '' (blank) | |||
| * Click 'Apply' | |||
| * Close the window | |||
| == Configuring the Home Node == | |||
| Make sure the Ethernet cable is connected to the 4th port on the router. | |||
| Once your network configuration is refreshed, use the following command to run the script and configure your node: | Once your network configuration is refreshed, use the following command to run the script and configure your node: | ||
| Line 129: | Line 151: | ||
|    ./makenode.js |    ./makenode.js | ||
| If you get the error "no such file or directory", open a new terminal and run this command to ensure that  | 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 |    sudo ln -s nodejs node | ||
| Line 156: | Line 178: | ||
| === Network Settings === | === Network Settings === | ||
| Reconfigure your machine to use the following network settings | After configuring your home node the IP address it uses will change. Reconfigure your machine to use the following network settings. | ||
| * IP Address: 172.22.0.9 | * IP Address: 172.22.0.9 | ||
edits