Bug#361312: postinst failure
    Jim Barber 
    jim.barber at ddihealth.com
       
    Fri Jun  9 03:40:19 UTC 2006
    
    
  
This problem also happened to me.
I too don't have any Zaptel hardware.
I installed the zaptel-source package so that I could compile the 
ztdummy module that provides the timing support required to get MeetMe 
working in Asterisk in the absence of any Zaptel hardware.
After installing the zaptel-modules-2.6.15-1-686 produced by 
module-assistant, along with the zaptel package that is a dependency, I 
encountered the same error.
The problem occured because the /dev/zap/* devices didn't exist.
I'm not sure if these would have existed if I had have been running 
DevFS or udev; but on my system I'm using the traditional /dev/ directory.
I created a quick script to create the appropriate devices (after a bit 
of searching on the net).
Once I had them in place, then the zaptel package installed just fine.
The script I wrote to create the appropriate devices follows:
-------------
#!/bin/bash
if [[ $(id -u) != 0 ]]
then
        echo "You must be root to run this." >&2
        exit 1
fi
[[ -d /dev/zap ]] || mkdir /dev/zap
[[ -c /dev/zap/ctl ]] || mknod /dev/zap/ctl c 196 0
[[ -c /dev/zap/timer ]] || mknod /dev/zap/timer c 196 253
[[ -c /dev/zap/channel ]] || mknod /dev/zap/channel c 196 254
[[ -c /dev/zap/pseudo ]] || mknod /dev/zap/pseudo c 196 255
chown root:dialout /dev/zap/ctl /dev/zap/timer /dev/zap/channel 
/dev/zap/pseudo
chmod 660 /dev/zap/ctl /dev/zap/timer /dev/zap/channel /dev/zap/pseudo
exit 0
-------------
Regards,
-- 
----------
Jim Barber
DDI Health
    
    
More information about the Pkg-voip-maintainers
mailing list