openwrt routerstation from kamikaze to attitude_adjustment

Notes taken while upgrading from Kamikaze to Attitude_Adjustment an openwrt powered routerstation.

Install tftp
pc# apt-get install tftp


Set the PC interface where tftp binds to 192.168.1.100
pc# ifconfig eth0:2 192.168.1.100 netmask 255.255.255.0


Get openwrt
pc# wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin


Configure routerstation network
$ ssh root@10.3.37.5
BusyBox v1.13.4 (2009-09-24 17:24:11 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r17696) ------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@rs# vi /etc/config/network 
set eth0 --WAN POE port-- to 192.168.1.20/24
config interface lan
        option ifname   eth0
        option proto    static
        option ipaddr   192.168.1.20
        option netmask  255.255.255.0
        option broadcast 192.168.1.255

Restart network
root@rs# /etc/init.d/network restart


Put the routerstation on `tftp mode` --Hold reset button while turning it on--

Send the firmware from the PC
pc# tftp 192.168.1.20 -m binary -c put openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin
tftp> connect 192.168.1.20
tftp> mode binary
tftp> put openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin
Sent 2883996 bytes in 2.5 seconds
tftp> quit
pc#


Reboot the routerstation and put the ethernet cable on LAN Port 1

Go to http://192.168.1.1 with a web-browser and click on Go to password configuration...
Set your password and Dropbear --the ssh daemon-- preferences
Click on Save & Apply

ssh in
$ ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
RSA key fingerprint is e2:f5:58:e7:2c:90:5c:02:ec:48:93:b7:bd:5c:94:6c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
root@192.168.1.1's password: 


BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (12.09, r36088)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:~# 


I did not find the Attitude Adjustment v12.09 on the table, but so far it works well.

References:
wiki.openwrt.org/toh/ubiquiti/routerstation



RS from OpenWrt kamikaze to OpenWrt Attitude Adjustment