You are going to have to figure out how to get the proper kernel headers for your running kernel. One possibility to check is either run aptitude and check if you have any pending upgrades, and if so, is one of them a kernel upgrade. Pretty much the same thin by running apt-get dist-upgrade. Without the proper kernel headers, DAHDI will not build. You do not have to "make" it. once you have the proper kernel headers, you can reinstall dahdi with apt-get install --reinstall asl-dahdi-linux-dkms

On 04/06/2018 08:22 PM, Monty wrote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-2.6.32-042stab127.2
E: Couldn't find any package by glob 'linux-headers-2.6.32-042stab127.2'
E: Couldn't find any package by regex 'linux-headers-2.6.32-042stab127.2'



Monty

On Fri, Apr 6, 2018 at 5:10 PM, Steve Zingman <szingman@msgstor.com> wrote:
Without the proper kernel header, you can't build DAHDI.
What is the result of "apt-get install linux-headers-`uname -r` -y"


On 04/06/2018 08:05 PM, Monty wrote:
Error from make command: "You do not appear to have the sources for the 2.6.32-042stab127.2 kernel installed" (Sorry I didn't highlight in the initial email.)

I have tried this command, per the Readme of Dahdi: make KVERS=4.9.0-6-amd64

I do not get any errors, then run:

make install KVERS=4.9.0-6-amd64

I get "DADHI installed successfully", reboot, and I still get the same error messages in the CLI I listed below.



Monty

On Fri, Apr 6, 2018 at 4:23 PM, Steve Zingman <szingman@msgstor.com> wrote:
What error did you get?


On 04/06/2018 07:15 PM, Monty wrote:
Hello All,

I'm trying to install the allstarlink package on my Debian VPS.  I followed the instructions on the wiki:

cd /tmp
wget https://github.com/AllStarLink/Asterisk/raw/develop/allstar/repository/install-repository
chmod +x install-repository
./install-repository

If Raspbian: apt-get install raspberrypi-kernel-headers -y

Otherwise: apt-get install linux-headers-`uname -r` -y

apt-get update
apt-get install allstarlink -y
I did get an error on the linux-headers command.  I installed what I believe is the latest headers from apt-get (4.9.0-6-amd64).

Asterisk is not able to run, and I'm getting the following messages in the CLI when I run asterisk manually:

[Apr  6 16:05:35] WARNING[14976]: app_rpt.c:22240 rpt_master: rpt_thread restarted on node 28615
[Apr  6 16:05:35] WARNING[15001]: chan_dahdi.c:928 dahdi_open: Unable to open '/dev/dahdi/pseudo': No such file or directory
[Apr  6 16:05:35] ERROR[15001]: chan_dahdi.c:7906 chandup: Unable to dup channel: No such file or directory

Seems to be dahdi is missing.  Any ideas how to remedy?

I have tried to recompile Dahdi from:


After running the "make" command I get the following:

"You do not appear to have the sources for the 2.6.32-042stab127.2 kernel installed."

I can't seem to find how to update/install 2.6.32-042stab127.2 kernel.


Monty
KE7JVX


_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. 


_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.



_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. 


_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.



_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.