[asterisk-users] my dahdi dont'n start
Yves
ybaesa at dm2it.com
Fri Apr 29 02:31:39 CDT 2016
Hello,
I was faced with this problem, it is enough to place
subdirectory under ./tools installation dahdi when compiling and
run make install-config it should work.
we must have :
mkdir -p / etc / dahdi
mkdir -p /etc/modprobe.d
install -m644 xpp / genconf_parameters / etc / dahdi / genconf_parameters
install -m644 init.conf.sample /etc/dahdi/init.conf
install -m644 blacklist.sample /etc/modprobe.d/dahdi-blacklist.conf
install -m644 modprobe.conf.sample /etc/modprobe.d/dahdi.conf
make -f ./Makefile.legacy top_srcdir =. srcdir =. config
make [1]: Entering directory
'/usr/src/dahdi-linux-complete-2.11.1+2.11.1/tools'
install -D dahdi.init /etc/init.d/dahdi
/usr/sbin/update-rc.d dahdi defaults 15 30
DAHDI has-been configured.
Le 28/04/2016 16:37, A J Stiles a écrit :
> On Thursday 28 Apr 2016, Mamadou NGOM wrote:
>> Hello,
>> it doesn't work my dahdi yet .for information, i use debian 8 .
>> I put the file dahdi.bash in /etc/init.d and I gave it the permission 755
>> but i have the same error: bash: /etc/init.d/dahdi: No such file or
>> directory
> You need to name the file just "dahdi", not "dahdi.bash"; because the command
> "service dahdi start" is looking for a file just called "dahdi". If you run
> # mv /etc/init.d/dahdi.bash /etc/init.d/dahdi
> then
> # service dahdi start
> should work.
>
> You probably also need to run
> # update-rc.d dahdi defaults
> to ensure it starts up everytime the computer is booted up.
>
More information about the asterisk-users
mailing list