Skip to content

Stefcho's Tech Blog

Software Development, Cloud, DevOps and PfSense

Upgrading DD-WRT Firmware on Asus RT-N16 with Optware Asterisk 1.4

Posted on 22/02/2011 - 18/02/2019 by Stefan

As you remember before almost a year, I’ve setup a SoHo PBX on my router. Now it is time to upgrade the firmware. Usually I perform update on monthly bases. But after such extensible configuration for the PBX, and couple of month stable work, no changes were required.

Good place to start is this topic: Firmware Recommendations – Still 14929 – 02/17/11

There are K26 firmware recommendations are for 15230, but I decide to use slightly newer build “dd-wrt.v24-15508_NEWD-2_K2.6_big.bin”
But then it hit me, if I have to do all the configuration to enable Optware and Asterisk again, this would cost me hours of configuration.

After searching through the Wiki pages and the forum, found some relevant information:
“
/opt backup
Now we have prepared /opt for adding more packages. We can also create backup of the whole /opt tree in case of router upgrade, to give preinstalled /opt to a friend or just safety backup. We will create such backup with
~ # tar czf /tmp/opt-backup.tar.gz /opt
Destination for /tmp/opt-backup.tar.gz should be large enough! Beware that /tmp is RAM. Destination should be disk or remote smbfs partition. Extracting /opt backup could be:
cd /
rm -rf opt/*
tar xvzf /tmp/opt-backup.tar.gz
If /opt space is tight and no packages requiring libstdc++ will be used (like Amule) then removing this large shared library is recommended
~ # rm /opt/lib/libstdc\*
will remove
/opt/lib/libstdc++.so /opt/lib/libstdc++.so.6 /opt/lib/libstdc++.so.6.0.8
ipkg-opt downloads packages into /opt directory and erases them after installing. If you have enough free RAM and /jffs only then adding –tmp-dir /tmp is recommended instead of default /opt
”

source: http://www.dd-wrt.com/wiki/index.php/Optware

and something more meaningful:

“ gobbledigook
DD-WRT User
Joined: 06 Apr 2009
Posts: 376
Posted: Tue Jul 20, 2010 10:55 pm Post subject:
if optware is installed to an external drive (usb) then when settings are reset all you need to do is enable usb support in services, and select the mount point as /opt/ apply and reboot
”
Check out the whole topic here: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=464506

After reading this I’ve gain some confidence, and decide to upgrade.

update_firmware_dd-wrt

And it was a success, no additional configuration was needed, Asterisk was up and running straight after the upgrade of the firmware.

Straight

Posted in TechnicalTagged Asterisk, ASUS, DD-WRT, VoIP

Post navigation

Upmix mode Sound Blaster X-fi XtremeMusic 7.1 II
pfSense 1.2.3 as Virtual Machine on Windows Server 2008 R2 Hyper-V

1 Comment

  1. Anonymous says:
    05/06/2011 at 08:15

    Try debwrt: http://dev.debwrt.net/wiki/AsusRT-N16

Comments are closed.

Tags

ADDS AES-NI Asterisk ASUS Azure Captive Portal Cell Phone CentOS Certification Creative DD-WRT DNS Hyper-V LDAP Learning Linksys Microsoft Mikrotik RouterBoard RB250G Network OpenLDAP OpenVPN OpenWrt pfCenter pfSemse pfSense pfSense 2.0 RC1 pfSense 2.0 RC3 pfSense 2.2 PKI RADIUS Raspberry Pi Routing Site To Site Technical Uncategorized VLAN VMWare VoIP Vyatta Web Sites Windows Server 8 Windows Server 2008 R2 Windows Server 2012 R2 Wireless Workstation 8

Archives

  • April 2020
  • July 2019
  • May 2019
  • March 2019
  • February 2019
  • October 2018
  • August 2018
  • March 2016
  • April 2015
  • March 2015
  • January 2015
  • February 2012
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • July 2010
Proudly powered by WordPress | Theme: micro, developed by DevriX.