Ubiquiti RouterStation Pro

Install OpenWrt (generic explanation)

First, download (or otherwise obtain) the current release routerstation_pro “factory” OpenWrt firmware .bin file from the ar71xx/generic directory. Save the file to your PC's disk.

NOTE: The firmware image for the routerstation and the one for the routerstation_pro are NOT INTERCHANGEABLE. If you install the wrong one, your system will NOT boot.

After that, boot the device into recovery mode by:

  • connecting an ethernet cable to the WAN port
  • holding the reset button for a few seconds while powering on the device

In recovery mode the router has an IP address of Set your PC to have a static IP address in the range, for example with a netmask of

A ping will check that the router is active (optional):


In recovery mode, the Routerstation Pro is a TFTP server waiting for a file to be sent from a TFTP (not FTP) client on your PC. In the examples below, use the actual name of the firmware file you downloaded. Again be sure it is the ubnt-rspro factory version.

tftp -m binary -c put openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 
  • alternatively with atftp (better?):
    atftp --option "timeout 1" --option "mode octet" --put --local-file openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 
  • Microsoft Windows includes an official TFTP client which can be run from a Command Prompt:
    tftp -i PUT openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 

    If this results in an unknown command error, “TFTP Client” needs to be enabled using Control Panel: “Programs”-→“Turn Windows Features On and Off”

Once the upload starts, don't reset it nor power it off. Just wait; the routerstation_pro will reboot by itself when it has finished. That may take several minutes. Once it has rebooted, move the Ethernet cable to one of the LAN ports and access OpenWrt at

If the upload fails with the following message in the TFTP client:

 error received from server <Invalid firmware file> 

and/or the following message on the console:

 Invalid image format (error: -2) 

your image might simply be too large. This error has been encountered with a factory image of 14548996 bytes. Reducing the image to 12648860 made the problem go away.


If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the sysupgrade command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

An upgrade can also be accomplished by repeating the original tftp install process above with the new version. In that case, no settings will be saved and it will start with a default configuration like a fresh install.

LuCI Web Upgrade Process
Terminal Upgrade Process
  • Login as root via SSH on
    ssh root@

If the router is properly configured in a network that has a connection to the Internet, you can download the file directly from the OpenWrt server to the RAM disk (/tmp directory). Copy the URL for the latest “sysupgrade” version from above and paste it in to the terminal window after typing wget.

If the router is not connected to the Internet, first download the file to your PC then use scp to “push” it to the router's tmp directory before logging in with ssh. Log in, then cd to /tmp and execute the sysupgrade command on the file which is already there. The router shell allows you to type the first few letters of the file name (“open”) then press the tab key to autocomplete the name.

  • Use the following commands to download directly then upgrade. (Use the actual URL and filename of the version you are installing). If upgrading across a major version change, pass the -n option to sysupgrade so that it does not try to save your settings (the config files are likely to be incompatible):
    cd /tmp/
    wget [COPY URL HERE]
    sysupgrade [FILENAME]

or upgrade via the webinterface: luci

Since this part is identical for all devices, see Basic configuration.

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi
eth1 LAN ports (1 to 3)
eth0 WAN port DHCP

LAN and WiFi is bridged to br-lan. WiFi is disabled by default for security reasons (to prevent an open access point).

Numbers 4,3,2 are Ports 1,2,3 as labeled on the unit, number 5 is the Internet (WAN) port on the unit, but seperated from the rest of the switch, 0 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 4 when configuring VLANs. vlan0 = eth1.0, vlan1 = eth1.1 and so on.

Port Switch port Notes
WAN 5 physically* separated and connected to eth0
LAN 1 4
LAN 2 3
LAN 3 2
n/a 1 No external connector, unusable

*it might be re-attachable to the switch, as the RB450G is able to do that with RouterOS.

In case you really want a VLAN that attaches all the ports (effectively making it a switch), you will need a configuration similar to below.

config 'interface' 'lan'
        option 'ifname' 'eth1'
        option 'proto' 'static'
        option 'netmask' ''
        option 'ipaddr' ''
        option 'type' 'sta'

config 'switch'
        option 'name' 'eth1'
        option 'reset' '1'
        option 'enable_vlan' '1'

config 'switch_vlan'
        option 'device' 'eth1'
        option 'vlan' '1'
        option 'vid' '1'
        option 'ports' '0 1 2 3 4'

config 'switch_port'
        option 'pvid' '1'
        option 'port' '0'

config 'switch_port'
        option 'pvid' '1'
        option 'port' '1'

config 'switch_port'
        option 'pvid' '1'
        option 'port' '2'

config 'switch_port'
        option 'pvid' '1'
        option 'port' '3'

config 'switch_port'
        option 'pvid' '1'
        option 'port' '4'

config 'switch_port'
        option 'pvid' '1'
        option 'port' '5'

The network configuration above did not work for me. I wanted all four wired ports to be on the same bridge and to get their address over DHCP. After begging for some help on the OpenWrt forums, I got the following recipe to work:

config interface loopback
    option ifname    lo
    option proto    static
    option ipaddr
    option netmask
config  interface	lan
        option ifname 	'eth0 eth1'
        option proto 	dhcp
        option type 	bridge
        #option 'netmask' ''
        #option 'ipaddr' ''
        #option 'type' 'sta'
config interface wan
    	option ifname	eth0
        option proto	dhcp

config 'switch'
        option name	eth1
        option reset	1
        option enable_vlan	1

config  switch_vlan
        option device	eth1
        option vlan	1
        option ports	"0 1 2 3 4"

UNTESTED :?: Install

kmod-mmc kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage 

and dependencies

Don't forget to install Modules for the filesystem you are using.

  • Unplug the router's power cord.
  • Connect the router's LAN1 port directly to your PC.
  • Configure your PC with a static IP address between and E. g. (gateway and DNS is not required).
  • Plug the power on and wait for the DMZ LED to light up.
  • While the DMZ LED is on immediately press any button (Reset and Secure Easy Setup will work) a few times .
  • If done right the DMZ LED will quickly flash 3 times every second.
  • You should be able to telnet to the router at now (no username and password)
Architecture MIPS
Vendor Atheros
Bootloader RedBoot
System-on-Chip Atheros (AR7161) MIPS 24K
CPU Speed 680 MHz
Flash size 16 MiB
Wireless 3x 32-bit Mini-PCI slots (None included)
Switch Atheros AR8316
Ethernet ports 1+3
USB Yes v2.0
Serial Yes

Official Specification for Ubiquiti RouterStation Pro

1. Overall System Configuration

  • CPU Atheros AR7161 MIPS 24Kc running @ 680MHz
  • 4-Port Gigabit Ethernet Switch
  • Three MINI-PCI Slots supports Type IIIA
  • USB 2.0 Host
  • Built in RS232/dB9 Connector
  • SDIO
  • On board Real Time Clock “RTC”
  • DC Power Jack
  • 802.3af 48V compatible

2. Power Supply Range 40VDC to 56VDC

  • Using Higher voltage is recommended since it will use lower current
  • Typical Power Consumption is 3W idle no radios present
  • 5W idle One Radio present
  • 7W while passing 1000Mbps traffic
  • Single RJ45 “J1” is for WAN and 802.3af compatible Power Over Ethernet
  • Supports high power POE up to 25W

3. Ethernet Interface

  • J1 Single WAN port 10/100/1000
  • J2 Tripple LAN Port 10/100/1000
  • 2 RGMII Ethernet Logical Ports to Ethernet Phy Switch -
    • 1 RGMII port for WAN Port
    • 1 RGMII port for LAN Ports
  • Ethernet Phy switch, Atheros AR8316

4. Real Time Clock “RTC” Interface

  • RTC Interface shares the SPI bus with the on board FLASH
  • Active high signal on SPI CS enables RTC, active low signal on SPI CS enables FLASH
  • Manufacture Part# PCF2123TS Download Datasheet

5. Supported IO UART J3 6 pin Header Terminal Settings 115200 baud, 8 bits, nor parity, 1 stop bit.

Pin Out
Pin1 3.3VDC
Pin2 S_in
Pin3 NC
Pin4 NC
Pin5 S_out
Pin6 GND

JTAG Port “J4” 14 Pin header

Pin Out
Pin1 TRST Pin2 GND
Pin3 TDI Pin4 GND
Pin5 TDO Pin6 GND
Pin7 TMS Pin8 GND
Pin9 TCK Pin10 GND
Pin11 RST Pin12 NC
Pin13 NC Pin14 3.3VDC

USER GPIO Header “J33” Single Row 7 Pin Header Also next to it J5 dual row header to enable pull-up or pull-down for each GPIO user selectable in case User needs Active Low or Active High GPIO

J33 Pin out and Strapping option “place shunt to enable strapping option”



Uses GPIO_8 with weak pull-up, Active Low, for Resting back to factory defaults or multiple functions software dependent.


Link/Act signals are connected to the Ethernet Phy Switch

DS4 WAN Link/Act NA
DS14 LAN1 Link/Act NA
DS12 LAN2 Link/Act NA
DS13 LAN3 'Link/Act NA

routerstation-pro.jpg routerstation-pro_interface.jpg

The RS Pro has a standard RS-232 connector. Note that the official photos, including the ones above, are wrong - the board, while wired as a DCE, has a male connector. To connect it to a PC, you will need a standard (not null-modem) serial cable (female to male) and a female/female gender changer.

That's different than, for example, MikroTik Routerboards, which are wired as a male DTE and require a null-modem cable.

How to connect to JTAG interface, and how to reflash the device with JTAG tools

See port.jtag for more JTAG details.

Ar7161 processor can work at several frequency from 200MHz to 680MHz. Is also possible set CPU overclock frequency like 720MHz or 800MHz. In this case is recommended to use more powerfull heatsink. Package

How to use

root@OpenWrt:~# clock-ubiquiti-rs 
Usage: clock-ubiquiti-rs mhz
Allowed values for mhz are 200,300,333,400,600,680,720,800

Ticket on openwrt, Topic on Forum


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.More information about cookies
  • Last modified: 2024/02/12 08:58
  • by