Show pagesourceOld revisionsBacklinksBack to top × Table of Contents Ubiquiti Nanostation M5 / Loco M5 Supported Versions Hardware Highlights LAN enumeration Installation PoE passtrough Configure via UCI Temporary changes via CLI Bootlogs Hardware Nanostation M5 Serial Pins Nanostation Loco M5 Serial Pins Tags Ubiquiti Nanostation M5 / Loco M5 Warning! There are two versions of NanoStation: xm and xw. Downgrade procedure fails for devices with HW revision higher than 1847G. Work in progress in this openwrt forum thread The old xm version has limited RAM (32 MB) and thus is not recommended. Supported Versions BrandModelVersionCurrent ReleaseOEM InfoForum TopicTechnical DataUbiquitiNanoStation Loco M5XW23.05.0https://www.ubnt.com/airmax/nanostationm/View/Edit dataUbiquitiNanoStation M5XM22.03.5View/Edit dataUbiquitiNanoStation M5XW23.05.0View/Edit data Version/Model Launch Date OpenWrt Version Supported Chip Bugs in Hardware xm - 14.07 ar724x xw 2014 14.07 - for Nanostation M5 ar9342 14.07 - for Nanostation Loco M5 A hardware bug causing loss of eth0 connectivity was fixed in OpenWrt 17.01. In 2014 Ubiquiti released a new model of Nanostation M5 devices (old boards use ar724x chip while new ones are using ar934x chip). New Ubiquiti Nanostation M5 firmware page devices use xw firmware image, while older use xm image. For newer Nanostation Loco M5 (XW) (models since 2014) there is a new image (openwrt-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin). For old Nanostation Loco M5 (XM) the image name is openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin. 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 Hardware Highlights ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSBNanoStation Loco M5XWAtheros AR9342400864Atheros AR9342-a/n1--NanoStation M5XMAtheros AR7240390832Atheros AR9280-a/n2--NanoStation M5XWAtheros AR9342400864Atheros AR9342-a/n2-- LAN enumeration Observed for a NanoStationlocoM2 (model SWX-M2L, XM firmware). Recent OpenWrt compilations, on basis of kernel v5 , enumerate the ethernet interfaces differently. In /etc/config/network the iface name of the LAN port is eth1, not eth0 ! When using the standard network setting the LAN port will appear active from a serial console but it relates to the passthrough port that is not present as a connector. So make sure that eth1 is used in the configuration files to reference the LAN connector. Installation There is (as of 2023/05) a unresolved problem with builds for Ubnt units with ONE ethernet port. Flashing a OpenWRT ath79 version after 19.07.10 will brick the unit. The last working version is 19.07.10 AR71xx. As mentioned in Ubiquiti Airmax M install the latest working buld and check your CPU with: cat /proc/cpuinfo if its AR7240 or Ar7241 and then flash the corresponding Ubiquiti BULLET M image! This is a one eth port only unit and is tested to be working on locos XM and rocket M. ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM StockNanoStation Loco M5XW23.05.0https://downloads.openwrt.org/releases/23.05.0/targets/ath79/generic/openwrt-23.05.0-ath79-generic-ubnt_nanostation-loco-m-xw-squashfs-factory.binhttps://downloads.openwrt.org/releases/23.05.0/targets/ath79/generic/openwrt-23.05.0-ath79-generic-ubnt_nanostation-loco-m-xw-squashfs-sysupgrade.binNanoStation M5XM22.03.5https://downloads.openwrt.org/releases/22.03.5/targets/ath79/tiny/openwrt-22.03.5-ath79-tiny-ubnt_nanostation-m-squashfs-factory.binhttps://downloads.openwrt.org/releases/22.03.5/targets/ath79/tiny/openwrt-22.03.5-ath79-tiny-ubnt_nanostation-m-squashfs-sysupgrade.binNanoStation M5XW23.05.0https://downloads.openwrt.org/releases/23.05.0/targets/ath79/generic/openwrt-23.05.0-ath79-generic-ubnt_nanostation-m-xw-squashfs-factory.binhttps://downloads.openwrt.org/releases/23.05.0/targets/ath79/generic/openwrt-23.05.0-ath79-generic-ubnt_nanostation-m-xw-squashfs-sysupgrade.bin → Install OpenWrt (generic explanation) 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/ You may need to downgrade the original AirOS firmware to v5.5 in order to allow a firmware upload via the web interface. Upload via TFTP should work even for new AirOS versions. 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. # 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 Installing OpenWrt via TFTP PoE passtrough It is possible to supply power to another device via the secondary ethernet port. POE passthrough is disabled by default. Device Model GPIO pin xm 8 xw 2 Configure via UCI The POE passthrough GPIO pin is configurable via UCI: uci show system.poe_passthrough Permanent configuration changes can be specified via command line: uci set system.poe_passthrough.value=1 uci commit system Temporary changes via CLI Run the following commands to change the state of the POE passthrough switch: # 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 # 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 This state does not survive a reboot. See the UCI based setting above for permanent configuration changes. Bootlogs Boot messages from Nanostation M5 Loco: 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 ... Hardware Nanostation M5 Serial Pins 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. Tags How to add tags ath79, AR7240, AR9342, 8Flash, 32RAM, 64RAM, 1port, 2port, fastethernet, Outdoor, PoE This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies ath79 ar7240 ar9342 8Flash 32RAM 64RAM 1port 2port fastethernet Outdoor PoE Last modified: 2023/05/07 15:20by g6094199