User Tools

Site Tools


toh:ubiquiti:nanostationm5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:ubiquiti:nanostationm5 [2014/08/01 22:17]
lynxis
toh:ubiquiti:nanostationm5 [2015/11/30 21:48] (current)
tmomas [[meta:tags]] -> [[meta:tags|How to add tags]]
Line 1: Line 1:
 +====== Ubiquiti Nanostation M5 / Loco M5======
  
 +| {{:​meta:​icons:​tango:​48px-dialog-warning.svg.png?​nolink}} | Warning! There are 2 version of nanostation **xm** and **xw**. |
 +
 +===== Supported Versions =====
 +
 +^ Version/​Model ^ Launch Date ^ OpenWrt Version Supported ^ Chip ^ Bugs in Hardware ^ 
 +| xm | -    | 14.07 | ar724x |  |
 +| xw | 2014 | 14.07 - for Nanostation M5 | ar9342 | |
 +| ::: | ::: | trunk - for Nanostation Loco M5 | ::: | Most of these devices have a hardware bug in the ethernet chip. This leads to connection loss of eth0 interface. Only a reboot can fix this. See also [[https://​dev.openwrt.org/​ticket/​19085|Bug description]]. As of August 2015 there is no workaround in OpenWRT available.| ​
 +
 +From the beginning of 2014 Ubiquiti has released new model of Nanostaion M5 devices (old boards use ar724x chip while new ones are using ar934x chip). ​
 +
 +New Ubiquiti Nanostation M5 [[http://​www.ubnt.com/​download#​NanoStation:​M5|firmware page]] devices use **xw** firmware image, while older use **xm** image.
 +
 +For Nanostation Loco M5 there is a new image (openwrt-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin) - for models since 2014 - available in trunk, but not included in Barrier Breaker.
 +
 +<WRAP center round info 60%>
 +If you have installed OpenWrt and issue cat /​proc/​cpuinfo or look trough boot messages XW based hardware should come back as Atheros AR93xx, XM = Atheros AR72xx
 +</​WRAP>​
 +==== Installation procedure ====
 +
 +Image name: openwrt-ar71xx-generic-ubnt-nano-m-...
 +
 +You can install the *-factory image over the webinterface or via tftp rescue.
 +Webinterface default address is http://​192.168.1.20/​
 +
 +To enter tftp rescue mode power cycle the device while keep the reset button pushed (for ~10 sec). Leds will start to blink red and yellow.
 +<​code>​
 +# pick an address in the range 192.168.1.1-254 for your network device
 +# tftp 192.168.1.20
 +tftp> bin
 +tftp> trace
 +# depending on your version **xm** or **xw**
 +tftp> put openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
 +tftp> put openwrt-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin
 +</​code>​
 +[[:​doc:​howto:​generic.flashing.tftp#​bootloader.contains.tftp.server|Installing OpenWrt via TFTP]]
 +
 +==== POE passtrough ====
 +
 +^ gpio   ^ version ​  ^
 +| 8      | xm        |
 +| 2      | xw        |
 +
 +In CLI this will work to change the poe pass trough instantly without rebooting or waiting for config to apply. [[https://​www.mail-archive.com/​openwrt-devel@lists.openwrt.org/​msg04606.html|Email]] from development mailing list.
 +
 +to switch the poe pass trough on use this:
 +
 +<​code>​
 +# nanostation xm
 +echo 8 > /​sys/​class/​gpio/​export
 +echo out > /​sys/​class/​gpio/​gpio8/​direction
 +echo 1 > /​sys/​class/​gpio/​gpio8/​value
 +# disable with echo 0 > /​sys/​class/​gpio/​gpio8/​value
 +</​code>​
 +
 +<​code>​
 +# nanostation xw
 +echo 2 > /​sys/​class/​gpio/​export
 +echo out > /​sys/​class/​gpio/​gpio2/​direction
 +echo 1 > /​sys/​class/​gpio/​gpio2/​value
 +# disable with echo 0 > /​sys/​class/​gpio/​gpio2/​value
 +</​code>​
 +
 +==== Boot message ====
 +
 +Boot messages from Nanostation M5 Loco:
 +
 +<​code>​
 +U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56)
 +
 +Board: Ubiquiti Networks XM board (rev 1.0 e0a5)
 +DRAM:  32 MB
 +Flash: ​ 8 MB
 +PCIe WLAN Module found (#1).
 +Net:   eth0, eth1
 +Hit any key to stop autoboot: ​ 0 
 +## Booting image at 9f050000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.3.8
 +   ​Created: ​     2014-01-15 ​ 15:39:31 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    929404 Bytes = 907.6 kB
 +   Load Address: 80060000
 +   Entry Point: ​ 80060000
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +
 +Starting kernel ...
 +</​code>​
 +
 +===== Nanostation M5 Serial Pins =====
 +
 +{{:​media:​ubiquiti:​nanostation5m_serial.jpg?​direct&​400}}
 +
 +===== Nanostation Loco M5 Serial Pins =====
 +A pin header can be soldered to the board to use the serial port. The board is mounted to a sled which can be pulled out after the protective cover for the RJ-45 port is removed.
 +
 +{{:​media:​ubiquiti:​nanostation_loco_m5_serial.jpg?​400|}}
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +
 +{{tag>​8flash 32ram}}