Skip to content

[UBNT] Routerstation Pro

Adrian Chadd edited this page Feb 22, 2021 · 1 revision

Ubiquiti Routerstation Pro

This is a short description of flashing the ubiquiti routerstation pro with FreeBSD.

Overview

The Ubiquiti Routerstation Pro is a MIPS board that supports 3 Mini-PCI slots and was commonly used for custom indoor and outdoor wireless AP solutions.

  • CPU: Atheros AR71xx SoC 720 Mhz (MIPS 32-bit big-endian)
  • Memory: 128MB
  • Flash: 16MB NOR
  • RS232 (serial) interface
  • Network: 4-Port Gigabit Ethernet Switch
  • SDIO card support
  • On-board RTC
  • Power: 40-54V DC, 802.3af PoE compliant, DC power jack
  • 3 x MiniPCI slots
  • 1 x SD card slot
  • 7 x GPIO

Booting and Flashing

The Routerstation Pro board uses a modified version of RedBoot. The serial console defaults to 115200, 8 bits, 1 stop bit, no parity.

  • Use CTRL-C during power-on / reset to interrupt the bootloader, or hold down the reset button to enter recovery mode
  • The default IP address during recovery is 192.168.1.20/24
  • You can change the IP address of the device using "ip" - "ip -h -l "
  • (server is used if you're tftp/boot'ing a kernel from the command line)
  • Use the 'urescue' command to enter the Ubiquiti rescue path - which you can then TFTP an image to -using the local IP address set above

Building

  • /path/to/freebsd-wifi-build/bin/build rspro
  • (wait a while)
  • The output image in ../tftpboot/ is "RSPRO.initial.img" which can be tftp'ed to the unit in rescue mode to flash

Flashing the above image

  • Boot the unit into rescue mode above, or use the command line to set the local IP and then use urescue
  • From a connected host, use tftp to upload the "RSPRO.initial.img" image ONTO the device
  • It will then verify the image is a valid sysinstall image, flash it, update the Redboot directory and reboot.