People have jumped on my butt for saying this before but I’ll say it again anyway. It’s very unlikely Asterisk will run worth a damn on a VPS, especially one for $5/mo. I’m not going to tell you not to do it, but if you do manage to jump the hurdles of getting Asterisk installed on a hosted VPS, it may not work as it does on a $50 computer.--Tim WD6AWPOn Sep 13, 2014, at 4:56 PM, pete M <petem001@hotmail.com> wrote:OK_______________________________________________The GOAL: having a node without a radio on a server to use as a gateway of conference for a few repeaters around the Montreal region. I found a nice site where I can rent a small vps for 5$ a month. nothing fancy. I want to have that computer tu be my conference.. None of the site I have are either stable enough to host a nice conference or where I could have computer in a not arsh place, the bandwith is the issue.So I can load a lot of different distro, BUT they are fixe image to start with. Cnt ask to load the acid iso.. (this would of course fix every thing.)So the goal is not for fun I do need to make this work.Will work from there, will find some answer online for most of the stuff I need, But when it is directly related to app_rpt, here is my only source..Now I know what version of asterisk to use, where to find it, same for dahdi and app_rpt.. will try to ork on that. will find that I need some library of other stuff enroute and other software.. but I will try..Not such a noob in linux.. but not a pro.. thanks for you patience..Pierre VE2PF
From: doug@crompton.com
To: petem001@hotmail.com
CC: app_rpt-users@ohnosec.org
Subject: RE: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Date: Thu, 11 Sep 2014 23:49:25 -0400First of all remind me - what is your end goal here. Are you doing this just for fun or is it for a real need and if so what is the need?
The easiest thing to do might be to just download the BBB image at hamvoip.org. Write it to an SD card, mount it on Linux - ubuntu or whatever works. The root partition not the boot partition. Copy from everything from the mount point /usr/src/utils to /usr/src on your linux box. Also copy /etc/asterisk from the mount point to /etc/asterisk for all the config files.
The source tree would then be in /usr/src/utils/asterisk - dahdi would also be there along with the patches in /usr/src/utils
You can compile and intall both dahdi and asterisk from there. Then following the directions on the BBB page and howto on setting up your node.
Another possible choice would be to just bring up a standard centos installation on a PC and copy what you need from there. All the source and files you would need would be there like the scripts in /usr/local/sbin. You would need to make some changes however.
As Dave pointed out earlier you are in for some real bumps along the way. There will be packages you will need to download and things you will need to configure. It is not a 123 type of thing. Without some Linux experience it could be daunting.
Just remember if you are using dahdi you need to remove any mention of zaptel and use the chan_dahdi.conf as shown in the BBB config.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: petem001@hotmail.com
To: doug@crompton.com
CC: app_rpt-users@ohnosec.org
Subject: RE: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Date: Thu, 11 Sep 2014 22:19:19 -0400OK Doug you got me fired up..just one thing to know what source of asterisk are you using exactly?Got Dahdi got the patch.. will fix what's needed to be fixed about ntpd and all. But what damn source of asterisk are you using? ;-)
From: doug@crompton.com
To: petem001@hotmail.com
CC: app_rpt-users@ohnosec.org
Subject: RE: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Date: Thu, 11 Sep 2014 13:15:14 -0400Pete,
I have done this so many times but unfortunately I never documented it. Here is a simple description.
Get a distro and configure it like you normally would. Get ntpd running, network setup, etc.
Download the acid code and the latest dahdi -
I see it is 2.10.0 The last I used was 2.9.x but I suspect it will work the same. If not you could get the 2.9 version.
http://www.asterisk.org/downloads/dahdi
Apply the patch - info on how to do that is in the readme
https://allstarlink.org/fixed-dahdi-patches.tar.gz
Compile and install dahdi.
Then compile and install asterisk
Don't run any offsite updates. Configure it manually - not hard to do - and run. If you already have a configured system you can use those files from /etc.asterisk. BTW the BBB setup procedure and howto's at http://hamvoip.org describe how to do that very easily which would also apply here. The only caveat is the config files would be different to start with so some consideration has to be given to that.
All that sounds easy but you undoubtedly will have some hiccups and things you will have to do to get it to work. It is impossible to document that as it would be different on the multitude of distros and kernel versions.
I have compiled it on the latest Debian and Ubuntu. The real problem is OSS support which is required. Debian has it, Ubuntu does not. You have to recompile the kernel and add it back in. For that reason Ubuntu is not recommended as kernel versions can change with frequent updates.
I guess the big question is do you really need to do this. I forget why you said you can't run a local system. In that case you could just install an acid release on a PC or maybe go with the BBB.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: petem001@hotmail.com
To: doug@crompton.com
Subject: Re: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Date: Thu, 11 Sep 2014 12:08:04 -0400well can you point me a few pointers on how to do so?Never patched some software before.From: Doug CromptonSent: Thursday, September 11, 2014 11:03 AMTo: pete MSubject: RE: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4I am not sure what you are saying when you comment....
"well I think that Dahdi wont compile correctly on Any distro that have a kernel pass a certain point.."
Did you mean "will" ?? The patches can be applied against the latest dahdi and it will compile on late kernels. The BBB is an example of that.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: petem001@hotmail.com
To: doug@crompton.com
CC: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Date: Thu, 11 Sep 2014 09:42:08 -0400well I think that Dahdi wont compile correctly on Any distro that have a kernel pass a certain point..I can run the system on bunch of disto..Here is the list..CentOS 5 32bitCentOS 5 64bitCentOS 6 32bitCentOS 6 64bitCentOS 7 64bitCentOS 7 64bit MinimalDebian 6 32bitDebian 6 64bitDebian 7 32bitDebian 7 32bit MinimalDebian 7 64bitDebian 7 64bit MinimalFedora 17 32bitFedora 17 64bitFedora 19 32bitFedora 19 64bitStarbound-Ubuntu 13.10 32bitSUSE 12.2 32bitSUSE 12.2 64bitUbuntu 10.04 32bitUbuntu 10.04 64bitUbuntu 11.10 32bitUbuntu 11.10 64bitUbuntu 12.10 32bitUbuntu 12.10 64bitUbuntu 13.10 32bitUbuntu 13.10 64bitUbuntu 14.04 32bitUbuntu 14.04 32bit MinimalUbuntu 14.04 64bitUbuntu 14.04 64bit MinimalSo I have lots of choice <wlEmoticon-winkingsmile[1].png>But I was under the feeling that the best distro was centos 5 for acid.. (using the install script from the cd..Unless you can point me in another direction..Pete,From: Doug CromptonSent: Wednesday, September 10, 2014 6:16 PMTo: pete MSubject: RE: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
I have been somewhat following this. Does it have to be centos? Allstar will run on the latest Debian. You need to install it yourself but depending on your Linux capability it is not a big deal.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: petem001@hotmail.com
To: kk6ecm@gmail.com; app_rpt-users@ohnosec.org
Date: Wed, 10 Sep 2014 14:12:38 -0400
Subject: Re: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Thanks Bob. I dont think that it has to do with something impossible to do.. In fact I have been searching the archives about problem like that.. And there was some answer about some patch to dahdi zaptel.. or such.. I am at work, dont remember..If it would be installed at least up to a point. I would be able to do it..I just dont know how to tell the compiler not to compile that part and go on..
From: kk6ecm@gmail.com
Date: Wed, 10 Sep 2014 09:15:13 -0700
To: app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4Couple of thoughts. I've not been able to load using ssh. Last time I attempted this zaptel did not load properly, but it seems I didn't get an error until after the reboot. It seems to me (check the ACID scripts), that ACID disables ssh during the load. When I have loaded CentOS 5.10 (as previously mentioned), I then used some of the ACID scripts to load asterisk, etc, I always had to us a monitor and keyboard on the server to be fully successful. But hey... that could just be my fumbling around.As for your stated concern. I could be because no one knows the answer. Hard to believe, I know, but it seems to happen occasionally on this list :~}
Thanks,Bobkk6ecmSent from iPadOK, did I asked a question that CAN’T be answered? Or did I asked the wrong way?But is it possible to at least have a small word from all those guru here if it can be done, and which way should I go? dont need to have someone holding my hand.. Just need to have a small Idea what to do.. Like just point me the pathway.. I will try to do it on my own.. Thanks On Sep 9, 2014, at 11:13 AM, pete M <petem001@hotmail.com> wrote:If I did I am sorry.. And I gave my apology to every one I could have offended..I cant use the acid.iso cause the computer is in a remote place ( rented server) and they dont supply special OS installation. I can have fedore ubuntu centos on many flavor (x86 or 64 bit) and many revision... The problem is not the loading od the cd are other things like that..I am sure that the kernel is too new and there is a part of zaptel that need a depricated fonction If I am not crazy..I use this when ACID will not load, usually due to issues with BIO S and network drivers. I was assuming you were not able to get ACID to load on you computer. If your running phase2.sh was a second attempt after trying to load ACID, you may need to check that all the files are there because the load deletes some files. In short, if this occurred during an attempt to load the ACID download, I'd just try it again.
Thanks,Bobkk6ecmSent from iPadOk will try that..thanks!I’ve done this several times without issue. Here are the steps I used.
Load CentOS 5.10 downloaded from CentOS websiteNo features, tools only, no desktop (competes with Asterisk)Set ssh /etc/ssh/sshd_configRun "setup" at comand line and disable firewallvi /etc/rc.d/acidrepoExecute portion of ks.cfg, each line at a timecp /etc/rc.d/rc.local /etc/rc.d/rc.local.origcat <<EOF >>/etc/rc.d/rc.local
cd /etc/rc.d; rm -f phase1.sh; wget -q http://dl.allstarlink.org/installcd/phase1.sh
chmod 755 /etc/rc.d/phase1.sh
/etc/rc.d/phase1.shAuto reboot after phase1.sh executedphase2.sh runs automatically to completionBobkk6ecm
From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of pete M
Sent: Tuesday, September 09, 2014 7:00 AM
To: APP RPT
Subject: [App_rpt-users] Centos 5 with kernel 2.6.32-042stab093.4
Need help to install an allstarlink node that wont have any radio on it in a data center to be my central reflector for my french network of repeater around Quebec Canada..
I did try to run phase2.sh from /etc/rc.d/ but this fail when compiling.
here is the out put from the script
sh phase2.sh****** Phase 2 post install ******Getting asterisk install script from http://dl.allstarlink.org../.Getting files.tar.gz from http://dl.allstarlink.org../.****** Asterisk Installation ******/etc/rc.d/astinstall.sh: line 11: ntpdate: command not foundUnpacking files.tar.gz...Compiling Zaptel...checking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preproc esso r... gcc -Echecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking for GNU make... makechecking for grep... /bin/grepchecking for sh... /bin/shchecking for ln... /bin/lnchecking for wget... /usr/bin/wgetchecking for grep that handles long lines and -e... (cached) /bin/grepchecking for egrep... /bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for initscr in -lcurses... nochecking for initscr in -lncurses... nochecking for newtBell in -lnewt... nochecking for usb_init in -lusb... noconfigure: creating ./config.statusconfig.status: creating build_tools/menuselect-depsconfig.status: creating makeoptsconfig.status: creating build_tools/make_firmware_objectconfigure: *** Zaptel build successfully configured ***make[1]: Entering directory `/usr/src/astsrc/zaptel/menuselect'checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnuchecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ANSI C... none neededchecking for GNU make... makechecking for asprintf... yeschecking for getloadavg... yeschecking for setenv... yeschecking for strcasestr... yeschecking for strndup... yeschecking for strnlen... yeschecking for strsep... yeschecking for strtoq... yeschecking for unsetenv... yeschecking for vasprintf... yeschecking how to run the C preprocessor... gcc -Echecking for egrep... grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for initscr in -lcurses... nochecking for initscr in -lncurses... nochecking for pkg-config... Noconfigure: creating ./config.statusconfig.status: creating makeoptsconfig.status: creating autoconfig.hconfigure: configuring in mxmlconfigure: running /bin/sh './configure' --prefix=/usr/local 'CC=' 'LD=' 'AR=' 'CFLAGS=' --cache-file=/dev/null --srcdir=.checking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ANSI C... none neededchecking for g++... nochecking for c++... nochecking for gpp... nochecking for aCC... nochecking for CC... nochecking for cxx... nochecking for cc++... nochecking for cl... nochecking for FCC... nochecking for KCC... nochecking for RCC... nochecking for xlC_r... nochecking for xlC... nochecking whether we are using the GNU C++ compiler... nochecking whether g++ accepts -g... nochecking for a BSD-compatible install... /usr/bin/install -cchecking for ranlib... ranlibchecking for ar... /usr/bin/archecking for cp... /bin/cpchecking for ln... /bin/ln< /font>checking for mkdir... /bin/mkdirchecking for nroff... /usr/bin/nroffchecking for rm... /bin/rmchecking for strdup... yeschecking for vsnprintf... yesconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating mxml.listconfig.status: creating mxml.pcconfig.status: creating config.hconfigure: Menuselect build configuration successfully completedmake[1]: Leaving directory `/usr/src/astsrc/zaptel/menuselect'make[1]: Entering directory `/usr/src/astsrc/zaptel/menuselect'make[2]: Entering directory `/usr/src/astsrc/zaptel/menuselect'gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.cgcc -g -c -D_GNU_SOU RC E -Wall -c -o strcompat.o strcompat.cgcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.cmake[3]: Entering directory `/usr/src/astsrc/zaptel/menuselect/mxml'gcc -O -Wall -c mxml-attr.cgcc -O -Wall -c mxml-entity.cgcc -O -Wall -c mxml-file.cgcc -O -Wall -c mxml-index.cgcc -O -Wall -c mxml-node.cgcc -O -Wall -c mxml-search.cgcc -O -Wall -c mxml-set.cgcc -O -Wall -c mxml-private.cgcc -O -Wall -c mxml-string.c/bin/rm -f libmxml.a/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.oa - mxml-attr.oa - mxml-entity.oa - mxml-file.oa - mxml-index.oa - mxml-node.oa - mxml-search.oa - mxml-set.oa - mxml-private.oa - mxml-string.oranlib libmxml.amake[3]: Leaving directory `/usr/src/astsrc/zaptel/menuselect/mxml'gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a mxml/libmxml.amake[2]: Leaving directory `/usr/src/astsrc/zaptel/menuselect'make[1]: Leaving directory `/usr/src/astsrc/zaptel/menuselect'Generating input for menuselect ...
***********************************************************The existing menuselect.makeop ts file did not specifythat 'zttool' should not be included. However, either somedependencies for this module were not found or aconflict exists.
Either run 'make menuselect' or remove the existingmenuselect.makeopts file to resolve this issue.***********************************************************
make: *** [menuselect.makeopts] Error 255Failure: Unable to compile Zaptel 2Fatal error: Unable to install Asterisk![root@node rc.d]#
I dont know where to go from there..
Anyone care to help a bit?
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.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@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.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@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.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.