A while back I wrote a small piece about installing OpenWRT on a Linksys WRTG. This part will be focussed on installing Asterisk on your WRTG.
Base Install
First we’ll be installing “OpenWRT” as our base “OS”. We’ll take the latest WhiteRussian for this. The flashing is done, when the progress indicator seems to hang.
Step-by-step
root@OpenWrt:/# cd /tmp/
root@OpenWrt:~# wget http://downloads.openwrt.org/whiterussian/0.9/default/openwrt-brcm-2.4-squashfs.trx
Connecting to downloads.openwrt.org[195.56.146.238]:80
openwrt-brcm-2.4-squ 100% |***************************************************************************| 1512 KB 00:00 ETA
root@OpenWrt:~# mtd -r write /tmp/openwrt-brcm-2.4-squashfs.trx linux
Unlocking linux …
Writing from /tmp/openwrt-brcm-2.4-squashfs.trx to linux … [w]
Packages
Now we’ll connect to our newly installed device, in orde to:
- Setup a password
- Update/Upgrade the packages
- Install Asterisk