Upgrading Trixbox 2.4.x to 2.6.2 with Rhino RCB8FXX

gguldens
Posts: 17
Member Since:
2008-08-16

I did this update last night and spent several hours understanding what was happening. I am posting this in hopes of saving someone else those lost hours that I encountered. I think I had at least two different problems that were giving me issues. First, my genzaptelconf script seemed to not be aware of the rhino cards. I discovered a posting

http://www.trixbox.org/forums/vendor-forums-non-certified/rhino-e...

that fixed that issue.

Next, every time I ran setup-rhino, it told me the Zaptel drivers were not where they were expected to be and that they were required for Rhino support. I located the zaptel drivers in the /lib/modules/$(uname-r)/extra/zaptel directory. I edited the /usr/local/sbin/setup-rhino file and made the following discovery. the lines listed just below were looking one directory level too high for the drivers. (note the /extra/ directory only:
The original lines were:
if [ -e /lib/modules/$(uname -r)/extra/zaptel.ko ];
then
zaptel="/lib/modules/$(uname -r)/extra/zaptel.ko"

I edited them to:
if [ -e /lib/modules/$(uname -r)/extra/zaptel/zaptel.ko ];
then
zaptel="/lib/modules/$(uname -r)/extra/zaptel/zaptel.ko"

I then saved setup-rhino with a notation of what I found and what I fixed in it for future reference and ran setup-rhino successfully. I then ran setup-pstn successfully. The /etc/zapata-auto.conf file now contained the rcbfx drivers for the 8 port modular card and the 2 FXO lines installed on the card were listed. After a full system restart, everything came up and began working.

I hope this is helpful to someone ese having the same issues.



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

Running `setup-rhino -u` will update your script to the latest which has addressed that issue. If your running a version of setup-rhino prior to the addition of -u you can upgrade manually with the following

wget <a href="http://dist.rhinoequipment.com/setup-rhino/latest" title="http://dist.rhinoequipment.com/setup-rhino/latest">http://dist.rhinoequipment.com/setup-rhino/latest</a> 
install -m 755 setup-rhino /usr/local/sbin/

looks like autoparsing is going to screw it up

--



gguldens
Posts: 17
Member Since:
2008-08-16
Learned something new today

Jim,
The setup-rhino -u worked like a champ! I am now running setup-rhino v1.3. Looks like the autoparsing actually messed up your wget, but It was not needed in my installation.

Thank You!

Greg Guldenschuh



PalletBoy
Posts: 39
Member Since:
2006-12-19
Update runs but...

Had a moment of amnesia and updated a CEROS box using the package manager...it broke my box...

Found this post so ran 'setup-rhino -u' and it updated then ran genzaptelconf but still doesn't recognize the rhino card.

I know I'm missing something silly...



Comment viewing options

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