Ubiquiti RouterStation Pro

CPU Ram Flash Network Gigabit USB Serial JTag
Atheros AR7161 128MB 16MB 3x1 Yes Yes Yes Yes

Installing a new Firmware Image

Before starting this procedure, download (or otherwise obtain) a routerstation.pro firmware, for example:

wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 

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

You can check that everything is OK (optional):

ping 192.168.1.20 

Finally, upload the new firmware to the device through its WAN port using TFTP (and NOT FTP) on the default IP address, 192.168.1.20:

tftp 192.168.1.20 -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 192.168.1.20 
  • or, if using M$ Windows, with tftp (which is not installed by default):
    tftp -i 192.168.1.20 PUT openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 

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.

Upgrading OpenWrt

generic.sysupgrade

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.

LuCI Web Upgrade Process
Terminal Upgrade Process
  • Login as root via SSH on 192.168.1.1
    ssh root@192.168.1.1
  • Use the following commands to upgrade:
    cd /tmp/
    wget http://downloads.openwrt.org/backfire/10.03.1/ar71xx/openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin
    sysupgrade -i /tmp/openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin

or upgrade via the webinterface: luci

Basic configuration

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

Specific Configuration

Interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
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).

Switch Ports (for VLANs)

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
CPU 0

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

Configure VLAN to be a normal switch

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' '255.255.255.0'
        option 'ipaddr' '10.11.12.13'
        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    127.0.0.1
    option netmask    255.0.0.0
                
config  interface	lan
        option ifname 	'eth0 eth1'
        option proto 	dhcp
        option type 	bridge
        #option 'netmask' '255.255.255.0'
        #option 'ipaddr' '10.11.12.13'
        #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"

Failsafe mode

Boot into failsafe mode

  • 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 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (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 192.168.1.1 now (no username and password)

Hardware

Info

Architecture: MIPS
Vendor: Atheros
Bootloader: RedBoot
System-on-Chip: Atheros (AR7161) MIPS 24K
CPU Speed: 680 Mhz
Flash-Chip:
Flash size: 16 MiB
RAM: 128 MiB DDR
Wireless: 3x 32-bit Mini-PCI slots (None included)
Switch: Atheros AR8316
Ethernet ports: 1+3
USB: Yes v2.0
Serial: Yes
JTAG: Yes

Official Specification for Ubiquiti RouterStation Pro

1. Overall System Configuration

  • CPU Atheros AR7161 MIPS 24Kc running @ 680MHz
  • MEMORY DDR 128MB
  • FLASH SPI 16MB
  • 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"

Pin Out NAME J5 STRAPPING
Pin1 GPIO_0 PULL LOW
Pin2 GPIO_1 PULL LOW
Pin3 GPIO_3 PULL LOW
Pin4 GPIO_4 PULL LOW
Pin5 GPIO_5 PULL HIGH
Pin6 GPIO_6 PULL HIGH
Pin7 GPIO_7 PULL HIGH

5. RESET BUTTON "SW4"

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

6. LED INDICATORS

Link/Act signals are connected to the Ethernet Phy Switch

LED NAME FUNCTION GPIO
D29 POWER 3.3VDC NA
D24 RF RADIO Act GPIO_2
DS4 WAN Link/Act NA
DS14 LAN1 Link/Act NA
DS12 LAN2 Link/Act NA
DS13 LAN3 'Link/Act NA

Photos

routerstation.pro.jpg rspro_interface.jpg

Serial

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.

JTAG

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

See port.jtag for more JTAG details.

Cpu frequency control

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

Buttons

TODO

Tags

For some Help with the Tags, please have a look here: tags

Back to top

toh/ubiquiti/routerstation.pro.txt · Last modified: 2013/11/23 02:26 by zxdavb