hardware:routerstationpro
This is an old revision of the document!
Table of Contents
RouterStation Pro
DebWRT
Build image
- svn checkout https://svn.debwrt.net/debwrt/trunk debwrt
- cd debwrt
- make menuconfig
- Target system is: Atheros AR71xx/AR7240/AR913x
- Subtarget is: Generic
- Target Profile is: Ubiquiti RouterStation Pro
- (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/menuconfig
- (optional) make openwrt/kernel_menuconfig
- make
Prepare external rootfs (SD card or USB disk)
- Partition the USB Disk/Stick/Compact? Flash Card/SD Card:
/dev/sdb1 - DEBWRT_ROOT - Linux - ext3 - Rest of available size /dev/sdb2 - DEBWRT_SWAP - Linux Swap - 128MB
- Create filesystems
mkfs.ext3 -L DEBWRT_ROOT /dev/sdb1 tune2fs -c 0 -i 0 /dev/sdb1 mkswap /dev/sdb2
Copy rootfs on your SD card or USB disk
- (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!)
Flash firmware (kernel)
- Follow 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 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 flash DebWRT kernel
OpenWRT
Build image
- svn co svn://svn.openwrt.org/openwrt/trunk/
- cd trunk
- ./scripts/feeds update -a
- ./scripts/feeds install -a
- make menuconfig
- Target system is: Atheros AR71xx/AR7240/AR913x
- Subtarget is: Generic
- Target Profile is: Ubiquiti RouterStation Pro
- make
Re-enable LAN ports
- Install swconfig then:
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
Install wireless cards
Flash firmware
- Connect your computer to the WAN port
- Configure your network like this: 192.168.1.1/255.255.255.0 (anything but 192.168.1.20)
- Plug in your RouterStation Pro
- Press the reset button and hold it for about 10 seconds (you should see the third led flash a bit and the second on come up)
- You should be able to ping 192.168.1.20 now
- Send the firmware image with tftp in binary mode:
$ tftp 192.168.1.20 tftp> binary tftp> put openwrt-...-factory.bin
Links
Operating system
hardware/routerstationpro.1328005726.txt · Last modified: 2012/09/04 16:08 (external edit)