Difference between revisions of "Mesh/Firmware/Flash"
Jump to navigation
Jump to search
(adds first step and structure) |
(→PicoStation: updates with full instructions) |
||
Line 11: | Line 11: | ||
#** <code>jffs</code> is a read/write filesystem, unlike read-only <code>squashfs</code> | #** <code>jffs</code> is a read/write filesystem, unlike read-only <code>squashfs</code> | ||
#** These images are built by openwrt, and we think the 64k and 128k refer to block-size, but it doesn't seem to matter either way. | #** These images are built by openwrt, and we think the 64k and 128k refer to block-size, but it doesn't seem to matter either way. | ||
#* '''Troubleshooting:''' If you're trying to | #* '''Troubleshooting:''' If you're trying to access this site at sudo room, just use the <code>sudoroom</code> SSID wifi and not the <code>peoplesopen.net</code> access point. It's a long story. | ||
# | # Perform a manual reset, enter TFTP mode | ||
#* Unplug the router from the Power-Over-Ethernet power injector (POE injector, power supply). | |||
#* There is a small hole in the body of the router next to the ethernet port. Prepare to use a paperclip or similar small, sturdy poking device to push a 'reset button' that sits just inside this small hole. | |||
#* Prepare to plug the router back in to the POE injector. You may need a friend to help. | |||
#* With your poking device, old the reset button down and plug the router back in to the POE injector. Hold the reset button until the router's green light goes to two, then starts flashing orange and red. Release the reset button when the lights flash for the second time. | |||
# Copy firmware to router using TFTP | |||
#* After resetting the router, it should now be running a TFTP server at 192.168.1.20 | |||
#* You may need to install tftp if you don't already have it, for example using: | |||
#*:<code>$ sudo apt-get install tftp</code> | |||
#* Make sure your ip address is '''not''' ''192.168.1.1'' '''nor''' ''192.168.1.20'', but some other address in the ''192.168.1.x'' range. You can check with: | |||
#*:<code>$ ip addr</code> | |||
#* If you're using <code>network-manager</code>, you can set your ip address manually with the following commands: | |||
#*:<code>$ sudo /etc/init.d/network-manager stop</code> | |||
#*:<code>$ sudo ifconfig eth0 192.168.1.12 netmask 255.255.255.0 up</code> | |||
#* Finally, transfer the firmware file with TFTP: | |||
#*:<code>$ tftp 192.168.1.20</code> | |||
#*:<code>tftp> binary</code> | |||
#*:<code>tftp> rexmt 1</code> | |||
#*:<code>tftp> timeout 60</code> | |||
#*:<code>tftp> trace</code> | |||
#*:<code>tftp> put openwrt-atheros-ubnt2-pico2-jffs2-128k.bin</code> | |||
#*You will see many lines like this: | |||
#*:<code>sent DATA <block=13468, 512 bytes> received ACK <block=13468></code> | |||
#* Wait! | |||
#** Once those lines stop coming, the router will take somewhere between 1-7 minutes to stop flashing its lights. '''DO NOT unplug or turn off the router until it presents two adjacent green LEDs and has done so for 10+ seconds.''' Installation on older routers can take much longer than on the newer routers, so be patient. ;) | |||
# Configure | |||
#* Now your node is ready to be configured. Bring it to [[Sudoroom|sudo room]] to configure your node using the build server! | |||
====NanoStation==== | ====NanoStation==== | ||
====NanoBridge==== | ====NanoBridge==== |
Revision as of 21:08, 13 May 2014
Instructions on flashing routers with the sudo mesh firmware, sudowrt!
Supported Devices
Ubiquiti
PicoStation
- Download firmware from http://build.sudomesh.org:8080/latest_images/atheros/openwrt-atheros-ubnt2-pico2-jffs2-128k.bin
- There are additional options at http://build.sudomesh.org:8080/latest_images/atheros/ but you probably want
openwrt-atheros-ubnt2-pico2-jffs2-128k.bin
jffs
is a read/write filesystem, unlike read-onlysquashfs
- These images are built by openwrt, and we think the 64k and 128k refer to block-size, but it doesn't seem to matter either way.
- Troubleshooting: If you're trying to access this site at sudo room, just use the
sudoroom
SSID wifi and not thepeoplesopen.net
access point. It's a long story.
- There are additional options at http://build.sudomesh.org:8080/latest_images/atheros/ but you probably want
- Perform a manual reset, enter TFTP mode
- Unplug the router from the Power-Over-Ethernet power injector (POE injector, power supply).
- There is a small hole in the body of the router next to the ethernet port. Prepare to use a paperclip or similar small, sturdy poking device to push a 'reset button' that sits just inside this small hole.
- Prepare to plug the router back in to the POE injector. You may need a friend to help.
- With your poking device, old the reset button down and plug the router back in to the POE injector. Hold the reset button until the router's green light goes to two, then starts flashing orange and red. Release the reset button when the lights flash for the second time.
- Copy firmware to router using TFTP
- After resetting the router, it should now be running a TFTP server at 192.168.1.20
- You may need to install tftp if you don't already have it, for example using:
$ sudo apt-get install tftp
- Make sure your ip address is not 192.168.1.1 nor 192.168.1.20, but some other address in the 192.168.1.x range. You can check with:
$ ip addr
- If you're using
network-manager
, you can set your ip address manually with the following commands:$ sudo /etc/init.d/network-manager stop
$ sudo ifconfig eth0 192.168.1.12 netmask 255.255.255.0 up
- Finally, transfer the firmware file with TFTP:
$ tftp 192.168.1.20
tftp> binary
tftp> rexmt 1
tftp> timeout 60
tftp> trace
tftp> put openwrt-atheros-ubnt2-pico2-jffs2-128k.bin
- You will see many lines like this:
sent DATA <block=13468, 512 bytes> received ACK <block=13468>
- Wait!
- Once those lines stop coming, the router will take somewhere between 1-7 minutes to stop flashing its lights. DO NOT unplug or turn off the router until it presents two adjacent green LEDs and has done so for 10+ seconds. Installation on older routers can take much longer than on the newer routers, so be patient. ;)
- Configure
- Now your node is ready to be configured. Bring it to sudo room to configure your node using the build server!