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
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
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:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 tzafrir.cohen@xorcom.com http://www.xorcom.com