[Asterisk-Users] loading zaptel drivers automatically upon reboot

Ben Higley pbx at itsngroup.com
Tue Jan 17 21:59:56 MST 2006


You could try removing the asterisk config, and zaptel config from boot.
and just placing it in the /etc/rc.local file

i did this for a while

modprobe zaptel
modprobe wcfxo..... etc etc...

sleep 2
/usr/sbin/asterisk &


> Yes,
>
> I did exactly that, but when I boot zaptel doesn't load wct1xxp. Then
> asterisk dies with error code 1.
>
> But if I stop the service zaptel, and start it again, then zaptel loads
> wct1xxp, and everything works fine.
>
> Then as I said, I don't get why zaptel doesn't load wct1xxp when boots.
>
> Regards,
>
> Carlos Alperin
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ben Higley
> Sent: Tuesday, January 17, 2006 9:33 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] loading zaptel drivers automatically upon
> reboot
>
> I have always just used "make config"..
>
> then edit /etc/sysconfig/zaptel to comment out the modules that i dont
> need.
>
>
>> On Sat, Jan 14, 2006 at 03:55:50PM -0500, Carlos Alperin wrote:
>>> After install everything on the supposedly right place, my conclusion
>>> is
>>> that zaptel doesn't load wct1xxp module.
>>
>> That's easy to test: before you restart zaptel, look at /proc/zaptel .
>> if /proc/zaptel exists, zaptel was loaded . if /proc/zaptel/1 exists and
>> reports those 24 channels, then wct1xxp has loaded and identified your
>> card.
>>
>> Another possible reason: make sure that the zaptel init.d script runs
>> before the asterisk one. It needs to have a lower "start" number. Use
>> 'chkconfig --list asterisk' and 'chkconfig --list zaptel' to verify
>> that.
>>
>>>
>>> Then, that is the reason for Asterisk to fail loading.
>>>
>>> However I change the MODULES & RMODULES on the zaptel on /etc/init.d &
>>> /etc/sysconfig, it continuous same way.
>>>
>>> Carlos Alperin
>>>
>>> -----Original Message-----
>>> From: asterisk-users-bounces at lists.digium.com
>>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir
>>> Cohen
>>> Sent: Saturday, January 14, 2006 2:36 PM
>>> To: asterisk-users at lists.digium.com
>>> Subject: Re: [Asterisk-Users] loading zaptel drivers automatically upon
>>> reboot
>>>
>>> On Fri, Jan 13, 2006 at 09:39:09PM -0500, Carlos Alperin wrote:
>>> > That is right for zaptel. But you still has to do modprobe wctdm on
>>> rc.local
>>> > before to load asterisk.
>>>
>>> rc.local is run after the standard init.d scripts. Thus if you load
>>> asterisk in an init.d script, you'd be loading the zaptel modules too
>>> late.
>>>
>>> Just add another init.d script. See the skeleton in /etc/init.d
>>> (there's
>>> a README there IIRC).
>>>
>>> --
>>> Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
>>> http://tzafrir.org.il |                           | a Mutt's
>>> tzafrir at cohens.org.il |                           |  best
>>> ICQ# 16849755         |                           | friend
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> Asterisk-Users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> Asterisk-Users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>> --
>> Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
>> http://tzafrir.org.il |                           | a Mutt's
>> tzafrir at cohens.org.il |                           |  best
>> ICQ# 16849755         |                           | friend
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>





More information about the asterisk-users mailing list