To change Allstar to use a # instead of * for the function character change these lines in rpt.conf. Reason this was done is because the repeater controller utilized * to initiate autopatch.
funcchar = # ; function lead-in character (defaults to ‘*’) endchar = * ; command mode end character (defaults to ‘#’)
Another issue we ran into was we had the duplex mode in usbradio.conf set to 0 which only allowed the controller to tx or rx at any given time. Changing this to 1 allowed us to send DTMF commands to the controller when it was transmitting.
Defining Functions in Allstar
Define these functions in /etc/asterisk/rpt.conf in the functions section.
1=ilink,1 ; disconnect link = *1<node>
2=ilink,2 ; monitor link = *2<node>
3=ilink,3 ; connect link transceive = *3<node>
4=ilink,4 ; remote command = *4<node>
5=macro,1 ; execute macro = *5<macro#>
70=ilink,5 ; system status
71=ilink,11 ; disconnect permanently connected link = *71<node>
72=ilink,12 ; connect link permanent monitor = *72<node>
73=ilink,13 ; connect link permanent transceive = *73<node>
75=ilink,15 ; play full system status
76=ilink,6 ; disconnect all links
77=ilink,16 ; reconnect previously disconnected links Continue reading
After doing a release upgrade
from Ubuntu 12.04 to 14.04 my websites were going to the default vhost for apache. After looking at /etc/apache2/apache2.conf it had changed from looking for .cfg to .conf for the vhosts files. I just added the .cfg in addition to the .conf so both files would work at around line 218 in apache2.conf to include the virtual host configuration.
Try to do a release upgrade I ran into the issue of /boot not having enough free space. Here is how to resolve that.
Check which kernel you are actively using. DO NOT REMOVE THIS ONE!
View all kernels installed on your system.
dpkg --list | grep linux-image
Remove the kernels not in use
apt-get purge linux-image-x.x.x.x-generic
To run vhosts under separate UIDs/GIDs in apache is very easy with mpm-itk. This will help secure your sites on your shared server.
First install apache2-mpm-itk
apt-get install apache2-mpm-itk
Next add a group and user
groupadd web1 useradd -s /bin/false -d /home/web1_admin -m -g web1 web1_admin
Now add this to the end of your vhost for your site. Be sure to place this inside the </virtualhost> tag and not outside of it.
AssignUserId web1_admin web1
For each of your sites you will user a different username and group. Now be sure to set your web directory to the correct user and group.
chown -R web1_admin:web1 /var/www/website
2 Day MTCNA in the Heart of Amish Country!
Course Description & Syllabi
This two day course will cover MikroTik official certification material plus much more! Real world examples will be shown and demonstrated as part of the class. Each student will obtain a base understanding of MikroTik RouterOS and learn skills that can be applied to there current networks and projects. Course includes labs where you will configure RouterOS and build networks. At the end of the class you will have the chance to take the Official MTCNA test provided by MikroTik.
What You Need to Bring
Laptop with at least 1 ethernet port
Power Strip approximately 10′ in length
Two ethernet cables 6′-14′ in length
Within 1.5 hours of Baltimore and Philadelphia in the heart of Amish Country!
Penn Manor School District
3000 Charlestown Rd, Lancaster, PA 17603