Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-16 Thread Derek Whitten
/etc/modprobe.conf on slackware..



On Sat, 2005-04-16 at 08:05, goldhorse wrote:
> On 2005/04/16, at 15:48, chawki hammoud wrote:
> 
> >
> > Do you know where to add the modprobe lines so I don't
> > have to manually do that after each boot?
> >
> 
> On Redhat 9.0 and Yellow Dog 3.0.1 I , I did this to modprobe and ztcfg 
> on boot:
> cd /usr/src/zaptel  ;or wherever the zaptel source is located
> make config
> 
> In case you haven't done this with asterisk just go to the asterisk 
> source folder and
> do a make config.
> 
> I don't know how to do it in other distros though
> 
> Daniel
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Derek Whitten <[EMAIL PROTECTED]>
kFuQ Productions


signature.asc
Description: This is a digitally signed message part
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-16 Thread goldhorse
On 2005/04/16, at 15:48, chawki hammoud wrote:
Do you know where to add the modprobe lines so I don't
have to manually do that after each boot?
On Redhat 9.0 and Yellow Dog 3.0.1 I , I did this to modprobe and ztcfg 
on boot:
cd /usr/src/zaptel  ;or wherever the zaptel source is located
make config

In case you haven't done this with asterisk just go to the asterisk 
source folder and
do a make config.

I don't know how to do it in other distros though
Daniel
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-16 Thread chawki hammoud

--- Tzafrir Cohen <[EMAIL PROTECTED]> wrote:

> Note that this may have strange results if you need
> to load more than
> one module, as ztcfg will fail after the load of the
> first module and
> modprobe will return a failure message.


Yes, earlier when i first installed X100P, I got the
error message when i wrote and executed a script to
modprobe the modules. Now I know why i got the
message.
 
My last two posts were very informative. Thanks 

Regards;
chawki



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-16 Thread Steve Totaro


> Hello everyone:
> 
> I've had X100P running on asterisk 1.0.6 for about two
> months. Each time I start linux, I manually modprobe
> zaptel, wcfxo, and ztcfg before I start asterisk.
> Today, all of the sudden I am not able to load ztcfg
> and I get the error message 
> "FATAL: Module ztcfg not found."although ztcfg still
> exists in the zaptel and sbin direcory.
> 
> I am not aware of what changes i made that is
> preventing the modprobe of ztcfg.
> 
> I appreciate any advise
> chawki

Did you update the kernel or something?  Try recompiling zaptel.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-16 Thread Tzafrir Cohen
On Fri, Apr 15, 2005 at 11:48:29PM -0700, chawki hammoud wrote:
> 
> --- Ian Pattison <[EMAIL PROTECTED]> wrote:
> 
> > If I understand your question correctly ztcgf is not
> > a module, it's merely a rudimentary diagnostic
> > utility. Run "ztcfg -vv" to get info on your zaptel
> > hardware.
> 
> Thanks Ian:
> 
> When I installed the X100P, I followed the
> installation instruction and it gave the impression
> that ztcfg needs to be executed after each boot. Each
> time I used it, I did ztcfg, but last night i was
> modprobing ztcfg for some reason. Now I know what it
> is, thanks
> 
> Do you know where to add the modprobe lines so I don't
> have to manually do that after each boot?

You can tell modprobe to run a command after loading the module. A
sample modprobe file is provided with the distribution and you should
add it to /etc/modules.conf on kernel 2.4. 

On kernel 2.6 this has changed a bit.

Note that this may have strange results if you need to load more than
one module, as ztcfg will fail after the load of the first module and
modprobe will return a failure message.

Generally it creates confusion because errors in zaptel configuration
(errors from ztcfg) appear to come from modprobe and this may give the
impression that the module has failed to load.

-- 
Tzafrir Cohen | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage   | a Mutt's  
[EMAIL PROTECTED] ||  best
ICQ# 16849755 | Space reserved for other protocols | friend
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-16 Thread Brancaleoni Matteo
Hi,

Il giorno ven, 15-04-2005 alle 18:33 -0400, Ian Pattison ha scritto:
> If I understand your question correctly ztcgf is not a module, it's merely a 
> rudimentary diagnostic utility. Run "ztcfg -vv" to get info on your zaptel 
> hardware.

Not exactly. ztcfg is the tool that applies the zaptel.conf
configuration to the kernel modules (ie sets up
every channel to what you decide in zaptel.conf),
and must be executed after module loading.

The diagnostic utility is called zttool.

Matteo.

-- 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-15 Thread chawki hammoud

--- Ian Pattison <[EMAIL PROTECTED]> wrote:

> If I understand your question correctly ztcgf is not
> a module, it's merely a rudimentary diagnostic
> utility. Run "ztcfg -vv" to get info on your zaptel
> hardware.

Thanks Ian:

When I installed the X100P, I followed the
installation instruction and it gave the impression
that ztcfg needs to be executed after each boot. Each
time I used it, I did ztcfg, but last night i was
modprobing ztcfg for some reason. Now I know what it
is, thanks

Do you know where to add the modprobe lines so I don't
have to manually do that after each boot?




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Can't Modprobe ztcfg

2005-04-15 Thread Ian Pattison
If I understand your question correctly ztcgf is not a module, it's merely a 
rudimentary diagnostic utility. Run "ztcfg -vv" to get info on your zaptel 
hardware.

>>> [EMAIL PROTECTED] 15/04/2005 17:24 >>>
Hello everyone:

I've had X100P running on asterisk 1.0.6 for about two
months. Each time I start linux, I manually modprobe
zaptel, wcfxo, and ztcfg before I start asterisk.
Today, all of the sudden I am not able to load ztcfg
and I get the error message 
"FATAL: Module ztcfg not found."although ztcfg still
exists in the zaptel and sbin direcory.

I am not aware of what changes i made that is
preventing the modprobe of ztcfg.

I appreciate any advise
chawki




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com 
http://lists.digium.com/mailman/listinfo/asterisk-users 
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Can't Modprobe ztcfg

2005-04-15 Thread chawki hammoud
Hello everyone:

I've had X100P running on asterisk 1.0.6 for about two
months. Each time I start linux, I manually modprobe
zaptel, wcfxo, and ztcfg before I start asterisk.
Today, all of the sudden I am not able to load ztcfg
and I get the error message 
"FATAL: Module ztcfg not found."although ztcfg still
exists in the zaptel and sbin direcory.

I am not aware of what changes i made that is
preventing the modprobe of ztcfg.

I appreciate any advise
chawki




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users