Asterisk installation on Dir-880L

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
wunderboy
DD-WRT Novice


Joined: 23 Dec 2018
Posts: 4

PostPosted: Sun Dec 23, 2018 15:15    Post subject: Asterisk installation on Dir-880L Reply with quote
Dear DD-WRT Gurus,

First of all I've solid knowledge with dd-wrt. Previously I've used Asterisk13 on Openwrt with hardware TP-LINk TL-WDR3600, which HW died after a storm.

Now I've a D-Link DIR-880L A1 with newest DD-WRT (build 38060) on it. USB drive is attached (reader+sd card) and partitioned.

Used following mount commands:
sleep 5
mount -o bind /tmp/mnt/sda1/etc /etc
mount -o bind /tmp/mnt/sda1/bin /bin
mount -o bind /tmp/mnt/sda1/lib /lib
mount -o bind /tmp/mnt/sda1/usr /usr
mount -o bind /tmp/mnt/sda1/opt /jffs

Edited ipkg.conf in /opt/etc folder and applied "ipkg install asterisk11" command without any issues.

When I go to /opt/opt/opt/sbin folder asterisk is there, but cannot start it, even I've run "startservice asterisk" command.

Do you have any idea what I missed?

Many thanks in advance!



Screenshot.JPG
 Description:
 Filesize:  136.37 KB
 Viewed:  949 Time(s)

Screenshot.JPG


Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12839
Location: Netherlands

PostPosted: Sun Dec 23, 2018 16:40    Post subject: Reply with quote
Have you seen the wiki: https://wiki.dd-wrt.com/wiki/index.php/Asterisk ?
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12839
Location: Netherlands

PostPosted: Sun Dec 23, 2018 17:01    Post subject: Reply with quote
Just to be sure nowadays the installing procedures for Entware are here: https://wiki.dd-wrt.com/wiki/index.php/Installing_Entware

Entware has Asterisk11 in its repo

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
wunderboy
DD-WRT Novice


Joined: 23 Dec 2018
Posts: 4

PostPosted: Mon May 13, 2019 11:00    Post subject: Process of installing Asterisk on D-Link DIR-880L Reply with quote
Thanks for the advice guys.

I could sort it out and want to post the solution here, as there is a chance someone else faces with the same task too.

1. On DD-WRT GUI Administration >> Management tab, under JFFS2 Support section enable Internal flash storage

2. Login via Command Line to the router and perform
Code:
cd jffs
mkdir /opt
mount -o noatime /jffs/opt /opt


3. As writen here install Entware
Code:
cd /opt
wget http://bin.entware.net/armv7sf-k3.2/installer/generic.sh
sh generic.sh


4. On GUI add these lines to startup script
Code:
sleep 10
mount -o noatime /jffs/opt /opt
sleep 5
/opt/etc/init.d/rc.unslung start


5. On CLI apply
Code:
opkg update
opkg upgrade


6. You can now install packages, like this
Code:
opkg install asterisk15


Hope this makes sense.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum