128
edits
Redconfetti (talk | contribs) m (misc formatting) |
Redconfetti (talk | contribs) m (minor formatting) |
||
Line 44: | Line 44: | ||
On your laptop (instructions for ubuntu) edit your network settings by doing the following:<br> | On your laptop (instructions for ubuntu) edit your network settings by doing the following:<br> | ||
In your web browser: | * Click on the network icon on the top right of the toolbar. | ||
*Go to "192.168.1.1" | * Click "Edit connections..." | ||
*Click Browse and select the firmware you downloaded | * Click on Ethernet connection "Wired connection 1" and click Edit | ||
*Click Install | * Click on the "IPv4 Settings" tab | ||
* Change method to "Manual" | |||
* Click Add | |||
* Under "Address" type "192.168.1.10" | |||
* Under "Netmask" type "255.255.255.0" | |||
* Under "Gateway" type "0.0.0.0" | |||
* Click Save | |||
* Click Close | |||
In your web browser: | |||
* Go to "192.168.1.1" | |||
* Click Browse and select the firmware you downloaded | |||
* Click Install | |||
= Configuring Your OpenWRT Router to Work on the Sudomesh Network = | = Configuring Your OpenWRT Router to Work on the Sudomesh Network = | ||
Line 65: | Line 67: | ||
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 in Linux and type: | Open your terminal in Linux and type: | ||
git clone https://github.com/sudomesh/makenode.git | git clone https://github.com/sudomesh/makenode.git | ||
Line 90: | Line 92: | ||
Now the configuration wizard will ask you a number of questions: | Now the configuration wizard will ask you a number of questions: | ||
*"enter valid hostname" - this is the host name when you SSH into the node - For info on what constitutes a valid hostname, see: [http://stackoverflow.com/questions/3523028/valid-characters-of-a-hostname valid characters of a hostname] | * "enter valid hostname" - this is the host name when you SSH into the node - For info on what constitutes a valid hostname, see: [http://stackoverflow.com/questions/3523028/valid-characters-of-a-hostname valid characters of a hostname] | ||
*"max share upstream bandwidth" - how much of your home network upstream bandwidth you wish to share with the mesh network, measured in kbps (kilobits per second). So if you'd like to share 10mbps (megabits per second) enter "10000" or if you want to share 256kbps (kilobytes per second) enter "256". You may want to run a [http://www.dslreports.com/speedtest speed test] to find out how much bandwidth you have and determine how much you want to share. | * "max share upstream bandwidth" - how much of your home network upstream bandwidth you wish to share with the mesh network, measured in kbps (kilobits per second). So if you'd like to share 10mbps (megabits per second) enter "10000" or if you want to share 256kbps (kilobytes per second) enter "256". You may want to run a [http://www.dslreports.com/speedtest speed test] to find out how much bandwidth you have and determine how much you want to share. | ||
*"max share downstream bandwidth" - how much of your home network upstream bandwidth you wish to share with the mesh network - eg. "512" would share 512 kbps | * "max share downstream bandwidth" - how much of your home network upstream bandwidth you wish to share with the mesh network - eg. "512" would share 512 kbps | ||
*"admin user password" - this is the password for for changing wifi settings on the node | * "admin user password" - this is the password for for changing wifi settings on the node | ||
*"root user password" - this is the root password for the router - Make sure that your root password is strong! If you don't enter a root password, a strong one will be generated and will be logged to screen. It's generally preferable to not use the root password at all and instead add an ssh key to the device - see details below. | * "root user password" - this is the root password for the router - Make sure that your root password is strong! If you don't enter a root password, a strong one will be generated and will be logged to screen. It's generally preferable to not use the root password at all and instead add an ssh key to the device - see details below. | ||
*"wifi transmit power" - set this to 23 dBm (which is equivalent to 200 milliwatts) | * "wifi transmit power" - set this to 23 dBm (which is equivalent to 200 milliwatts) | ||
*"operator name" - this is the name that the network admins can associate with the node - so use a unique name like your first name or location name | * "operator name" - this is the name that the network admins can associate with the node - so use a unique name like your first name or location name | ||
*"private wifi SSID" - this is the wireless SSID name for the private wireless network that will run on this router | * "private wifi SSID" - this is the wireless SSID name for the private wireless network that will run on this router | ||
*"private wifi password" - this is the password for the private wireless network that will run on this router - it must be at least 8 characters long | * "private wifi password" - this is the password for the private wireless network that will run on this router - it must be at least 8 characters long | ||
In a separate terminal you will log into the node using these directions: | |||
To find the name of your ethernet port, type: | |||
ifconfig | |||
In the example below, the wired Ethernet port was "eth0" | |||
In the terminal type the following, replacing "eth0" with the name of your Ethernet port: | |||
sudo ip addr add 172.22.0.9/24 dev eth0 | |||
Then type: | Then type: | ||
Line 118: | Line 124: | ||
== Confirm that the Node is Running == | == Confirm that the Node is Running == | ||
Click on the network icon on the top right of the toolbar to see the avaiable wireless networks (or run <code>sudo iwlist wlan0 scan</code> in your | Click on the network icon on the top right of the toolbar to see the avaiable wireless networks (or run <code>sudo iwlist wlan0 scan</code> in your Linux terminal) | ||
If configuration proceeded correctly, you should see the 'peoplesopen.net' and 'pplsopen.net-node2node' | If configuration proceeded correctly, you should see the 'peoplesopen.net' and 'pplsopen.net-node2node' WIFI interfaces. | ||
= Flashing Extender Antennas = | = Flashing Extender Antennas = | ||
Line 139: | Line 145: | ||
* [https://wiki.openwrt.org/toh/ubiquiti/bullet Ubiquiti Bullet M2 and M5] | * [https://wiki.openwrt.org/toh/ubiquiti/bullet Ubiquiti Bullet M2 and M5] | ||
==Flash the Extender Node== | == Flash the Extender Node == | ||
*Configure your wired internet settings to use Manual IPv4 settings with IP: 192.168.1.10, subnet: 255.255.255.0, gateway: 0.0.0.0 | * Configure your wired internet settings to use Manual IPv4 settings with IP: 192.168.1.10, subnet: 255.255.255.0, gateway: 0.0.0.0 | ||
*Plug one Ethernet cable into your laptop on one end and into the "LAN" port of the power-over-ethernet power supply on the other end. | * Plug one Ethernet cable into your laptop on one end and into the "LAN" port of the power-over-ethernet power supply on the other end. | ||
*Plug another Ethernet cable into your antenna on one end and into the "POE" port of the power-over-ethernet power supply on the other end. | * Plug another Ethernet cable into your antenna on one end and into the "POE" port of the power-over-ethernet power supply on the other end. | ||
*Push a pin into the reset hole and hold it. | * Push a pin into the reset hole and hold it. | ||
*With the pin held down, plug in the power to the power-over-ethernet power supply. | * With the pin held down, plug in the power to the power-over-ethernet power supply. | ||
*Watch the lights on the antenna - they will all flash together a few times, then they will flash up and down. | * Watch the lights on the antenna - they will all flash together a few times, then they will flash up and down. | ||
*Once the lights on the antenna are flashing up and down, you can let go of the pin. | * Once the lights on the antenna are flashing up and down, you can let go of the pin. | ||
You should be able to ping the extender at 192.168.1.20. | You should be able to ping the extender at 192.168.1.20. |
edits