| CPU | Ram | Flash | Network | Gigabit | USB | Serial | JTag |
|---|---|---|---|---|---|---|---|
| Atheros AR7161 | 128MB | 16MB | 3x1 | Yes | Yes | Yes | Yes |
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:
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
atftp (better?): atftp --option "timeout 1" --option "mode octet" --put --local-file openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 192.168.1.20
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.
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.
ssh root@192.168.1.1
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
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 | 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).
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.
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"
UNTESTED
Install
kmod-mmc kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storageand dependencies
Don't forget to install Modules for the filesystem you are using.
| 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
2. Power Supply Range 40VDC to 56VDC
3. Ethernet Interface
4. Real Time Clock "RTC" Interface
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 |
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,800Ticket on openwrt, Topic on Forum
TODO