Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: fpausp on August 06, 2008, 12:41:01 AM
-
Hi all,
Normaly i install sail after a fresh SME-Installation with:
yum -y install zaptel --enablerepo=atrpms
yum -y install libpri --enablerepo=atrpms
yum -y install asterisk --enablerepo=atrpms
yum -y install zaptel-kmdl-`uname -r` --enablerepo=atrpms
yum -y install asterisk-addons --enablerepo=atrpms
yum -y install sail-2.2.1-x.noarch.rpm --enablerepo=base
yum -y install sme-ast-de-de-gpl-sounds-1.0.0-1.noarch.rpm
But now there are problems to get a zaptel-kmdl, what is the best/smartest way for the future to install asterisk, sail ... ?
regards
fpausp
-
We are aware of this issue and its a pain. ATrpms are very aggressive in removing older kernel releases from their database.
Unless/until SME catches up, then you have a problem.
We solved this by simply installing a later release kernel onto our SME system. This may work for you but we can't guarantee it. The alternative is to install our SARK iso and simply don't yum update it until there is some resolution vis a vis SME and CentOS. Last choice is to use/find some other Asterisk rpm suite; either build it yourself or use one that someone else has done.
Not great but there you are.
Best
S
-
Hi All,
Can we make our own reposerver ?
I played a bit and made a localrepo in an ibay with:
# create an ibay and call it localrepo
# install the programm createrepo
yum -y install createrepo
# repoentries in yum.conf - change serverip to your own servername or ip
/sbin/e-smith/db yum_repositories set localrepo repository \
Name 'localrepo - EL4' \
BaseURL 'http://serverip/localrepo/' \
EnableGroups no \
GPGCheck no \
Visible no \
status disabled
# expand template
expand-template /etc/yum.conf
# copy the files to /home/e-smith/files/ibays/localrepo/html
# use createrepo to make your repo folders/files
createrepo /home/e-smith/files/ibays/localrepo/html
If you want you can set the permissions to reach the repo/ibay from outside your LAN.
What do you think about that ?
Best
fpausp
-
HI fp
I think it's great but it doesn't solve the immediate issue of getting the correct rpms for SME.
We've sent a polite request to ATrpms for their back catalogue so, finger crossed, we may get a reply in the next few days.
Kind Regards
S
-
Hi,
Thanks for your Reply, that sounds good about ATrpms, hopefully they will help us.
Best
fpausp
-
Hi Guys,
I've received a reply from Axel at ATrpms. Here's what he had to say...
The last ten kernels from RHEL4 are
2.6.9-67.0.7.EL
2.6.9-67.0.15.EL
2.6.9-55.0.18.EL
2.6.9-55.0.14.EL
2.6.9-67.0.20.EL
2.6.9-55.0.20.EL
2.6.9-78.EL
2.6.9-67.0.22.EL
2.6.9-78.0.1.EL
So your are running an older RHEL4 kernel from the 2.6.9-67 series, e.g. RHEL 4.6. Latest is RHEL 4.7, but 4.6 will be supported by RHEL and other parties.
In a nutshell: You should upgrade to 2.6.9-67.0.22.EL, as there are several security issued between .7 and .22 fixed. You will find kmdl support for the latest 2.6.9-67 kernel at ATrpms.
If you can't upgrade to the recommended kernel security erratum, then you can still grab the src.rpm, install kernel-devel (for the kernel you are running) and atrpms-rpm-config and just do a
rpmbuild --rebuild foo-1.2-3.src.rpm
It will yield the kmdls for that kernel.
But please do upgrade to the latest security errata for your own good!
So... this is actually pretty cool. You can create the kmdl modules for your kernel simply by following the instructions which Axel gives above.
I will attempt this exercise on one of our VM images in the next couple of days and let you know how it goes.
Best
Jeff
-
Not quite as simple as Axel suggested but after a bit of tweaking and a few emails, we can now build our own kmdls from Atrpms .src rpms.
I have built and loaded a couple of zaptel kmdls for 2.6.9-67.0.7 onto our download server at
http://sarkpbx.com/sail/kmdls/
Kind Regards
-
Hi Jeff,
I'm in "despretate" (Ahum) need of the modules for mISDN... are these also possible to reproduce for the current SME-kernel this way?!
Kind regards.
-
Desparately trying to build them for you. So far without success. Raised a bug with Atrpms - await outcome.
Best
-
Hi Jeff,
The "Ahum" was an indication (maybe not really used outside Holland) that i really have been looking for them for a long time and can't get them (Also posted on ATRPMs mailing list). But it's not like the world is coming to an end.... would be REALLY great though if you could compile them ;)
Just to let you know.
Thanx!
-
mISDN-kmdls done for -07 kernel
http://sarkpbx.com/sail/kmdls/
Best
-
Wow.... great!
Do i just place these somewhere with the zaptel ones on my system?!
-
Nevermind... me a bit to quick with asking. I thought they were just the kernel-modules, but had not looked yet!
sorry!
-
Hi
I am trying to install zaptel rpms, but cannot install gives the following error,
Does anyone know from where can i get compatible kmdl file? for the following already installed zaptel package.
error:
package zaptel-1.4.12.1-54.99.el4 (which is newer than zaptel-1.4.11-53.RHL4) is already installed
----------
uname -a
Linux super 2.6.9-67.0.7.ELsmp #1 SMP Sat Mar 15 06:54:55 EDT 2008 i686 i686 i386 GNU/Linux
Thank you
Sam
-
I would doubt that they were ever done for 67.0.7. Better to back Zaptel off to 1.4.11-53.
You can get a 67-0.7 set from here
http://sarkpbx.com/sail/kmdls/zaptel
This situation should resolve itself when the contribs guys kick out the next SME server release (7.4?)
Kind Regards
S
-
Thanks for the suggestion Selintra!
I force removed the installed zaptel and went to version 1.4.11-51. It seems to load the tdm400+fxo cards ok.
Cheers
Sam
-
Hi All,
I have done the update to 7.4 and looking for zaptel and zaptel-kmdl for the kernel 2.6.9-78.0.8.EL ?
[root@server sail_sme73]# yum list | grep zaptel
zaptel.i386 1:1.4.10-50.el4 installed
zaptel-kmdl-2.6.9-67.0.7.EL.i686 1:1.4.10-50.el4 installed
[root@server sail_sme73]# uname -r
2.6.9-78.0.8.EL
It would be great to have a smart solution via yum.
Best
fpausp
-
yum install zaptel-kmdl-`uname -r` --enablerepo=atrpms
should work for the release you are on
-
Hi,
Thanks for your answer, i had some problems with dependencies. I solved the problem with reinstallation of zaptel ... Now i can install it like yum install ...
Best
fpausp