I don’t know if this is the right place for this, but am hopeful somebody will be able and willing to help me out.
The server I set up to drive IP phones at our tent sale and interface over a Cisco VPN to our CallManager server disappeared after the last tent sale; I was hurt at the time and have no idea where it went. Earlier today, I downloaded the latest AsteriskNow (1.7.1) and installed it on a different machine using the option to install Asterisk 1.6 and FreePBX. All was going well when I ran into a snag.
Apparently, there are no kernel sources included in AsteriskNow. (???) The Cisco VPN client software needs to compile a kernel module for the network driver and needs the kernel source tree in order to do so. I’ve googled for it quite a bit and found a few suggestions, but nothing that has worked.
Supposedly, running conary update kernel:build-tree --sync-to-parents will install the kernel source, but I’m guessing it was for an old version of AsteriskNow because the conary command does not exist on my machine.
Looking at the CD, I saw kernel-2.6.18-194.11.1.el5.i686.rpm, kernel-PAE-2.6.18-194.11.1.el5.i686.rpm, and kernel-xen-2.6.18-194.11.1.el5.i686.rpm, so I tried installing and discovered something weird:
# rpm -q kernel-2.6.18-194.11.1.el5.i686.rpm
package kernel-2.6.18-194.11.1.el5.i686.rpm is not installed
# rpm -i kernel-2.6.18-194.11.1.el5.i686.rpm
package kernel-2.6.18-194.11.1.el5.i686.rpm is already installed
# rpm -q kernel-xen-2.6.18-194.11.1.el5.i686.rpm
package kernel-xen-2.6.18-194.11.1.el5.i686.rpm is not installed
# rpm -i kernel-xen-2.6.18-194.11.1.el5.i686.rpm
<pause, then returns to command prompt>
# rpm -q kernel-xen-2.6.18-194.11.1.el5.i686.rpm
package kernel-xen-2.6.18-194.11.1.el5.i686.rpm is not installed
# rpm -U kernel-xen-2.6.18-194.11.1.el5.i686.rpm
package kernel-xen-2.6.18-194.11.1.el5.i686.rpm is already installed
# rpm --rebuilddb
<long pause>
# rpm -q kernel-xen-2.6.18-194.11.1.el5.i686.rpm
package kernel-xen-2.6.18-194.11.1.el5.i686.rpm is not installed
# rpm -U kernel-xen-2.6.18-194.11.1.el5.i686.rpm
package kernel-xen-2.6.18-194.11.1.el5.i686.rpm is already installed
# rpm -e kernel-xen-2.6.18-194.11.1.el5.i686.rpm
package kernel-xen-2.6.18-194.11.1.el5.i686.rpm is not installed
<I scratch my head and wonder if Cisco has released a BSD client yet ;) >
Regardless of what I do, I cannot seem to get the kernel source installed. In /lib/modules/2.6.18-194.11.1.el5 there are 2 broken symbolic links - source is a symbolic link to ./build and build is a symbolic link referencing …/…/…/kernels/2.6.18-194.11.1.el5.i686 - /usr/src/kernels is empty.
There is no internet access currently on this machine, though I can download and transfer files via a flash drive. Any assistance in figuring out how to get the sources installed would be appreciated. (This is the only distro I’ve used which doesn’t include them on the install CD… )