Re: [Asterisk-Users] Sangoma driver and zaptel

2006-06-15 Thread Tzafrir Cohen
On Wed, Jun 14, 2006 at 06:28:38PM +0200, Mimmus wrote:
 Hi,
 using Sangoma drivers:
 - doing 'lsmod', I see:
  zaptel ... wanpipe,wctdm24xxp,wctdm,wcfxo,wcte11xp,wct1xxp,wct4xxp,tor2
 I'd like to avoid loading all these modules. What have I to do?

Because you try to modprobe them all instead of just the modules that
are good for your system.

On redhats and such: set 

MODULES=wanpipe 

in /etc/sysconfig/zaptel

In Debian:

add the modules you need to /etc/modules

 - do I need to have 'zaptel' startup script under /etc/init.d ?

It is useful to have it. But if you have it, you don't really need to
silly ztcfg alias at modprobe time that is known to cause illusion of
incorrect module load.

-- 
Tzafrir Cohen  sip:[EMAIL PROTECTED]
icq#16849755   iax:[EMAIL PROTECTED]
+972-50-7952406   
[EMAIL PROTECTED]  http://www.xorcom.com
___
--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


[Asterisk-Users] Sangoma driver and zaptel

2006-06-14 Thread Mimmus
Hi,
using Sangoma drivers:
- doing 'lsmod', I see:
 zaptel ... wanpipe,wctdm24xxp,wctdm,wcfxo,wcte11xp,wct1xxp,wct4xxp,tor2
I'd like to avoid loading all these modules. What have I to do?
- do I need to have 'zaptel' startup script under /etc/init.d ?

Thanks
-- 
Domenico Viggiani

___
--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


Re: [Asterisk-Users] Sangoma driver and zaptel

2006-06-14 Thread Robert Roach

Mimmus wrote:


Hi,
using Sangoma drivers:
- doing 'lsmod', I see:
zaptel ... wanpipe,wctdm24xxp,wctdm,wcfxo,wcte11xp,wct1xxp,wct4xxp,tor2
I'd like to avoid loading all these modules. What have I to do?
- do I need to have 'zaptel' startup script under /etc/init.d ?

Thanks
 



AFAIK, there is no harm in not running the zaptel script if you are 
using the Sangoma drivers.  To verify, first stop asterisk then unload 
the zaptel drivers, assuming RHEL based system:


# service zaptel stop

Then restart asterisk.  If you have no problem running it w/out the 
zaptel drivers then you can permanently disable loading of digium 
drivers by first identifying the runlevel of the system:


# runlevel - outputs current run level, for example '3'

Then disable loading of drivers with the command (again RHEL system):

# chkconfig --level 3 zaptel off


Alternatively, you could just remove the symlink in 
/etc/rc.d/rc3.d/S09zaptel


HTH,

Robert

___
--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