RouterStation Pro
DebWRT
Build image
-
cd debwrt
make menuconfig
Target system is: Atheros AR71xx/AR7240/AR913x
Subtarget is: Generic
-
(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)
/dev/sdb1 - DEBWRT_ROOT - Linux - ext3 - Rest of available size
/dev/sdb2 - DEBWRT_SWAP - Linux Swap - 128MB
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
Flash firmware (kernel)
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
-
make
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)
-
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
Re-enable LAN ports
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
Links
Operating system
-
DebWRT - Debian on embedded device!
-
-