hardware:routerstationpro
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hardware:routerstationpro [2011/02/03 17:35] – Michele Porelli | hardware:routerstationpro [2012/01/31 10:32] (current) – Michele Porelli | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== RouterStation Pro ====== | ====== RouterStation Pro ====== | ||
| - | ===== Build OpenWRT ===== | + | ===== DebWRT ===== |
| + | ==== Build image ==== | ||
| + | * svn checkout https:// | ||
| + | * cd debwrt | ||
| + | * make menuconfig | ||
| + | * Target system is: Atheros AR71xx/ | ||
| + | * Subtarget is: Generic | ||
| + | * Target Profile is: Ubiquiti RouterStation Pro | ||
| + | * (if you are using usb drive instead of sd card) Enter in " | ||
| + | * (optional) make openwrt/ | ||
| + | * (optional) make openwrt/ | ||
| + | * make | ||
| + | ==== Prepare external rootfs (SD card or USB disk) ==== | ||
| + | * Partition the USB Disk/ | ||
| + | < | ||
| + | /dev/sdb2 - DEBWRT_SWAP - Linux Swap - 128MB</ | ||
| + | * Create filesystems | ||
| + | < | ||
| + | tune2fs -c 0 -i 0 /dev/sdb1 | ||
| + | mkswap / | ||
| + | ==== Copy rootfs on your SD card or USB disk ==== | ||
| + | * (if you have not automount) mkdir -p / | ||
| + | * make debian/ | ||
| + | ==== Flash firmware (kernel) ==== | ||
| + | * Follow [[hardware: | ||
| + | ==== Kernel upgrade ==== | ||
| + | Using "make openwrt/ | ||
| + | To use the newer kernel you must unpack bin/ | ||
| + | ===== OpenWRT ===== | ||
| + | ==== Build image ==== | ||
| * svn co [[svn:// | * svn co [[svn:// | ||
| * cd trunk | * cd trunk | ||
| Line 11: | Line 40: | ||
| * make | * make | ||
| - | ===== Flash firmware | + | ==== Flash firmware ==== |
| * Connect your computer to the WAN port | * Connect your computer to the WAN port | ||
| * Configure your network like this: 192.168.1.1/ | * Configure your network like this: 192.168.1.1/ | ||
| Line 18: | Line 47: | ||
| * You should be able to ping 192.168.1.20 now | * You should be able to ping 192.168.1.20 now | ||
| * Send the firmware image with tftp in binary mode: | * 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 ==== | ||
| + | * Install swconfig then: | ||
| + | < | ||
| + | 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 ==== | ||
| + | * [[https:// | ||
| + | |||
| ===== Links ===== | ===== Links ===== | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | |||
| ===== Operating system ===== | ===== Operating system ===== | ||
| * [[software: | * [[software: | ||
hardware/routerstationpro.1296754519.txt · Last modified: (external edit)
