[asterisk-users] ztdummy does not load properly at server startup
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Apr 19 22:34:00 MST 2007
On Thu, Apr 19, 2007 at 09:45:10PM +0300, Tzafrir Cohen wrote:
> On Thu, Apr 19, 2007 at 06:28:51PM +0200, Theo Band wrote:
> > Hi
> >
> > I run asterisk 1.4.2 with zaptel 1.4.1.
> > Zaptel is only needed for the ztdummy driver to get the Meetme()
> > application to work. I don't have any specific hardware.
> > And it does work nicely. When I reboot the machine however I have to
> > manually load the driver like this:
> >
> > [root at vink ~]# modprobe ztdummy
> > Notice: Configuration file is /etc/zaptel.conf
> > line 0: Unable to open master device '/dev/zap/ctl'
> >
> > 1 error(s) detected
>
> The error message is meaningless for ztdummy. Please test if you have a
> working timing source with:
>
> zttest -v
>
> To get rid of this error, remove the line that runs an automatic ztcfg
> at the load of ztdummy: sed -i '/ztdummy/d'
Sorry, my typo here:
On redhats:
sed -i '/ztdummy/d' /etc/modprobe.conf
On Debians and probably most others:
sed -i '/ztdummy/d' /etc/modprobe.d/zaptel
Basically: delete the line that runs 'ztcfg' automatically after the
modprobe of ztdummy. While for "real" hardware modules there is some
point in rnning this (and I still wouldn't recommend it), for zaptel,
ztdynamic, ztdummy and xpp_usb this is totally pointless and has indeed
been removed in the SVN versions.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list