• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Asterisk-bsd] Re: Asterisk-BSD Digest, Vol 34, Issue 15

 
   AsteriskGuru Archives Forum Index -> Asterisk-BSD
View previous topic :: View next topic  
Author Message
strain17 at yahoo.com
Guest





PostPosted: Wed May 30, 2007 3:51 am    Post subject: [Asterisk-bsd] Re: Asterisk-BSD Digest, Vol 34, Issue 15

How does your zaptel.conf look like?
Have you configured your zaptel.conf to include your FXO channel?

Example:
fxsks = 1
loadzone = us
defaultzone = us

modprobe wctdm before ztcfg -vvvvv ?

asterisk-bsd-request@lists.digium.com wrote:
Quote:
Send Asterisk-BSD mailing list submissions to
asterisk-bsd@lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-bsd
or, via email, send a message with subject or body 'help' to
asterisk-bsd-request@lists.digium.com

You can reach the person managing the list at
asterisk-bsd-owner@lists.digium.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Asterisk-BSD digest..."


Today's Topics:

1. Zaptel Drivers (John S. Strock)
2. RE: Zaptel Drivers (Mimura,Shigeki)
3. RE: Zaptel Drivers (John S. Strock)
4. RE: Zaptel Drivers (John S. Strock)
5. RE: Zaptel Drivers (Mimura,Shigeki)
6. RE: Zaptel Drivers (John S. Strock)
7. Re: Zaptel Drivers (Chad Leigh -- Pengar Enterprises Inc)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 May 2007 15:28:03 -0600
From: "John S. Strock"
Subject: [Asterisk-bsd] Zaptel Drivers
To:
Message-ID: <002c01c7a238$3d5de360$c8c871cc@Tiger>
Content-Type: text/plain; charset="us-ascii"

I'm running FreeBSD v6.2 and Asterisk v1.4.3. I've installed Asterisk via
the Ports and everything has been working great. I just ordered and
received a TDM01B card from Digium and am not sure how to install and
configure anything for it. Ztcfg -vv give me the following:



ztcfg -vv



Notice: Configuration file is /usr/local/etc/zaptel.conf

line 0: Unable to open master device '/dev/zap/ctl'

Keyword: [fxsks], Value: [1,2,3,4]

Keyword: [loadzone], Value: [us]

Keyword: [defaultzone], Value: [us]



1 error(s) detected



I've been using FreeBSD for several years, but am not familiar with loading
drivers or devices (I knew how to load devices in v4.11, but not this
version).



Can you direct me to any articles on configuring my card for FreeBSD? Or
offer any help?



Thanks,





John Strock





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070529/67ed2610/attachment-0001.htm

------------------------------

Message: 2
Date: Wed, 30 May 2007 09:49:22 +0900
From: "Mimura,Shigeki"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "Asterisk on BSD discussion"
Message-ID:
<1D5B9937D6DCF046B4A00C76DBC70279230CB5@tsmail.TOUCHSTONE.local>
Content-Type: text/plain; charset="iso-8859-1"


John Strock wrote:

Quote:
I'm running FreeBSD v6.2 and Asterisk v1.4.3.  I've installed Asterisk via the Ports and everything has been working great.  I just ordered and received a TDM01B card from Digium and am not sure how to install and configure anything for it.  Ztcfg -vv give me the following:

ztcfg -vv

Notice: Configuration file is /usr/local/etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'
Keyword: [fxsks], Value: [1,2,3,4]
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]

1 error(s) detected

I've been using FreeBSD for several years, but am not familiar with loading drivers or devices (I knew how to load devices in v4.11, but not this version).

Can you direct me to any articles on configuring my card for FreeBSD?  Or offer any help?

Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or execute '/usr/local/etc/rc.d/zaptel start'.


------------------------------

Message: 3
Date: Tue, 29 May 2007 19:14:56 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <003f01c7a257$ef5e2f10$c8c871cc@Tiger>
Content-Type: text/plain; charset="iso-8859-1"

Yes, I have zaptel_enable="YES" in rc.conf, and I get the following error
when I issue /usr/local/etc/rc.d/zaptel.sh start

zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: Operation not
permitted

I'm assuming it has to do with the zaptel device that's not loaded yet.

Any other ideas?

Thanks,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 6:49 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers


John Strock wrote:

Quote:
I'm running FreeBSD v6.2 and Asterisk v1.4.3.  I've installed Asterisk via
the Ports and everything has been working great.  I just ordered and

received a TDM01B card from Digium and am not sure how to install and
configure anything for it.  Ztcfg -vv give me the following:
Quote:

ztcfg -vv

Notice: Configuration file is /usr/local/etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'
Keyword: [fxsks], Value: [1,2,3,4]
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]

1 error(s) detected

I've been using FreeBSD for several years, but am not familiar with
loading drivers or devices (I knew how to load devices in v4.11, but not

this version).
Quote:

Can you direct me to any articles on configuring my card for FreeBSD?  Or
offer any help?


Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

Message: 4
Date: Tue, 29 May 2007 19:17:30 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <004001c7a258$4b0be140$c8c871cc@Tiger>
Content-Type: text/plain; charset="iso-8859-1"

As a side note, how do I get zaptel.ko, I assume when I installed Asterisk
via the ports, it would've installed the *.ko file, but apparently not.

Thanks,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 6:49 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers


John Strock wrote:

Quote:
I'm running FreeBSD v6.2 and Asterisk v1.4.3.  I've installed Asterisk via
the Ports and everything has been working great.  I just ordered and

received a TDM01B card from Digium and am not sure how to install and
configure anything for it.  Ztcfg -vv give me the following:
Quote:

ztcfg -vv

Notice: Configuration file is /usr/local/etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'
Keyword: [fxsks], Value: [1,2,3,4]
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]

1 error(s) detected

I've been using FreeBSD for several years, but am not familiar with
loading drivers or devices (I knew how to load devices in v4.11, but not

this version).
Quote:

Can you direct me to any articles on configuring my card for FreeBSD?  Or
offer any help?


Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

Message: 5
Date: Wed, 30 May 2007 11:10:40 +0900
From: "Mimura,Shigeki"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "Asterisk on BSD discussion"
Message-ID:
<1D5B9937D6DCF046B4A00C76DBC70279230CB6@tsmail.TOUCHSTONE.local>
Content-Type: text/plain; charset="us-ascii"

John Strock wrote:
Quote:
As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk

Quote:
via the ports, it would've installed the *.ko file, but apparently
not.


When you installed asterisk from ports, also zaptel was installed under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?


------------------------------

Message: 6
Date: Tue, 29 May 2007 20:28:01 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <004601c7a262$25181b20$c8c871cc@Tiger>
Content-Type: text/plain; charset="us-ascii"

After receiving your last response, one thing hit me, I have my server
locked down and have the following in my /etc/rc.conf file:

kern_securelevel_enable="YES"
kern_securelevel="1"

So I've now disabled these lines, and I get the following errors, now
instead of "Operation not permitted", I received "File Exists":


# /usr/local/etc/rc.d/zaptel.sh start
zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

# kldload /usr/local/lib/zaptel/zaptel.ko
kldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

Again, I'm not familiar with loading modules and devices so I'm not sure
what this means.

To answer your install question...

Installing Asterisk from ports appeared to have installed zaptel as well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.

Any more ideas?

Thanks again,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers

John Strock wrote:
Quote:
As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk

Quote:
via the ports, it would've installed the *.ko file, but apparently
not.


When you installed asterisk from ports, also zaptel was installed under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

Message: 7
Date: Tue, 29 May 2007 20:33:46 -0600
From: Chad Leigh -- Pengar Enterprises Inc
Subject: Re: [Asterisk-bsd] Zaptel Drivers
To: Asterisk on BSD discussion
Message-ID: <5C9099CB-ECCA-4479-94A4-B1725DE09BFC@pengar.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


On May 29, 2007, at 8:28 PM, John S. Strock wrote:

Quote:
After receiving your last response, one thing hit me, I have my server
locked down and have the following in my /etc/rc.conf file:

kern_securelevel_enable="YES"
kern_securelevel="1"

I thought that might be a problem but was checking some things before
I replied as I was not sure how that affected kernel modules

Quote:

So I've now disabled these lines, and I get the following errors, now
instead of "Operation not permitted", I received "File Exists":


# /usr/local/etc/rc.d/zaptel.sh start
zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

# kldload /usr/local/lib/zaptel/zaptel.ko
kldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

maybe it is already loaded from your startup?

try

# kldstat


is it listed?

Chad

Quote:

Again, I'm not familiar with loading modules and devices so I'm not
sure
what this means.

To answer your install question...

Installing Asterisk from ports appeared to have installed zaptel as
well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.

Any more ideas?

Thanks again,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of
Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers

John Strock wrote:
> As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
> via the ports, it would've installed the *.ko file, but apparently
not.

When you installed asterisk from ports, also zaptel was installed
under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd


End of Asterisk-BSD Digest, Vol 34, Issue 15
********************************************


Fussy? Opinionated? Impossible to please? Perfect. [url=http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ]Join Yahoo!'s user panel[/url] and lay it on us.
Back to top
jstrock at batc.edu
Guest





PostPosted: Wed May 30, 2007 4:27 am    Post subject: [Asterisk-bsd] Re: Asterisk-BSD Digest, Vol 34, Issue 15

Yes, I have what you’ve specified except for fxsks, I have 4 since my module is in slot 4, is that the right way to do it?  Here’s the output of ztcfg:
 
# ztcfg -vvvvvv
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]
Keyword: [fxsks], Value: [4]
 
Zaptel Version: 1.4.0-BSD
Echo Canceller: MG2
Configuration
======================
 
 
Channel map:
 
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
 
1 channels configured.
 
 
John S. Strock

[b]Bridgerland Applied Technology College[/b]
Information Technology Department Head/Instructor
(435) 760-0390
www.batc.edu
 


From: asterisk-bsd-bounces@lists.digium.com [mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Simpson Chua
Sent: Tuesday, May 29, 2007 9:51 pm
To: asterisk-bsd@lists.digium.com
Subject: [Asterisk-bsd] Re: Asterisk-BSD Digest, Vol 34, Issue 15

 
How does your zaptel.conf look like?
Have you configured your zaptel.conf to include your FXO channel?

Example:
fxsks = 1
loadzone = us
defaultzone = us

modprobe wctdm before ztcfg -vvvvv ?

asterisk-bsd-request@lists.digium.com wrote:
Send Asterisk-BSD mailing list submissions to
asterisk-bsd@lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-bsd
or, via email, send a message with subject or body 'help' to
asterisk-bsd-request@lists.digium.com

You can reach the person managing the list at
asterisk-bsd-owner@lists.digium.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Asterisk-BSD digest..."


Today's Topics:

1. Zaptel Drivers (John S. Strock)
2. RE: Zaptel Drivers (Mimura,Shigeki)
3. RE: Zaptel Drivers (John S. Strock)
4. RE: Zaptel Drivers (John S. Strock)
5. RE: Zaptel Drivers (Mimura,Shigeki)
6. RE: Zaptel Drivers (John S. Strock)
7. Re: Zaptel Drivers (Chad Leigh -- Pengar Enterprises Inc)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 May 2007 15:28:03 -0600
From: "John S. Strock"
Subject: [Asterisk-bsd] Zaptel Drivers
To:
Message-ID: <002c01c7a238$3d5de360$c8c871cc@Tiger>
Content-Type: text/plain; charset="us-ascii"

I'm running FreeBSD v6.2 and Asterisk v1.4.3. I've installed Asterisk via
the Ports and everything has been working great. I just ordered and
received a TDM01B card from Digium and am not sure how to install and
configure anything for it. Ztcfg -vv give me the following:



ztcfg -vv



Notice: Configuration file is /usr/local/etc/zaptel.conf

line 0: Unable to open master device '/dev/zap/ctl'

Keyword: [fxsks], Value: [1,2,3,4]

Keyword: [loadzone], Value: [us]

Keyword: [defaultzone], Value: [us]



1 error(s) detected



I've been using FreeBSD for several years, but am not familiar with loading
drivers or devices (I knew how to load devices in v4.11, but not this
version).



Can you direct me to any articles on configuring my card for FreeBSD? Or
offer any help?



Thanks,





John Strock





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070529/67ed2610/attachment-0001.htm

------------------------------

Message: 2
Date: Wed, 30 May 2007 09:49:22 +0900
From: "Mimura,Shigeki"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "Asterisk on BSD discussion"
Message-ID:
<1D5B9937D6DCF046B4A00C76DBC70279230CB5@tsmail.TOUCHSTONE.local>
Content-Type: text/plain; charset="iso-8859-1"


John Strock wrote:

> I'm running FreeBSD v6.2 and Asterisk v1.4.3.  I've installed Asterisk via the Ports and everything has been working great.  I just ordered and received a TDM01B card from Digium and am not sure how to install and configure anything for it.  Ztcfg -vv give me the following:
>
> ztcfg -vv
>
> Notice: Configuration file is /usr/local/etc/zaptel.conf
> line 0: Unable to open master device '/dev/zap/ctl'
> Keyword: [fxsks], Value: [1,2,3,4]
> Keyword: [loadzone], Value: [us]
> Keyword: [defaultzone], Value: [us]
>
> 1 error(s) detected
>
> I've been using FreeBSD for several years, but am not familiar with loading drivers or devices (I knew how to load devices in v4.11, but not this version).
>
> Can you direct me to any articles on configuring my card for FreeBSD?  Or offer any help?

Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or execute '/usr/local/etc/rc.d/zaptel start'.


------------------------------

Message: 3
Date: Tue, 29 May 2007 19:14:56 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <003f01c7a257$ef5e2f10$c8c871cc@Tiger>
Content-Type: text/plain; charset="iso-8859-1"

Yes, I have zaptel_enable="YES" in rc.conf, and I get the following error
when I issue /usr/local/etc/rc.d/zaptel.sh start

zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: Operation not
permitted

I'm assuming it has to do with the zaptel device that's not loaded yet.

Any other ideas?

Thanks,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 6:49 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers


John Strock wrote:

> I'm running FreeBSD v6.2 and Asterisk v1.4.3.  I've installed Asterisk via
the Ports and everything has been working great.  I just ordered and
received a TDM01B card from Digium and am not sure how to install and
configure anything for it.  Ztcfg -vv give me the following:
>
> ztcfg -vv
>
> Notice: Configuration file is /usr/local/etc/zaptel.conf
> line 0: Unable to open master device '/dev/zap/ctl'
> Keyword: [fxsks], Value: [1,2,3,4]
> Keyword: [loadzone], Value: [us]
> Keyword: [defaultzone], Value: [us]
>
> 1 error(s) detected
>
> I've been using FreeBSD for several years, but am not familiar with
loading drivers or devices (I knew how to load devices in v4.11, but not
this version).
>
> Can you direct me to any articles on configuring my card for FreeBSD?  Or
offer any help?

Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

Message: 4
Date: Tue, 29 May 2007 19:17:30 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <004001c7a258$4b0be140$c8c871cc@Tiger>
Content-Type: text/plain; charset="iso-8859-1"

As a side note, how do I get zaptel.ko, I assume when I installed Asterisk
via the ports, it would've installed the *.ko file, but apparently not.

Thanks,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 6:49 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers


John Strock wrote:

> I'm running FreeBSD v6.2 and Asterisk v1.4.3.  I've installed Asterisk via
the Ports and everything has been working great.  I just ordered and
received a TDM01B card from Digium and am not sure how to install and
configure anything for it.  Ztcfg -vv give me the following:
>
> ztcfg -vv
>
> Notice: Configuration file is /usr/local/etc/zaptel.conf
> line 0: Unable to open master device '/dev/zap/ctl'
> Keyword: [fxsks], Value: [1,2,3,4]
> Keyword: [loadzone], Value: [us]
> Keyword: [defaultzone], Value: [us]
>
> 1 error(s) detected
>
> I've been using FreeBSD for several years, but am not familiar with
loading drivers or devices (I knew how to load devices in v4.11, but not
this version).
>
> Can you direct me to any articles on configuring my card for FreeBSD?  Or
offer any help?

Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

Message: 5
Date: Wed, 30 May 2007 11:10:40 +0900
From: "Mimura,Shigeki"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "Asterisk on BSD discussion"
Message-ID:
<1D5B9937D6DCF046B4A00C76DBC70279230CB6@tsmail.TOUCHSTONE.local>
Content-Type: text/plain; charset="us-ascii"

John Strock wrote:
> As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
> via the ports, it would've installed the *.ko file, but apparently
not.

When you installed asterisk from ports, also zaptel was installed under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?


------------------------------

Message: 6
Date: Tue, 29 May 2007 20:28:01 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <004601c7a262$25181b20$c8c871cc@Tiger>
Content-Type: text/plain; charset="us-ascii"

After receiving your last response, one thing hit me, I have my server
locked down and have the following in my /etc/rc.conf file:

kern_securelevel_enable="YES"
kern_securelevel="1"

So I've now disabled these lines, and I get the following errors, now
instead of "Operation not permitted", I received "File Exists":


# /usr/local/etc/rc.d/zaptel.sh start
zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

# kldload /usr/local/lib/zaptel/zaptel.ko
kldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

Again, I'm not familiar with loading modules and devices so I'm not sure
what this means.

To answer your install question...

Installing Asterisk from ports appeared to have installed zaptel as well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.

Any more ideas?

Thanks again,

John


-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers

John Strock wrote:
> As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
> via the ports, it would've installed the *.ko file, but apparently
not.

When you installed asterisk from ports, also zaptel was installed under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

Message: 7
Date: Tue, 29 May 2007 20:33:46 -0600
From: Chad Leigh -- Pengar Enterprises Inc
Subject: Re: [Asterisk-bsd] Zaptel Drivers
To: Asterisk on BSD discussion
Message-ID: <5C9099CB-ECCA-4479-94A4-B1725DE09BFC@pengar.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


On May 29, 2007, at 8:28 PM, John S. Strock wrote:

> After receiving your last response, one thing hit me, I have my server
> locked down and have the following in my /etc/rc.conf file:
>
> kern_securelevel_enable="YES"
> kern_securelevel="1"

I thought that might be a problem but was checking some things before
I replied as I was not sure how that affected kernel modules

>
> So I've now disabled these lines, and I get the following errors, now
> instead of "Operation not permitted", I received "File Exists":
>
>
> # /usr/local/etc/rc.d/zaptel.sh start
> zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists
>
> # kldload /usr/local/lib/zaptel/zaptel.ko
> kldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists

maybe it is already loaded from your startup?

try

# kldstat


is it listed?

Chad

>
> Again, I'm not familiar with loading modules and devices so I'm not
> sure
> what this means.
>
> To answer your install question...
>
> Installing Asterisk from ports appeared to have installed zaptel as
> well,
> because when I tried to install zaptel from ports, I received an error
> stating it was already installed. Also, the zaptel.ko file exists in
> /usr/local/lib/zaptel, so again, I assume it was created for me.
>
> Any more ideas?
>
> Thanks again,
>
> John
>
>
> -----Original Message-----
> From: asterisk-bsd-bounces@lists.digium.com
> [mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of
> Mimura,Shigeki
> Sent: Tuesday, May 29, 2007 8:11 pm
> To: Asterisk on BSD discussion
> Subject: RE: [Asterisk-bsd] Zaptel Drivers
>
> John Strock wrote:
>> As a side note, how do I get zaptel.ko, I assume when I installed
> Asterisk
>> via the ports, it would've installed the *.ko file, but apparently
> not.
>
> When you installed asterisk from ports, also zaptel was installed
> under
> '/usr/local/lib/zaptel'.
> How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd



------------------------------

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd


End of Asterisk-BSD Digest, Vol 34, Issue 15
********************************************


 
 

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-BSD All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™