User Tools

Site Tools


hardware:routerstationpro

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hardware:routerstationpro [2011/04/25 23:41] Michele Porellihardware:routerstationpro [2012/09/04 16:18] (current) – external edit 127.0.0.1
Line 8: Line 8:
   * Subtarget is: Generic   * Subtarget is: Generic
   * Target Profile is: Ubiquiti RouterStation Pro   * Target Profile is: Ubiquiti RouterStation Pro
-  * ( optional ) make openwrt/menuconfig +  * (if you are using usb drive instead of sd card) Enter in "Kernel Configuration" and edit the device in "Default kernel command line" from sda1 to sdb1 
-  * ( optional ) make openwrt/kernel_menuconfig+  * (optional) make openwrt/menuconfig 
 +  * (optional) make openwrt/kernel_menuconfig
   * make   * make
 ==== Prepare external rootfs (SD card or USB disk) ==== ==== Prepare external rootfs (SD card or USB disk) ====
Line 20: Line 21:
 mkswap /dev/sdb2</code> mkswap /dev/sdb2</code>
 ==== Copy rootfs on your SD card or USB disk ==== ==== Copy rootfs on your SD card or USB disk ====
-  * (if you have not automount) mkdir -p /mnt/debwrt ; mount /dev/sdb1 /media/DEBWRT_ROOT +  * (if you have not automount) mkdir -p /media/DEBWRT_ROOT ; mount /dev/sdb1 /media/DEBWRT_ROOT 
-  * make debian/rootfs/install (Be careful! An rm -rf on /media/DEBWRT_ROOT is done first!)+  * make debian/rootfs/install (Be careful! An rm -Rf on /media/DEBWRT_ROOT is done first!)
 ==== Flash firmware (kernel) ==== ==== Flash firmware (kernel) ====
-Follow [[hardware:routerstationpro#Flash firmware|Router Station Pro OpenWRT flash instruction]] using bin/ar71xx-*-*-default/debwrt-firmware-ar71xx-generic-ubnt-rspro-squashfs-factory.bin+  * Follow [[hardware:routerstationpro#Flash firmware|Router Station Pro OpenWRT flash instruction]] using bin/ar71xx-*-*-default/debwrt-firmware-ar71xx-generic-ubnt-rspro-squashfs-factory.bin 
 +==== Kernel upgrade ==== 
 +Using "make openwrt/kernel_menuconfig" you can tune your kernel configuration, after your customization you can compile running "make" (NOTE: if you don't have an older enviroment you must follow the instruction to [[hardware:routerstationpro#Build image|build a DebWRT image]])\\ 
 +To use the newer kernel you must unpack bin/ar71xx-*-*-default/debwrt-modules-ar71xx-generic_UBNTRSPRO-*-*.tar.gz in /media/DEBWRT_ROOT/ (assuming that you have mounted DebWRT rootfs on /media/DEBWRT_ROOT/) and follow the instruction to [[hardware:routerstationpro#Flash firmware (kernel)|flash DebWRT kernel]]
 ===== OpenWRT ===== ===== OpenWRT =====
 ==== Build image ==== ==== Build image ====
Line 35: Line 39:
   * Target Profile is: Ubiquiti RouterStation Pro   * Target Profile is: Ubiquiti RouterStation Pro
   * make   * make
-==== Re-enable LAN ports ==== +
-  * Install swconfig then: +
-<code>swconfig dev eth1 set reset 1 +
-swconfig dev eth1 set enable_vlan 1 +
-swconfig dev eth1 vlan 0 set ports '0 1 2 3 4' +
-swconfig dev eth1 set apply 1</code>+
 ==== Flash firmware ==== ==== Flash firmware ====
   * Connect your computer to the WAN port   * Connect your computer to the WAN port
Line 51: Line 50:
 tftp> binary tftp> binary
 tftp> put openwrt-...-factory.bin</code> tftp> put openwrt-...-factory.bin</code>
 +
 +==== Re-enable LAN ports ====
 +  * Install swconfig then:
 +<code>swconfig dev eth1 set reset 1
 +swconfig dev eth1 set enable_vlan 1
 +swconfig dev eth1 vlan 0 set ports '0 1 2 3 4'
 +swconfig dev eth1 set apply 1</code>
 +
 +==== Install wireless cards ====
 +  * [[https://forum.openwrt.org/viewtopic.php?id=24682|How-To]]
  
  
hardware/routerstationpro.1303767701.txt · Last modified: 2012/09/04 16:08 (external edit)