User Tools

Site Tools


toh:ubiquiti:routerstation.pro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:ubiquiti:routerstation.pro [2013/02/11 01:56]
hcc23 Added PoE tag
toh:ubiquiti:routerstation.pro [2014/10/12 18:48] (current)
theoradicus add uncertain SD card reader info
Line 6: Line 6:
  
 ===== Installing a new Firmware Image ===== ===== Installing a new Firmware Image =====
-**''​NOTE:''​** The firmware image for the [[toh:​ubiquiti:​routerstation]] ​and the the one for the [[toh:ubiquiti:routerstation.pro]] are <color red>NOT COMPATIBLE</color>.+Before starting this procedure, download (or otherwise obtain) a [[toh:​ubiquiti:​routerstation.pro]] firmware, ​for example<​code>​ 
 +wget http://downloads.openwrt.org/​attitude_adjustment/​12.09/​ar71xx/​generic/​openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin ​</code>
  
-  - Find the image with "​openwrt-ar71xx-ubnt-rspro-squashfs-factory.bin"​.<code> +**''​NOTE:''​** The firmware image for the [[toh:​ubiquiti:​routerstation]] and the one for the [[toh:​ubiquiti:​routerstation.pro]] are <color red>NOT INTERCHANGEABLE</color> If you install ​the wrong one, your system ​will NOT boot. 
-http://​downloads.openwrt.org/​backfire/​10.03.1/​ar71xx/​openwrt-ar71xx-ubnt-rspro-squashfs-factory.bin</code> + 
-  - Boot the system ​in recovery mode by holding the reset button for a few seconds while powering on the device. +After that, boot the device into recovery mode by
-  ​- Upload ​the new firmware to the device through its WAN port using TFTP on the default IP address, 192.168.1.20:<​code bash> +  * connecting an ethernet cable to the WAN port 
-tftp 192.168.1.20 -m binary -c put openwrt-ar71xx-ubnt-rspro-squashfs-factory.bin</​code> ​Alternatively ​with ''​atftp'':<​code bash>​atftp ​--trace ​--option "​timeout 1" --option "mode octet" --put --local-file openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 192.168.1.20</​code>​ +  * holding the reset button for a few seconds while powering on the device 
-  - Don't reset it nor power it off. Just wait. Your RouterStation Pro will reboot by itself.+ 
 +You can check that everything is OK (optional): ​ <​code>​ 
 +ping 192.168.1.20 </​code>​ 
 + 
 +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:​ <code bash> 
 +tftp 192.168.1.20 -m binary -c put openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin </​code> ​ 
 + 
 +  * alternatively ​with ''​atftp'' ​(better?): <code bash> 
 +atftp --option "​timeout 1" --option "mode octet" --put --local-file openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 192.168.1.20 </​code>​ 
 + 
 +  ​* or, if using M$ Windows, with ''​tftp''​ (which is not installed by default): <​code>​ 
 +tftp -i 192.168.1.20 PUT openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin </​code>​ 
 + 
 +Once the upload starts, don't reset it nor power it off. Just wait; the [[toh:​ubiquiti:​routerstation.pro]] will reboot by itself ​when it has finished.
  
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
Line 114: Line 128:
         option '​port'​ '​5'​         option '​port'​ '​5'​
 </​code>​ </​code>​
 +
 +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:
 +<​code>​
 +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"
 +</​code>​
 +===== SD card reader =====
 +
 +UNTESTED :?:
 +Install ​
 +<​code>​
 +kmod-mmc kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage ​
 +</​code>​
 +and dependencies
 +
 +Don't forget to install Modules for the filesystem you are using.
 +
  
 ===== Failsafe mode ===== ===== Failsafe mode =====
Line 275: Line 331:
 For some Help with the Tags, please have a look here: [[meta:​tags]] For some Help with the Tags, please have a look here: [[meta:​tags]]
  
-{{tag>​GigabitEthernet ​PoE 5Port 2PHY USB MiniPCI 128RAM 16Flash MIPS MIPS32 24Kc}}+{{tag>​GigabitEthernet ​2NIC 0WNIC 5Port PoE USB MiniPCI ​3MiniPCI ​128RAM 16Flash MIPS MIPS32 24Kc}}
toh/ubiquiti/routerstation.pro.1360544167.txt.bz2 · Last modified: 2013/02/11 01:56 by hcc23