Re: [asterisk-users] modprobe wctdm fails in /etc/rc.local on FC5

2006-08-16 Thread Martti Tienhaara

Hi Tzafrir

I'm still testing so I start asterisk manually after boot. You are right 
that 99 would normally be too late but as long as zaptel + modules are 
loaded first with a lesser boot sequence number and is running when 
asterisk starts on boot up it shouldn't matter where it is done in the 
boot process.

-
Martti Tienhaara wrote:
> > Hi Robert
> >
> > Why don't you select the modules in /etc/sysconfig/zaptel and allow 
the

> > system to boot via /etc/init.d/zaptel by placing a link S99zaptel in
> > your appropriate run level directory. I found that S09zaptel, the
> > default, didn't work for me in my setup because it was too early in 
the
> > boot process. You have to install zaptel for these files to exist. 
Hope

> > this helps.
-
> Tzafrir Cohen wrote
>
> Why is 09 too early? And isn't 99 too late? How do you start asterisk?

--
Martti Tienhaara ([EMAIL PROTECTED])
DASH Software Ltd.
___
--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] modprobe wctdm fails in /etc/rc.local on FC5

2006-08-15 Thread Tzafrir Cohen
On Tue, Aug 15, 2006 at 10:02:06PM -0700, Martti Tienhaara wrote:
> Hi Robert
> 
> Why don't you select the modules in /etc/sysconfig/zaptel and allow the 
> system to boot via /etc/init.d/zaptel by placing a link S99zaptel in 
> your appropriate run level directory. I found that S09zaptel, the 
> default, didn't work for me in my setup because it was too early in the 
> boot process. You have to install zaptel for these files to exist. Hope 
> this helps.

Why is 09 too early? And isn't 99 too late? How do you start asterisk?

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[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


Re: [asterisk-users] modprobe wctdm fails in /etc/rc.local on FC5

2006-08-15 Thread Tzafrir Cohen
On Tue, Aug 15, 2006 at 09:32:00PM -0400, Robert La Ferla wrote:
> If I boot my server and manually type "modprobe wctdm", it correctly  
> loads both wctdm and zaptel.  If I put the modprobe in /etc/rc.local  
> and reboot, it fails.  Why?  

Maybe /sbin is not in the path?

Anyway, rc.local is normally a rather late place to load modules.
Asterisk should be started in an init.d script that is run before
rc.local .

-- 
Tzafrir Cohen sip:[EMAIL PROTECTED]
icq#16849755  iax:[EMAIL PROTECTED]
+972-50-7952406  jabber:[EMAIL PROTECTED]
[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


Re: [asterisk-users] modprobe wctdm fails in /etc/rc.local on FC5

2006-08-15 Thread Martti Tienhaara

Hi Robert

Why don't you select the modules in /etc/sysconfig/zaptel and allow the 
system to boot via /etc/init.d/zaptel by placing a link S99zaptel in 
your appropriate run level directory. I found that S09zaptel, the 
default, didn't work for me in my setup because it was too early in the 
boot process. You have to install zaptel for these files to exist. Hope 
this helps.


Robert La Ferla wrote:
If I boot my server and manually type "modprobe wctdm", it correctly 
loads both wctdm and zaptel.  If I put the modprobe in /etc/rc.local and 
reboot, it fails.  Why?  I am running the latest svn source of zaptel on 
Fedora Core 5 (w/latest updates as of 8/15)


Here are the error messages from modprobe:

Aug 15 15:55:39 WARNING[1860] chan_zap.c: Unable to specify channel 1: 
No such device or address
Aug 15 15:55:39 ERROR[1860] chan_zap.c: Unable to open channel 1: No 
such device or address

here = 0, tmp->channel = 1, channel = 1
Aug 15 15:55:39 ERROR[1860] chan_zap.c: Unable to register channel '1'
Aug 15 15:55:39 WARNING[1860] loader.c: chan_zap.so: load_module failed, 
returning -1

Aug 15 15:55:39 WARNING[1860] loader.c: Loading module chan_zap.so failed!


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


--
Martti Tienhaara ([EMAIL PROTECTED])
DASH Software Ltd.
___
--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