Voip:persiapan kompile dahdi

yum groupinstall 'Development Tools'
yum install newt-devel
yum install ncurses-devel
yum install openssl-devel

Compile spine 0.8.7b di debian

Error pada waktu kompile

cacti-spine-0.8.7a# ./configure
configure: error: cannot run /bin/sh config/config.sub

Setelah di investigasi di google, ternyata belum ada library libtool

apt-get install libtool

Setelah masalah libtool selesai, muncul lagi masalah berikutnya :d

$ ./configure
...
...
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.22 Debian 1.5.22-4") ***

Please run:

  libtoolize --copy --force

Solusinya dari forum :
Read more »

Skrip jadul

#!/bin/bash
#rm eth1*
ls -1 eth0*|while read file
do
target=$(echo $file | sed -e "s/eth0/eth1/")
#sed '/CEIL/s/32/64/g' "$file" >  "$target"
mv "$file"  "$target"
done
#rm /var/cache/htb.init
#/etc/init.d/htb compile
#/etc/init.d/htb restart