Difference between revisions of "Mesh/OpenWRT"

2,451 bytes added ,  17:40, 16 June 2013
Line 193: Line 193:


= Router-specific notes =
= Router-specific notes =
== Actiontec MI424-WR ==
These instructions tested with the version A.
=== Getting the MAC address of the WLAN interface ===
Turn the router off. Hook up your laptops ethernet port to the wlan port of the router. Make sure you have wireshark installed:
sudo apt-get install wireshark
Give yourself a static IP address. The easiest way is to turn off network manager and set it manually, but this will probably cause you to loose internet connectivity until you turn network manager back on.
sudo /etc/init.d/network-manager stop
sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
Now start wireshark as root.
sudo wireshark
Ignore the warnings and click through any other "helpful" dialogs that pop up. In the menu, click Capture -> Options. Click the Capture textbox next eth0. Make sure the following bottom right checkboxes are ticked "Update list of packets in real time", "Automatic scrolling in live capture" and "Hide capture info dialog" and click the Start button.
Now turn the router on and wait for some info to show up in the window. Give it 30 seconds, then hit the stop button in wireshark (in the top menu bar, fourth button from left). Click on one of the items in the table that do not say 192.168.1.2 in the Source column. In the view below the table, there are several fields with plus-signs next to them, beginning with text like "Frame" and "Ethernet". Find the one called Ethernet II and find the stuff after the "Src:" in parenthesis that looks like "00:16:d3:2f:dd:a1" (your numbers and letters will be different). Write down those numbers and letters and colons. You may need them later. Now close wireshark.
Now you need to install a new RedBoot:
TODO, see http://wiki.openwrt.org/toh/actiontec/mi424wr#jungo.openrg
After installing the new RedBoot:
With your ethernet cable still plugged into the your laptop and the wlan port of the router, and making sure you still have an ip iddress like 192.168.1.2: Turn off the router, then hold down the reset button on the router while turning the router on and continue to hold the reset button until a red light comes on (and maybe for a second longer than that), then let go. Now do:
telnet 192.168.1.1 9000
You should see a prompt like this:
RedBoot>
  TODO finish this. You basically have to start a local tftp server and use redboot to load the images into memory and create a bootscript like on the meraki mini, except you don't need serial.


== Ubiquiti Bullet M5 ==
== Ubiquiti Bullet M5 ==