Installing A Rhino Card? Updating zaptel? Read this.....

jfinstrom
Posts: 2008
Member Since:
2007-03-07

You may or may not have noticed the Rhino RPMS in the trixbox repo were a little dated and more recently they were removed. Currently there is several versions of zaptel floating around in trixbox installs depending on your updates. We realized it was impractical to be in the yum repo as we were since things would break depending on the zaptel version. Our interim solution was to have people pull the RPMS direct from us which had mixed results. This time allowed us to develop our back end however and with any luck will help us attempt to provide "0 day" support for zaptel upgrades.

The Solution:

We had the trixbox folks remove our kernel modules and put up a package called rhino-util.
You can install this with: yum -y install rhino-util
This will put a script on you system called "setup-rhino" which detects your software versions and installs the appropriate package. This install system works with all trixbox versions 2.4 and above. Unfortunately 1.x and 2.2.x versions are not supported as they are end of life and we can not guarantee stability on these systems. For users of these earlier trixboxes we recommend a source build.

FIRST TIME INSTALLS:
Install your rhino card
Stop asterisk: amportal stop
Get the rhino-util: yum -y install rhino-util
Run setup-rhino: setup-rhino
Configure your zaptel and zapata via genzaptelcnf or by hand
Load the drivers in to zaptel: ztcfg -vvvv
Start Asterisk: amportal start

UPGRADING ZAPTEL/ASTERISK:

Remove your rhino drivers: yum remove rhino-$(uname -r)
Stop asterisk: amportal stop
Get the rhino-util: yum -y install rhino-util
Update your Asterisk/Zaptel (at your own risk)
Run setup-rhino: setup-rhino
Your existing configs should be ok
Load the drivers in to zaptel: ztcfg -vvvv
Start Asterisk: amportal start

We have done our best to get all existing software combinations in to our back end. If your combination does not exist you can email us with the version output from setup rhino and we will work to get your scenario installed.

--



hdallen55
Posts: 153
Member Since:
2006-10-08
James,Does this grab the

James,

Does this grab the latest firmware, too, or just the correct driver package? We're currently still running 2.4 and have a pretty bad problem with tb/Rhino R4FXO not releasing lines after a call. It's so bad that we've essentially stopped using follow-me because after a call or two all of out trunks are tied up and no one else can call in. I don't recall having this issue before 2.4. I think I read that it's zaptel related?

Anyway, went through this earlier today. Still have problems with lines being released. May try to upgrade to 2.6.x this weekend to see if that helps. Tried several weeks ago and ended up moving back to 2.4 before the work week started again (trouble getting the Rhino working with 2.6).

Doug
www.vbcnetworks.com



jfinstrom
Posts: 2008
Member Since:
2007-03-07
The package "2.2.6" which it

The package "2.2.6" which it currently pulls has the 1.15 firmware inside.

--



roydsm
Posts: 131
Member Since:
2007-01-15
Any Comments on this ?

I have trixbox 2.6.0.21 ad a pilot and im downloading rhino rpm ...... this follows .....

Downloading Packages:
(1/1): rhino-util-1.0-2.n 100% |=========================| 3.9 kB 00:00
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
file /usr/local/sbin/setup-rhino from install of rhino-util-1.0-2 conflicts with file from package tb-scripts-2.6.1-3

Error Summary
-------------



jfinstrom
Posts: 2008
Member Since:
2007-03-07
Yes the beta release will

Yes the beta release will have this script which makes it one less step. on the betas you can run setup-rhino no need to install rhino-util

--



hdallen55
Posts: 153
Member Since:
2006-10-08
2.6.2.3???

James,

I haven't touched our TB install in quite a while. Borwsed to the forums today and saw that upgrades were available. I have had issues with rhino card upgrading to much of anything after 2.4. The last time I touched the box was after a failed upgrade and I did a clean install of 2.6.1.3.

Today, after seeing posts that the upgrade process was working -

yum clean all
yum -y update

Now, running 2.6.2.3 (upgraded from 2.6.1.3). Everything looks good but no calls - "all line are busy" OR nothing at all.

Tried the above steps. setup-rhino returns-

[trixbox1.localdomain ~]# setup-rhino
/usr/local/sbin/setup-rhino: line 8: [: !=: unary operator expected
FOUND TRIXBOX
ERROR: Could not determine if your distribution uses Zaptel or Dahdi Make sure you either have dahdi or zaptel and that the module is loaded

Trying to remove previous drivers-

[trixbox1.localdomain ~]# yum remove rhino-$(uname -r)
Loaded plugins: fastestmirror
Setting up Remove Process
No Match for argument: rhino-2.6.18-128.1.10.el5
No Packages marked for removal

Even tried the old rhino-util-

[trixbox1.localdomain ~]# yum -y install rhino-util
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* updates: mirror.skiplink.com
* base: pubmirrors.reflected.net
* addons: mirrors.cmich.edu
* extras: ftp.linux.ncsu.edu
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Addons
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package rhino-util.noarch 0:1.0-2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
rhino-util noarch 1.0-2 trixbox 3.9 k

Transaction Summary
================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 3.9 k
Downloading Packages:
rhino-util-1.0-2.noarch.rpm | 3.9 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
file /usr/local/sbin/setup-rhino from install of rhino-util-1.0-2.noarch conflicts with file from package tb-scripts-2.6.3-2.noarch

Error Summary
-------------

I know I'm missing something. Can you tell me what I dorked up or point me in the right direction?

Thanks,

Doug



hdallen55
Posts: 153
Member Since:
2006-10-08
Didn't wait...

Downloaded and did a clean install of 2.8.0.1 from the ISO. Setup fine and can dial out. Dialing in results in a kernel panic. Any ideas woudl be appreciated. Haven't had time to really troubleshoot yet this morning.

Doug



hdallen55
Posts: 153
Member Since:
2006-10-08
More information

Outgoing calls work fine. Incoming calls immediately lock the system with a kernal paic error.

Tried http://trixbox.org/devblog/28-update to see if it was related to the dahdi issue Andrew posted about. Same results.

ran setup-rhino again and received a coupel of errors. Not sure where to go from here-

FOP Server Stopped
[trixbox1.localdomain ~]# setup-rhino
/usr/local/sbin/setup-rhino: line 8: [: !=: unary operator expected
FOUND TRIXBOX
Found DAHDI
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 889k 100 889k 0 0 465k 0 0:00:01 0:00:01 --:--:-- 582k
warning: rhino-dahdi-2.6.18-128.1.10.el5-2.2.0-2009-07-17.rpm: Header V3 DSA signature: NOKEY, key ID f4172005
Preparing... ########################################### [100%]
package rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386 is already installed
file /lib/modules/2.6.18-128.1.10.el5/rhino/r1t1/r1t1.ko from install of rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386 conflicts with file from package rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386
file /lib/modules/2.6.18-128.1.10.el5/rhino/rcbfx/rcbfx.ko from install of rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386 conflicts with file from package rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386
file /lib/modules/2.6.18-128.1.10.el5/rhino/rxt1/rxt1.ko from install of rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386 conflicts with file from package rhino-linux-2.6.18-128.1.10.el5-0.99.2.1-2.i386
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
opvxa1200: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
rxt1: DAHDI Tools Version - 2.2.0
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected

[ OK ]
r1t1: DAHDI Tools Version - 2.2.0
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

1 error(s) detected

[ OK ]
rcbfx: DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0
Echo Canceller(s):
Configuration
======================

Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)

4 channels to configure.

Changing signalling on channel 1 from Unused to FXS Kewlstart
Setting echocan for channel 1 to mg2
Changing signalling on channel 2 from Unused to FXS Kewlstart
Setting echocan for channel 2 to mg2
Changing signalling on channel 3 from Unused to FXS Kewlstart
Setting echocan for channel 3 to mg2
Changing signalling on channel 4 from Unused to FXS Kewlstart
Setting echocan for channel 4 to mg2
[ OK ]

Running dahdi_cfg: [ OK ]



jfinstrom
Posts: 2008
Member Since:
2007-03-07
edit your

edit your /etc/modprobe.d/modprobe.rhino
replace dahdi_cfg -vvv
with dahdi_cfg

those messages will go away. As far as the panics on inbound that doesn't make sense as it is all the same at a card/driver level weather in or out. If you get a dump on the screen from the panic please capture a few images with a digital camera and email em to our helpdesk.

--



hdallen55
Posts: 153
Member Since:
2006-10-08
Thanks for the reply, James!

Thanks for the reply, James! Kernal panics were making the system less than useless. Probably not related at all to the Rhino card, that's just where I initially focused when it didn't immediately work after installing 2.8.x. I need to pay more attention to the "if it ain't broke..." mantra but the geek came out in me when I saw updates available that I hadn't played with yet.

Renistalling 2.6.2.3 from ISO this morning.

Doug



hdallen55
Posts: 153
Member Since:
2006-10-08
45 minutes later......

45 minutes later...... everything is working as it should with 2.6.2.3!!

Thanks for the response anyway, James!

Doug



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.