Difference between revisions of "Mesh/Flashing extender nodes"

(Created page with "== Download the Image File For a Extender Node == The extender nodes that we currently support are: {| class="wikitable" ! Name !! Model No. !! OpenWRT Doc !! Firmware Image...")
 
Line 56: Line 56:
   Sending openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin to 192.168.1.20 using tftp put
   Sending openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin to 192.168.1.20 using tftp put
   [Error: (Server) Firmware check failed]
   [Error: (Server) Firmware check failed]
=== USB to Serial Connection ==
The following notes describe steps required to interface with a Nanostation M5 (NSM5) via the serial interface.
==== Order a USB to Serial Converter ====
USB to serial converter devices exist at a cost of $4 - $8 online, with much lower pricing and longer delivery times if ordered from China. Search for "USB to UART TTL", including "5 pin" in the search. Make sure the specifications do not mention anything other than 3.3 volts.
==== Connecting to Serial ====
You will need to connect the following pins from the converter to the pins on the device.
* Ground (GND)
* Serial Out (Transmit / TX)
* Serial In (Receive / RX)
Begin by connecting the Ground of the converter to the Ground of the device. Next connect the Transmit/TX of the converter to the Receive/RX of the device, then connect the Receive/RX of the converter to the Transmit/TX of the device.
==== Serial Communications Program ====
You need to install a serial communication program. Linux users can use Minicom.
  sudo apt-get install minicom
By default the Minicom program will attempt to use /dev/tty8, and will also attempt to initialize the device (expecting a modem) by default.
  $ minicom
  minicom: cannot open /dev/tty8: Permission denied
Run the program so that it starts the program on the USB converter that is connected by adding `-D /dev/tty/USB0`, and specify that it should skip initialization by adding `-o`.
You can also specify from the command line that it use the baud rate and '8N1' settings specified below by including `-p 115200 -8`.
  sudo minicom -D /dev/tty/USB0 -o -p 115200 -8
In Minicom, CTRL-A to get settings, then Press O, to access settings
Go to Serial Port Setup, use these settings:
* Set the serial device (should be /dev/tty/USB0)
* Baud Rate (Bits Per Second): 115200
* Settings '8N1' (short hand for 8 bits, no parity, 1 stop bit)
* Turn off hardware and software flow control
Reboot the device, and it will let you drop into a command line. You will then have to figure out how to enable the network from the boot loader (Uboot or Redboot) and transfer the firmware to the device to flash it.
128

edits