AllStarLink apt-get install

Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.

One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.

The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.

I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian <https://www.armbian.com> Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.

OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from <http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz> Extract the image and burn it to a SD card. The login is pi and the password is raspberry.

DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!

You will need to do a few things to you fresh image to prepare for ASL install.

sudo -s so you are root
Use raspi-config to change the login password
Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot

After the reboot, log back in and become root.

If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.

apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.

cd /tmp
wget https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository
chmod +x install-repository
./install-repository

The ONLY thing the script does is add the new AllStarLink repository.

To install ASL:
apt-get install allstarlink

When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.

Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.

Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.

···

--
"The nice thing about DIY is that if you break it, you get to keep both pieces"

Sorry for the top post, I’m on a phone, but this is awesome. Thanks for all your hard work on this.

···

And it’s blue due to Raleigh Scattering :grinning:

Bryan Fields

M: +1-727-409-1194

On Nov 13, 2017, at 12:06, Steve Zingman szingman@msgstor.com wrote:

Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are “easy” to upgrade and maintain.

One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.

The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don’t expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.

I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian <https://www.armbian.com> Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.

OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named “ssh” I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from <http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz> Extract the image and burn it to a SD card. The login is pi and the password is raspberry.

DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!

You will need to do a few things to you fresh image to prepare for ASL install.

sudo -s so you are root
Use raspi-config to change the login password
Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot

After the reboot, log back in and become root.

If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.

apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.

cd /tmp
wget https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository
chmod +x install-repository
./install-repository

The ONLY thing the script does is add the new AllStarLink repository.

To install ASL:
apt-get install allstarlink

When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.

Over the next few weeks, my time will be somewhat limited. When I have a update ready I’ll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.

Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I’ll be working on and roll out in time. For now, edit the config file and ask questions.


“The nice thing about DIY is that if you break it, you get to keep both pieces”


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.

Great work Steve et al! This will be great to facilitate a more streamlined update process (exactly as you have outlined) etc… Kudos man!

JJC

N0PKT

···

On Mon, Nov 13, 2017 at 10:12 AM, Bryan Fields bryan@bryanfields.net wrote:

Sorry for the top post, I’m on a phone, but this is awesome. Thanks for all your hard work on this.

And it’s blue due to Raleigh Scattering :grinning:

Bryan Fields

M: +1-727-409-1194

On Nov 13, 2017, at 12:06, Steve Zingman szingman@msgstor.com wrote:

Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are “easy” to upgrade and maintain.

One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.

The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don’t expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.

I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian <https://www.armbian.com> Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.

OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named “ssh” I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from <http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz> Extract the image and burn it to a SD card. The login is pi and the password is raspberry.

DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!

You will need to do a few things to you fresh image to prepare for ASL install.

sudo -s so you are root
Use raspi-config to change the login password
Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot

After the reboot, log back in and become root.

If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.

apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.

cd /tmp
wget https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository
chmod +x install-repository
./install-repository

The ONLY thing the script does is add the new AllStarLink repository.

To install ASL:
apt-get install allstarlink

When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.

Over the next few weeks, my time will be somewhat limited. When I have a update ready I’ll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.

Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I’ll be working on and roll out in time. For now, edit the config file and ask questions.


“The nice thing about DIY is that if you break it, you get to keep both pieces”


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.

Yup, awesome stuff, Steve!

···

On Mon, Nov 13, 2017 at 9:12 AM, Bryan Fields bryan@bryanfields.net wrote:

Sorry for the top post, I’m on a phone, but this is awesome. Thanks for all your hard work on this.

And it’s blue due to Raleigh Scattering :grinning:

Bryan Fields

M: +1-727-409-1194

On Nov 13, 2017, at 12:06, Steve Zingman szingman@msgstor.com wrote:

Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are “easy” to upgrade and maintain.

One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.

The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don’t expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.

I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian <https://www.armbian.com> Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.

OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named “ssh” I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from <http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz> Extract the image and burn it to a SD card. The login is pi and the password is raspberry.

DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!

You will need to do a few things to you fresh image to prepare for ASL install.

sudo -s so you are root
Use raspi-config to change the login password
Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot

After the reboot, log back in and become root.

If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.

apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.

cd /tmp
wget https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository
chmod +x install-repository
./install-repository

The ONLY thing the script does is add the new AllStarLink repository.

To install ASL:
apt-get install allstarlink

When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.

Over the next few weeks, my time will be somewhat limited. When I have a update ready I’ll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.

Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I’ll be working on and roll out in time. For now, edit the config file and ask questions.


“The nice thing about DIY is that if you break it, you get to keep both pieces”


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.

Tim

Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...

Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.

asinstall.txt (65.2 KB)

···

-----Original Message-----
From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt <App_rpt-users@lists.allstarlink.org>
Subject: [App_rpt-users] AllStarLink apt-get install

  Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.

  One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.

  The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes.
These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.

I have taken the GitHub main branch(s) and built a Debian repository.
What this means is the method to install ASL or upgrade ASL will change.
Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian <https://www.armbian.com> Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL.
Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.

  OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order.
These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from <http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz>
Extract the image and burn it to a SD card. The login is pi and the password is raspberry.

DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!

You will need to do a few things to you fresh image to prepare for ASL install.

sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot

After the reboot, log back in and become root.

If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.

apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.

cd /tmp
wget
https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository
chmod +x install-repository
./install-repository

The ONLY thing the script does is add the new AllStarLink repository.

To install ASL:
apt-get install allstarlink

When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.

Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.

Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time.
For now, edit the config file and ask questions.

--
"The nice thing about DIY is that if you break it, you get to keep both pieces"

_______________________________________________
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.

Will,

Did you do a apt-get update followed by a apt-get upgrade before you

started the install?

Did you reboot ?

Please try the following:

apt-get update

apt-get upgrade

reboot

I'll do some checking here.

Steve
···

On 11/15/2017 07:10 PM, Will Bashlor
wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
To unsubscribe from this list please visit 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
To unsubscribe from this list please visit 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.

mailto:app_rpt-users-bounces@lists.allstarlink.orgApp_rpt-users@lists.allstarlink.orghttps://www.armbian.comhttp://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gzhttps://github.com/AllStarLink/DIAL/raw/master/repository/install-repositoryApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usersApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

So is this a new problem or related to the earlier post regarding not being able to connect via you iphone hotspot?

I think the dependency here is updatenodelist.

Its just a matter of working through each stage bit by bit.

Peter

···

On 16/11/2017 00:10, Will Bashlor wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
To unsubscribe from this list please visit 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.

mailto:app_rpt-users-bounces@lists.allstarlink.orgApp_rpt-users@lists.allstarlink.orghttps://www.armbian.comhttp://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gzhttps://github.com/AllStarLink/DIAL/raw/master/repository/install-repositoryApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users


_______________________________________________
App_rpt-users mailing list
To unsubscribe from this list please visit 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@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

Yes, I followed those exact steps in this email and rebooted before I installed.

This was a fresh install of Raspbian Stretch as well.

I can re image and start over when I get home if there’s something else I can try.

···

On Nov 15, 2017, at 7:14 PM, Steve Zingman szingman@msgstor.com wrote:

Will,

Did you do a apt-get update followed by a apt-get upgrade before you

started the install?

Did you reboot ?

Please try the following:

apt-get update

apt-get upgrade

reboot



I'll do some checking here.



Steve


  On 11/15/2017 07:10 PM, Will Bashlor

wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt <App_rpt-users@lists.allstarlink.org>
Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian [<https://www.armbian.com>](https://www.armbian.com) Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from [<http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz>](http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz)
Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
[https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository](https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository)
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
[http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users](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](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](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](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.

No no sorry, totally separate from the iPhone hot spot subject.

···

On Nov 15, 2017, at 7:18 PM, Peter g7rpg@hotmail.com wrote:

So is this a new problem or related to the earlier post regarding not being able to connect via you iphone hotspot?

I think the dependency here is updatenodelist.

Its just a matter of working through each stage bit by bit.

Peter

On 16/11/2017 00:10, Will Bashlor wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt <App_rpt-users@lists.allstarlink.org>
Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian [<https://www.armbian.com>](https://www.armbian.com) Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from [<http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz>](http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz)
Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
[https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository](https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository)
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
[http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users](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](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](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](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.

We can give it a try. I'll be happy to troubleshoot it.

Steve

···

On 11/15/2017 07:34 PM, Will Bashlor wrote:

This is on an RPi Zero W if that makes a difference. I hope it doesn’t.

I know AllStar is not suppose to run well on Zero, but I want to try it and monitor CPU, memory, and other resources.

Sent from my iPhone

On Nov 15, 2017, at 7:27 PM, Steve Zingman <szingman@msgstor.com> wrote:

This may not be clear since the reboot is hanging out at the end. I'm rerunning on Raspbian Stretch now.

Steve

On 11/15/2017 07:21 PM, Will Bashlor wrote:
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.

I just tested with Stretch on a RPi 3. I used
2017-09-07-raspbian-stretch-lite.img which I believe is current.

Install went fine and asterisk is running. Let's see what happens

when you get home and try the reboot.

···

On 11/15/2017 07:21 PM, Will Bashlor
wrote:

  Yes, I followed those exact steps in this email and rebooted

before I installed.

This was a fresh install of Raspbian Stretch as well.

    I can re image and start over when I get home if there’s

something else I can try.

Sent from my iPhone

      On Nov 15, 2017, at 7:14 PM, Steve Zingman <szingman@msgstor.com          >

wrote:

Will,

        Did you do a apt-get update followed by a apt-get upgrade

before you started the install?

        Did you reboot ?

        Please try the following:

        apt-get update

        apt-get upgrade

        reboot



        I'll do some checking here.



        Steve
          On 11/15/2017 07:10 PM, Will

Bashlor wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
To unsubscribe from this list please visit 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
To unsubscribe from this list please visit 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.

mailto:app_rpt-users-bounces@lists.allstarlink.orgApp_rpt-users@lists.allstarlink.orghttps://www.armbian.comhttp://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gzhttps://github.com/AllStarLink/DIAL/raw/master/repository/install-repositoryApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usersApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

I already rebooted. I’ll be glad to give you ssh access if you’d like…

···

On Nov 15, 2017, at 7:59 PM, Steve Zingman szingman@msgstor.com wrote:

I just tested with Stretch on a RPi 3. I used

2017-09-07-raspbian-stretch-lite.img which I believe is current.

Install went fine and asterisk is running. Let's see what happens

when you get home and try the reboot.

  On 11/15/2017 07:21 PM, Will Bashlor

wrote:

  Yes, I followed those exact steps in this email and rebooted

before I installed.

This was a fresh install of Raspbian Stretch as well.

    I can re image and start over when I get home if there’s

something else I can try.

Sent from my iPhone

      On Nov 15, 2017, at 7:14 PM, Steve Zingman <szingman@msgstor.com          >

wrote:

Will,

        Did you do a apt-get update followed by a apt-get upgrade

before you started the install?

        Did you reboot ?

        Please try the following:

        apt-get update

        apt-get upgrade

        reboot



        I'll do some checking here.



        Steve


          On 11/15/2017 07:10 PM, Will

Bashlor wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [mailto:app_rpt-users-bounces@lists.allstarlink.org] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt <App_rpt-users@lists.allstarlink.org>
Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian [<https://www.armbian.com>](https://www.armbian.com) Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from [<http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz>](http://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gz)
Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
[https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository](https://github.com/AllStarLink/DIAL/raw/master/repository/install-repository)
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
[http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users](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](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](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](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.

So,

It did install, but dahdi install was not quite right. I reinstalled

dahdi and it came up. I won’t promise how well it will work, but
it’s a worth test. Reminds me of when Mike and I brought ASL up on a
Pi1.

Time will tell.

Steve
···

On 11/15/2017 08:03 PM, Will Bashlor
wrote:

  I already rebooted. I’ll be glad to give you ssh access if you’d

like…

Sent from my iPhone

    On Nov 15, 2017, at 7:59 PM, Steve Zingman <szingman@msgstor.com        >

wrote:

      I just tested with Stretch on a RPi 3. I used

2017-09-07-raspbian-stretch-lite.img which I believe is
current.

      Install went fine and asterisk is running. Let's see what

happens when you get home and try the reboot.

        On 11/15/2017 07:21 PM, Will

Bashlor wrote:

        Yes, I followed those exact steps in this email and rebooted

before I installed.

This was a fresh install of Raspbian Stretch as well.

          I can re image and start over when I get home if

there’s something else I can try.

Sent from my iPhone

            On Nov 15, 2017, at 7:14 PM, Steve Zingman <szingman@msgstor.com                >

wrote:

Will,

              Did you do a apt-get update followed by a apt-get

upgrade before you started the install?

              Did you reboot ?

              Please try the following:

              apt-get update

              apt-get upgrade

              reboot



              I'll do some checking here.



              Steve
                On 11/15/2017 07:10 PM,

Will Bashlor wrote:


Here's what I get after installing. Asterisk won't start. See attached install log, maybe that will help. This is on Raspbian Stretch...
Nov 15 23:00:27 raspberrypi systemd[1]: Dependency failed for Asterisk PBX and telephony daemon.
Nov 15 23:00:27 raspberrypi systemd[1]: asterisk.service: Job asterisk.service/start failed with result 'dependency'.
-----Original Message-----
From: App_rpt-users [] On Behalf Of Steve Zingman
Sent: Monday, November 13, 2017 12:08 PM
To: Users of Asterisk app_rpt Subject: [App_rpt-users] AllStarLink apt-get install
Since the introduction of DIAL, we have had a number of requests for a better method of installing and upgrading AllStarLink. The D in DIAL stands for Debian. The Intel/AMD versions of DIAL are built on a slightly modified version of the NetInstaller from Debian.
The Raspberry Pi version of DIAL is built on a modified version of Raspbian which is a modified version of Debian. The Intel/AMD installer builds ASL from the GitHub repository. The Raspbian image uses pre-compiled ASL programs and scripts. A number of people have also wanted to build ASL on their own install install of Debian or a derivative. I have tried to provide install scripts to accommodate this also. None of these are "easy" to upgrade and maintain.
One of the biggest stumbling blocks to installing ASL is the requirement for DAHDI. DAHDI is a set of kernel modules that HAS to be built for the running kernel. Every time a user upgraded the kernel, the user had to rebuild DAHDI. To say that is a pain is a understatement. A few months ago I started using a system call Dynamic Kernel Module Support (DKMS). One of the features of DKMS is the ability to install the needed support programs and source to build the needed kernel modules. In simple terms Debian calls on DKMS to rebuild DAHDI. The big advantage to this is when the kernel is upgraded, DKMS tries to rebuild DAHDI. DHADI does not change very often, but it does require some maintenance. DKMS has helped to allow users to upgrade their host OS and continue to run ASL.
The other parts of ASL are or should be more fluid. They should be changing as new bugs are found and new features are added. Under the current system, this sometimes requires downloading and building asterisk from the GitHub repository. Not really that hard to do, but it is time consuming and error prone. I don't expect users to be Linux software experts, though some basic understanding of the OS they use to run their repeaters and remote bases would be nice. Due to this complexity, I have held off putting out a update to DIAL. There have been some changes in the installers and some minor tweaks, but nothing of consequence. This will now start to change. Over the year since we have put the ASL source on GitHub, people have contributed changes. These changes have been or will be staged and tested. At some point they will be ready to be included in ASL. We need a mechanism to easily put these changes to use. I do not want to require a user to have to download an new image just to get fixes, upgrades and enhancements. It can be done, but should be limited and rare.
I have taken the GitHub main branch(s) and built a Debian repository. What this means is the method to install ASL or upgrade ASL will change. Though the ARM and Intel/AMD images will be available, they will be built using the repository rather then static programs. This also open up the possibility of support for other Debian based distribution. For ARM this means support for Armbian Armbian is a very well done distribution supporting a number of ARM based single board computers. Many more boards to choose from! The next release of the images will use the repository. This will take some time. In the long run for images I will follow Debian. With each new revision of Debian I will release a new image. As of today, we are built on Debian 8. The next install image will be built on Debian 9 (Stretch) As we progress, the repository will also contain programs to enhance ASL. Rather then searching for and having how to figure out how to install the program it will become as simple as apt-get install Analog_Bridge. I will work with the developers to include their programs in the repository.
OK, so 4 paragraphs to get to the good stuff. How do I use the repositories? How do I upgrade my OS and ASL? Why is the sky blue? (Just waned to make sure you were still awake) For the adventurous among us here we go. In Debian it is quite easy to add a repository. I have built a simple script to add the repository for you. You will start with a off the shelf image, in this example from Raspbian. Intel/AMD users should get the idea. Remember this is a test. Most things will stay the same, some will change as issues are found. You can use either Jessie or Stretch image as a starting point. A couple of warnings are in order. These are stock images. There is NO protection from someone hacking into your machine if you expose it before at least changing to default password. A stock Raspbian image will not even allow you to use SSH to login the machine without 1 change. You must add a file to /boot. The file can be empty but must be named "ssh" I have take a stock Raspbian Jessie image and added the file. That is the ONLY change I have made to the image. It is available for download from Extract the image and burn it to a SD card. The login is pi and the password is raspberry.
DO NOT DO THIS ON TOP OF YOUR EXISTING DIAL INSTALL !!!!!!!!!!!!!!!!!!!!!!!!
You will need to do a few things to you fresh image to prepare for ASL install.
sudo -s so you are root
Use raspi-config to change the login password Use the advanced menu from raspi-config to expand the file system to use your whole SD card. On exit from raspi-config you will be asked to reboot
After the reboot, log back in and become root.
If you are installing on a fresh Intel/AMD or some other Debian derivative, start here.
apt-get update
apt-get upgrade -y
At this point this is nothing but a ready to run Raspbian Jessie machine.
cd /tmp
wget
chmod +x install-repository
./install-repository
The ONLY thing the script does is add the new AllStarLink repository.
To install ASL:
apt-get install allstarlink
When the install completes (yes it does take a while since DAHDI still has to be compiled) reboot.
You should have a fresh install of ASL ready for you to edit the config files.
Over the next few weeks, my time will be somewhat limited. When I have a update ready I'll post on the list. You will then be able to run apt-get upgrade and the changes will be applied to your test machine. Upgrade will NOT overwrite your config files.
If you want to test this on a fresh install of Intel/AMD or the Raspbian Stretch, go for it. I have done some quick tests on Raspbian Stretch and it does work. Needs at least one bug fix and a LOT more testing.
Last but not least is the support programs that are used to help you configure the node and OS. The existing scripts are a MESS. I have a completely new set of programs I'll be working on and roll out in time. For now, edit the config file and ask questions.
--
"The nice thing about DIY is that if you break it, you get to keep both pieces"
_______________________________________________
App_rpt-users mailing list
To unsubscribe from this list please visit 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
To unsubscribe from this list please visit 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.

mailto:app_rpt-users-bounces@lists.allstarlink.orgApp_rpt-users@lists.allstarlink.orghttps://www.armbian.comhttp://dvswitch.org/files/AllStarLink/2017-06-21-raspbian-jessie-lite.tar.gzhttps://github.com/AllStarLink/DIAL/raw/master/repository/install-repositoryApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usersApp_rpt-users@lists.allstarlink.orghttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-usershttp://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

Setting up dahdi-linux-complete-dkms (2.10.2+2.10.2) ...
Loading new dahdi-linux-complete-2.10.2+2.10.2 DKMS files...
Building for 4.9.0-4-686-pae
Building for architecture i386
Building initial module for 4.9.0-4-686-pae
Error! Bad return status for module build on kernel: 4.9.0-4-686-pae
(i386)
Consult /var/lib/dkms/dahdi-linux-complete/2.10.2+2.10.2/build/make.log
for more information.
Setting up odbcinst1debian2:i386 (2.3.4-1) ...
Setting up odbcinst (2.3.4-1) ...
Setting up unixodbc (2.3.4-1) ...
Setting up asl-asterisk (0.9-20170809-2) ...
Setting up allstarlink (0.9-20170809-2) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
root@hub:/etc/apt/sources.list.d#

What distribution and version?

···

On 11/18/2017 06:03 PM, jimmy keffer wrote:

Setting up dahdi-linux-complete-dkms (2.10.2+2.10.2) ...
Loading new dahdi-linux-complete-2.10.2+2.10.2 DKMS files...
Building for 4.9.0-4-686-pae
Building for architecture i386
Building initial module for 4.9.0-4-686-pae
Error! Bad return status for module build on kernel: 4.9.0-4-686-pae
(i386)
Consult /var/lib/dkms/dahdi-linux-complete/2.10.2+2.10.2/build/make.log
for more information.
Setting up odbcinst1debian2:i386 (2.3.4-1) ...
Setting up odbcinst (2.3.4-1) ...
Setting up unixodbc (2.3.4-1) ...
Setting up asl-asterisk (0.9-20170809-2) ...
Setting up allstarlink (0.9-20170809-2) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
root@hub:/etc/apt/sources.list.d#
_______________________________________________
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.

/var/lib/dkms/dahdi-linux-complete/2.10.2+2.10.2/build/make.log
ranlib libtonezone.a
gcc dahdi_test.o version.o -o dahdi_test
gcc dahdi_scan.o version.o -o dahdi_scan
gcc dahdi_maint.o version.o -o dahdi_maint
gcc fxotune.o version.o -lm -o fxotune
gcc dahdi_monitor.o version.o -o dahdi_monitor
for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf
dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1; done
gcc -g -O2 -I. -Ixtalk -Wall -Werror -c -o astribank_is_starting.o
astribank_is_starting.c
gcc -g -O2 -I. -Ixtalk -Wall -Werror -c -o astribank_tool.o
astribank_tool.c
dahdi_registration syntax OK
xpp_sync syntax OK
lsdahdi syntax OK
gcc -g -O2 -I. -Ixtalk -Wall -Werror -c -o astribank_usb.o
astribank_usb.c
xpp_blink syntax OK
astribank_usb.c:37:19: error: ‘rcsid’ defined but not used
[-Werror=unused-const-variable=]
static const char rcsid = "$Id$";
                   ^~~~~

···

On Sat, 18 Nov 2017 18:03:36 -0500, you wrote:

/var/lib/dkms/dahdi-linux-complete/2.10.2+2.10.2/build/make.log