RouterStation Pro
CPU | Ram | Flash | Network | Gigabit | USB | Serial | JTag |
---|---|---|---|---|---|---|---|
Atheros AR7161 | 128MB | 16MB | 3×1 | Yes | USB2.0x1 | Yes | Yes |
安装固件
注意事项:routerstation和routerstation_pro的固件不兼容。请确定使用的固件适合你的设备。
1. 下载固件镜像“openwrt-ar71xx-ubnt-rspro-squashfs-factory.bin”. (link here)
2. 启动设备并且按住复位开关直到进入恢复模式。
3. TFTP上传固件通过WAN接口,设备默认IP地址:192.168.1.20。
GNU/Linux | tftp 192.168.1.20 -m binary -c put openwrt-ar71xx-ubnt-rspro-jffs2-factory.bin |
---|
升级固件
如果你已经安装OpenWrt可以用命令行升级到新版OpenWrt。在刷新固件之前把固件镜像上传到ramdisk(/tmp),这是非常重要的。
网页升级
- 上传固件文件 “openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin”
- 等待设备重启
命令行升级
- SSH登陆设备
GNU/Linux:
ssh root@192.168.1.1
- 用下面的命令进行升级
cd /tmp/ |
wget http://downloads.openwrt.org/backfire/10.03/ar71xx/openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin |
sysupgrade -i /tmp/openwrt-ar71xx-ubnt-rspro-squashfs-sysupgrade.bin |
硬件
Official Specification for Ubiquiti RouterStation Pro
1. Overall System Configuration
- CPU Atheros AR7161 MIPS 24K 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 |
设备信息
图片
串口
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
关于如何连接JTAG接口,如何刷新设备固件,请点击JTAG tools.
点击port.jtag查看更多关于JTAG的详细信息。
系统配置
网络接口
默认网络接口:
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和WiFi是br-lan的桥接网络. WiFi因为安全原因默认禁用。
交换端口(for VLANs)
数字4,3,2是端口1,2,3的标记,数字5是和其它交换端口隔离的WAN接口,0是路由器内部连接。注意:配置VLAN,端口1的数字是4。vlan0 = eth1.0, vlan1 = eth1.1,以此类推。
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 |
*可能需要重新连接到交换端口,RB450G的RouterOS需要执行这个操作。
安全模式
忘记密码,启动脚本损坏,错误操作或者JFFS2分区损坏,可以进入到OpenWrt安全模式恢复。
启动安全模式
- 断开设备电源
- 计算机直接连接路由器LAN1接口
- 计算机设置一个在192.168.1.2到192.168.1.254之间的IP地址,例如:192.168.1.2(网关和DNS无需设置)
- 连接设备电源,并且等待DMZ指示灯点亮
- DMZ指示灯正常点亮,按住路由器的按钮直到设备开始复位和设置安装
- 如果操作正确,DMZ指示灯每秒快速闪烁3次
- telnet到设备,IP地址192.168.1.1 (无用户名和密码)
安全模式如何操作?
注意事项: 根文件系统在安全模式是只读模式的SquashfsFS。现在,运行mount_root转换到正常的可读写根文件系统模式。
1. 恢复路由器密码
passwd
|
2. 恢复路由器IP地址
uci get network.lan.ipaddr |
3. 因为意外运行'ipkg upgrade'或安装一个较大的软件包导致flash空间不足(清除JFFS2分区的所有内容)
mtd -r erase rootfs_data
|
完成所需事项,可以直接重启路由器进入正常模式