<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pttlink.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KB8JNM</id>
	<title>&quot;PTTLink Wiki&quot; - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pttlink.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KB8JNM"/>
	<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/wiki/Special:Contributions/KB8JNM"/>
	<updated>2026-05-13T10:43:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=PTTLink_DEBIAN-9_INSTALL_ON_VULTR&amp;diff=1395</id>
		<title>PTTLink DEBIAN-9 INSTALL ON VULTR</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=PTTLink_DEBIAN-9_INSTALL_ON_VULTR&amp;diff=1395"/>
		<updated>2019-03-30T15:03:44Z</updated>

		<summary type="html">&lt;p&gt;KB8JNM: updated info, removed less essential info, corrected spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Written by Mike (KB8JNM)&lt;br /&gt;
&lt;br /&gt;
Before you start:&lt;br /&gt;
You probably should read most of this once before you start (to the +++++++++ anyway). It will help.&lt;br /&gt;
&lt;br /&gt;
1- Get signed up with account on vultr.com and verify email. &lt;br /&gt;
&lt;br /&gt;
2- Add a server (Blue &amp;quot;+&amp;quot; button, Mid-Upper Right), to find a cheaper install, you may need to change server locations till you see one available, &lt;br /&gt;
otherwise, you may need to choose a $5 or 1gb Mem server or larger. &lt;br /&gt;
You will need to look in advance to Vultr's section (3) for size selection for each location. &lt;br /&gt;
Flipping between section (1) &amp;amp; (3) to get that right. Not all size servers are available at all times at all locations. (some sell-out).&lt;br /&gt;
&lt;br /&gt;
3- At Vultr's section (2) - OS's, you will need to select just above the selections, to &amp;quot;UPLOAD ISO&amp;quot;. &lt;br /&gt;
Plug this &amp;quot;currently valid&amp;quot; link to the ASL Stretch Deb 9 ISO -&lt;br /&gt;
http://dvswitch.org/files/ASL_Images/Intel-AMD/Stretch/ASL_1.01-20180417-amd64-i386-debian-stretch-netinst.iso&lt;br /&gt;
&lt;br /&gt;
Place that link into the load iso. Go to next step.&lt;br /&gt;
&lt;br /&gt;
4- You should be able to move forward to Vultr's section (7) and select the hostname (i.e. eoh.29999.link), if you wish, &lt;br /&gt;
or wait and do that though the ASL-MENU / manually. But this will save you a step.&lt;br /&gt;
&lt;br /&gt;
5- DEPLOY YOUR SERVER&lt;br /&gt;
&lt;br /&gt;
6- Look in the top right hand of the screen and you will see a monitor next to the power button. &lt;br /&gt;
Click that for your console and you may enter data as needed for your deployment just as if the system is in front of you. &lt;br /&gt;
But note that you are not going to copy paste any instructions at the command line like you might with putty ssh shell.&lt;br /&gt;
Also Note: Your mouse will not function inside the CONSOLE window. &lt;br /&gt;
Use keyboard / 'TAB' &amp;amp; 'ARROWS' to navigate fields &amp;amp; 'SPACEBAR' or ENTER/CR to select inside ASL-MENU.&lt;br /&gt;
&lt;br /&gt;
7- After all is done in your install, your console screen will be blank.&lt;br /&gt;
&lt;br /&gt;
*** you will need to look at your &amp;quot;vultr server instance&amp;quot; to remove your ISO and that will force a reboot.&lt;br /&gt;
*** The way to do that is to click on your server instance, click settings (above)&lt;br /&gt;
*** then look on the left for load ISO again, the menu will show big blue button to REMOVE ISO&lt;br /&gt;
*** You probably will need to launch the console screen again. Close the old one first if it went blank !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--Now, that's about all I can guide you on with that. See normal install instructions. &lt;br /&gt;
--The default user is repeater and pw is allstarlink&lt;br /&gt;
--If you get lost somehow, # cd /usr/local/sbin/ - and run - # sudo asl-menu - if you are setting-up with the script.&lt;br /&gt;
--Please be careful when setting new root password, it shows at the bottom of the screen and this will give you&lt;br /&gt;
--root access in the console only. To get root access in your SFTP, you need to &lt;br /&gt;
--edit  /etc/ssh/ssh_config and PermitRootLogin yes &lt;br /&gt;
--save/exit restart sshd but for your own good, don't leave it this way. Please change the port address while you are there editing from the default of 22. You can do this later.&lt;br /&gt;
&lt;br /&gt;
###!!! A well done job for those responsible for a perfect ASL ISO deployment. Thank You !&lt;br /&gt;
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;br /&gt;
&lt;br /&gt;
Additional &amp;gt;&lt;br /&gt;
If you like to play, Let's go one further step so you can run this as your own website. &lt;br /&gt;
You will love to learn this after you have set-up your server and it's verified running.&lt;br /&gt;
&lt;br /&gt;
To make this completely web compatible, so to speak, you will want a 'LAMP STACK' &lt;br /&gt;
which is basically Linux (you already have) MySQL database, PHP server-side scripting and Appache2 for your HTML server on port 80.&lt;br /&gt;
I'm not writing the how-to for this, but here is a link I found on the web to guide you through it for this Debian 9 install.&lt;br /&gt;
&lt;br /&gt;
https://linuxconfig.org/how-to-install-a-lamp-server-on-debian-9-stretch-linux&lt;br /&gt;
&lt;br /&gt;
AS A ADDED BONUS FOR OTHER WEB WORKINGS:&lt;br /&gt;
While after you have installed you lamp stack, you can always get to the server web pages you construct via ip address, &lt;br /&gt;
you may want to pick-up a domain name and use that for a pointer to the IP. I have this suggestion for you....&lt;br /&gt;
&lt;br /&gt;
After deploying the LAMP stack (or before anything in my case) I went to NameSilo.com,&lt;br /&gt;
Picked up the domain name 29999.link @ $ 8.69 (per year) &lt;br /&gt;
Then go to the domain manager and point it at the ip address of the ASL Server.&lt;br /&gt;
&lt;br /&gt;
So you will have basicly, any record you see with a ip address now needs re-pointed to match your server. &lt;br /&gt;
You might add one for your hostname... server.29999.link&lt;br /&gt;
Some of you know how to set-up a A record, MX for mail and cname. &lt;br /&gt;
But it is never to late to learn how it all works before or after your deployment.&lt;br /&gt;
But this is 'not required' for the minimal operation of a VPS deployed system.&lt;br /&gt;
You or your club could take advantage of your own website &amp;amp; email with what you already have.&lt;br /&gt;
&lt;br /&gt;
But that brings up other issues like security.&lt;br /&gt;
&lt;br /&gt;
So what I will add here is for your own good. Don't do a bunch of other stuff until you get a grip on security of your system.&lt;br /&gt;
The ASL install comes with a firewall but it is up to your to set-it and run it and keep a eye on your system.&lt;br /&gt;
But to add some flavor to your install, &lt;br /&gt;
use valtr's free &amp;quot;snapshot&amp;quot; of your instance for a backup once you know you have a solid working node.&lt;br /&gt;
They also provide a scheduled back-up service at $1 a month. &lt;br /&gt;
I'm not here to endorse them but it's there and I sometimes use it on instances I have.&lt;br /&gt;
&lt;br /&gt;
[[Category:How to]]&lt;/div&gt;</summary>
		<author><name>KB8JNM</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Echolink_Channel_Driver&amp;diff=998</id>
		<title>Echolink Channel Driver</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Echolink_Channel_Driver&amp;diff=998"/>
		<updated>2018-06-17T14:55:56Z</updated>

		<summary type="html">&lt;p&gt;KB8JNM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The chan_echolink channel driver allows AllStar nodes to register on and communicate with the EchoLink network.  The following information is originally from [http://docs.allstarlink.org/drupal/node/12 echolink.conf].&lt;br /&gt;
&lt;br /&gt;
=echolink.conf=&lt;br /&gt;
With the addition of the chan_echolink Asterisk channel driver direct connections to and from echolink to Asterisk/app_rpt are now supported. No other programs (e.g. rtpDir, or the link box) are required. With chan_echolink, EchoLink nodes become part of the AllStar link number space.&lt;br /&gt;
&lt;br /&gt;
From an app_rpt/Allstar node, Echolink connections look just like Allstar/App_rpt connections except the Echolink node numbers have been prefixed with a 3 and padded out to 7 digits with leading zeroes. For instance, if you want to connect to Echolink node 1234 on your app_rpt system you would dial *3 followed by 3001234. If you have a 6 digit Echolink node number 123456, you would dial *3 followed by 3123456. As you can see we have reserved Allstar node numbers with a leading 3 for the Echolink number space.&lt;br /&gt;
&lt;br /&gt;
For users originating from an Echolink node using Echolink supplied software, nothing changes for them, they just dial the 4 or 6 digit Echolink node number assigned to your app_rpt system and they get connected!&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
First, if you are behind a NAT router, please make sure the ports for Echolink service are correctly forwarded to your asterisk system. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Port To Forward !! Service&lt;br /&gt;
|-&lt;br /&gt;
|  5198 || UDP&lt;br /&gt;
|-&lt;br /&gt;
|  5199 || UDP&lt;br /&gt;
|-&lt;br /&gt;
|  5200 || TCP&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally, if you are running a firewall and not a consumer grade router which is configured to limit outbound access to a specific number of ports, you must enable UDP outbound access for 5198, and 5199, and TCP outbound access for port 5200. &lt;br /&gt;
&lt;br /&gt;
Current documentation on what ports need to be forwarded can be found on echolink.org in the [http://echolink.org/firewall-friendly.htm EchoLink, Firewalls, and Routers] section.&lt;br /&gt;
&lt;br /&gt;
To activate the Echolink channel driver, all that's required is a properly formatted configuration file. A base configuration file has been included with Both ACID and Limey Linux and is located in /usr/src/configs/examples/echolink. Copy this file to /etc/asterisk, and edit it to match your callsign, password and node number assignment from Echolink.org. The sample echolink.conf file is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[el0]&lt;br /&gt;
confmode=no           ; Conference mode&lt;br /&gt;
call=W6ABC-R	      ; Change this to your callsign!&lt;br /&gt;
pwd=XXXXX	      ; Change this to your password!&lt;br /&gt;
name=echolinkusername ; Change this to your real name!&lt;br /&gt;
qth=echolink-location ; Change this to your actual QTH!&lt;br /&gt;
email=foo@bar.com     ; Change this to your echolink registered email!&lt;br /&gt;
maxstns=20            ; The maximum 'at-once' connections allowed/supported (see ** below)&lt;br /&gt;
node=123456           ; Change this to the assigned 'ECHOLINK' node# &lt;br /&gt;
astnode=2345          ; Change this to your active Allstar node number!&lt;br /&gt;
context=radio-secure  ; The allstar context (leave the default unless you have good reason to change)&lt;br /&gt;
server1=server1.echolink.org&lt;br /&gt;
server2=server2.echolink.org  &lt;br /&gt;
server3=server3.echolink.org&lt;br /&gt;
rtcptimeout=10&lt;br /&gt;
recfile=/tmp/recorded.gsm&lt;br /&gt;
freq=145.000          ; Freq in MHz&lt;br /&gt;
tone=100.0            ; CTCSS Tone (0 for none)&lt;br /&gt;
lat=34.74978          ; Latitude in decimal degrees&lt;br /&gt;
lon=-92.27666         ; Longitude in decimal degrees&lt;br /&gt;
power=0    ; 0=0W, 1=1W, 2=4W,  3=9W, 4=16W, 5=25W, 6=36W,  7=49W,  8=64W,  9=81W  (Power in Watts)&lt;br /&gt;
height=0   ; 0=10' ,1=20',2=40',3=80' ,4=160' ,5=320' ,6=640' ,7=1280',8=2560',9=5120' (AMSL in Feet)&lt;br /&gt;
gain=7     ; Gain in db (0-9)&lt;br /&gt;
dir=0      ; 0=omni, 1=45deg, 2=90deg, 3=135deg, 4=180deg, 5=225deg, 6=270deg, 7=315deg, 8=360deg (Direction)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
** How many stations will your node support ? The 2 most particular factors will be how much CPU/Memory power you have&lt;br /&gt;
AND how much bandwidth you have available. So you should not expect a bunch from cpu's under 1ghz or from memory below 1gb.&lt;br /&gt;
&lt;br /&gt;
Once you have made the changes, restart Asterisk, and within a few minutes time, the node should show up on the echolink.org website under [http://echolink.org Current Logins].&lt;br /&gt;
&lt;br /&gt;
==Controlling Access==&lt;br /&gt;
Echolink connections may be denied on a per-callsign basis. This is done by using the deny and permit key values in the above [el0] stanza. The default is to allow all connections if the permit and deny keywords are not present. If a permit is specified, then only the callsigns specified in the permit statement will be allowed to connect. If deny is specified, then the callsign(s) specified will be denied access and the connection will be terminated. Commas are used to delimit multiple callsigns for permit and deny keys. Wildcards are supported so that whole classes of connections can be rejected. Examples:&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
To deny w6xxx you would add the statement: '''deny=w6xxx'''&lt;br /&gt;
&lt;br /&gt;
To prohibit computer-based connections you would write: '''permit=*-*'''&lt;br /&gt;
&lt;br /&gt;
To allow access to only a select group of callsigns: '''permit=w6abc,w6def,...'''&lt;br /&gt;
&lt;br /&gt;
==Setting Audio Levels==&lt;br /&gt;
The audio gain going to and coming from the Echolink system may be set from within a Node Stanza as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
erxgain=-3.0      ; defaults to -3.0 db&lt;br /&gt;
etxgain=3.0       ; defaults to 3.0 db.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Debugging=&lt;br /&gt;
The chan_echolink driver supports debugging output.  &lt;br /&gt;
&lt;br /&gt;
Debugging can be a activated with the command '''echolink debug level x'''  (Where x = 0-7.  0=off).  With debugging turned on, chan_echolink will output various messages to the terminal related to connecting to nodes, etc.&lt;br /&gt;
&lt;br /&gt;
In addition to turning on debugging, you can use the following commands to query your node's copy of the EchoLink database:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Description !! Command&lt;br /&gt;
|-&lt;br /&gt;
|  Dump EchoLink database || echolink dbdump&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by callsign || echolink dbget callsign &amp;lt;EchoLink Callsign&amp;gt;  (i.e., KG7QIN-R)&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by nodename || echolink dbget nodename &amp;lt;EchoLink node number&amp;gt;  (i.e., 407301)&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by ip address || echolink dbget ip &amp;lt;EchoLink node ip address&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
=Miscellaneous=&lt;br /&gt;
==Connectivity Issues==&lt;br /&gt;
When debugging EchoLink connectivity issues with your AllStar node, remember the following:&lt;br /&gt;
*Never run the EchoLink application from your mobile device (cell phone/tablet/etc) using the '''same network''' as your AllStar node.  This will lead to problems with one or the other not being able to connect to/register/use the EchoLink servers or other EchoLink nodes.  (This also applies to running the Windows application on the same network as your AllStar node).&lt;br /&gt;
*If using the EchoLink application on your mobile device (cell phone/tablet/etc), make sure that the EchoLink application is '''not set to run/is not running in the background'''.  Having the application running in the background can cause problems with your AllStar node not being able to connect to/register/use the EchoLink servers or other EchoLink nodes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Note: Same network refers to the the Public IP address that both your AllStar node AND the device running the EchoLink application are using -- even if they are on different subnets internally.  The Public IP is what the EchoLink servers/network sees and uses when communicating with your node/device.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Caveats==&lt;br /&gt;
The chan_echolink driver currently:&lt;br /&gt;
&lt;br /&gt;
* Does not send its station info.&lt;br /&gt;
* Does not process chat text.&lt;br /&gt;
* Only recognizes a few remote text commands.&lt;br /&gt;
* Does not have a busy, deaf or mute feature.&lt;br /&gt;
* Does not have capacity limits.&lt;br /&gt;
* Does not have a banned or private station list.  ''(Access controls are rudimentary and on a per station basis.  See [[Echolink_Channel_Driver#Controlling_Access|Controlling Access]])''&lt;br /&gt;
* Does not have an admin list, only local 127.0.0.1 access.&lt;br /&gt;
* Does not have a customizable welcome text message.&lt;br /&gt;
* Does not support login or connect timeouts.&lt;br /&gt;
* Does not have a max TX time limit.&lt;br /&gt;
* Does not support activity reporting.&lt;br /&gt;
* Does not have event notifications.&lt;br /&gt;
* Does not have any stats.&lt;br /&gt;
* Does not have any callsign prefix restrictions.&lt;br /&gt;
* Does not announce on connects/disconnects.  ''(Connect/disconnect announcements come from app_rpt's telemetry using the 3xxxxxx node number format)''&lt;br /&gt;
* Does not have any loop detection.&lt;br /&gt;
* Allows &amp;quot;doubles&amp;quot; (newer version of the software are preventing this. Work in progress)&lt;br /&gt;
&lt;br /&gt;
==Remote Commands==&lt;br /&gt;
The following '''''remote text commands''''' can be sent to the chan_echolink driver running on your AllStar link node using ''netcat'':&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Command !! Function&lt;br /&gt;
|-&lt;br /&gt;
| o.conip &amp;lt;IPaddress&amp;gt;  || Request a connect&lt;br /&gt;
|-&lt;br /&gt;
| o.dconip &amp;lt;IPaddress&amp;gt; || Request a disconnect&lt;br /&gt;
|-&lt;br /&gt;
| o.rec || Turn on/off recording&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Node Configuration]]&lt;/div&gt;</summary>
		<author><name>KB8JNM</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Echolink_Channel_Driver&amp;diff=997</id>
		<title>Echolink Channel Driver</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Echolink_Channel_Driver&amp;diff=997"/>
		<updated>2018-06-17T14:52:12Z</updated>

		<summary type="html">&lt;p&gt;KB8JNM: added definition/formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The chan_echolink channel driver allows AllStar nodes to register on and communicate with the EchoLink network.  The following information is originally from [http://docs.allstarlink.org/drupal/node/12 echolink.conf].&lt;br /&gt;
&lt;br /&gt;
=echolink.conf=&lt;br /&gt;
With the addition of the chan_echolink Asterisk channel driver direct connections to and from echolink to Asterisk/app_rpt are now supported. No other programs (e.g. rtpDir, or the link box) are required. With chan_echolink, EchoLink nodes become part of the AllStar link number space.&lt;br /&gt;
&lt;br /&gt;
From an app_rpt/Allstar node, Echolink connections look just like Allstar/App_rpt connections except the Echolink node numbers have been prefixed with a 3 and padded out to 7 digits with leading zeroes. For instance, if you want to connect to Echolink node 1234 on your app_rpt system you would dial *3 followed by 3001234. If you have a 6 digit Echolink node number 123456, you would dial *3 followed by 3123456. As you can see we have reserved Allstar node numbers with a leading 3 for the Echolink number space.&lt;br /&gt;
&lt;br /&gt;
For users originating from an Echolink node using Echolink supplied software, nothing changes for them, they just dial the 4 or 6 digit Echolink node number assigned to your app_rpt system and they get connected!&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
First, if you are behind a NAT router, please make sure the ports for Echolink service are correctly forwarded to your asterisk system. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Port To Forward !! Service&lt;br /&gt;
|-&lt;br /&gt;
|  5198 || UDP&lt;br /&gt;
|-&lt;br /&gt;
|  5199 || UDP&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally, if you are running a firewall and not a consumer grade router which is configured to limit outbound access to a specific number of ports, you must enable UDP outbound access for 5198, and 5199, and TCP outbound access for port 5200. &lt;br /&gt;
&lt;br /&gt;
Current documentation on what ports need to be forwarded can be found on echolink.org in the [http://echolink.org/firewall-friendly.htm EchoLink, Firewalls, and Routers] section.&lt;br /&gt;
&lt;br /&gt;
To activate the Echolink channel driver, all that's required is a properly formatted configuration file. A base configuration file has been included with Both ACID and Limey Linux and is located in /usr/src/configs/examples/echolink. Copy this file to /etc/asterisk, and edit it to match your callsign, password and node number assignment from Echolink.org. The sample echolink.conf file is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[el0]&lt;br /&gt;
confmode=no           ; Conference mode&lt;br /&gt;
call=W6ABC-R	      ; Change this to your callsign!&lt;br /&gt;
pwd=XXXXX	      ; Change this to your password!&lt;br /&gt;
name=echolinkusername ; Change this to your real name!&lt;br /&gt;
qth=echolink-location ; Change this to your actual QTH!&lt;br /&gt;
email=foo@bar.com     ; Change this to your echolink registered email!&lt;br /&gt;
maxstns=20            ; The maximum 'at-once' connections allowed/supported (see ** below)&lt;br /&gt;
node=123456           ; Change this to the assigned 'ECHOLINK' node# &lt;br /&gt;
astnode=2345          ; Change this to your active Allstar node number!&lt;br /&gt;
context=radio-secure  ; The allstar context (leave the default unless you have good reason to change)&lt;br /&gt;
server1=server1.echolink.org&lt;br /&gt;
server2=server2.echolink.org  &lt;br /&gt;
server3=server3.echolink.org&lt;br /&gt;
rtcptimeout=10&lt;br /&gt;
recfile=/tmp/recorded.gsm&lt;br /&gt;
freq=145.000          ; Freq in MHz&lt;br /&gt;
tone=100.0            ; CTCSS Tone (0 for none)&lt;br /&gt;
lat=34.74978          ; Latitude in decimal degrees&lt;br /&gt;
lon=-92.27666         ; Longitude in decimal degrees&lt;br /&gt;
power=0    ; 0=0W, 1=1W, 2=4W,  3=9W, 4=16W, 5=25W, 6=36W,  7=49W,  8=64W,  9=81W  (Power in Watts)&lt;br /&gt;
height=0   ; 0=10' ,1=20',2=40',3=80' ,4=160' ,5=320' ,6=640' ,7=1280',8=2560',9=5120' (AMSL in Feet)&lt;br /&gt;
gain=7     ; Gain in db (0-9)&lt;br /&gt;
dir=0      ; 0=omni, 1=45deg, 2=90deg, 3=135deg, 4=180deg, 5=225deg, 6=270deg, 7=315deg, 8=360deg (Direction)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
** How many stations will your node support ? The 2 most particular factors will be how much CPU/Memory power you have&lt;br /&gt;
AND how much bandwidth you have available. So you should not expect a bunch from cpu's under 1ghz or from memory below 1gb.&lt;br /&gt;
&lt;br /&gt;
Once you have made the changes, restart Asterisk, and within a few minutes time, the node should show up on the echolink.org website under [http://echolink.org Current Logins].&lt;br /&gt;
&lt;br /&gt;
==Controlling Access==&lt;br /&gt;
Echolink connections may be denied on a per-callsign basis. This is done by using the deny and permit key values in the above [el0] stanza. The default is to allow all connections if the permit and deny keywords are not present. If a permit is specified, then only the callsigns specified in the permit statement will be allowed to connect. If deny is specified, then the callsign(s) specified will be denied access and the connection will be terminated. Commas are used to delimit multiple callsigns for permit and deny keys. Wildcards are supported so that whole classes of connections can be rejected. Examples:&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
To deny w6xxx you would add the statement: '''deny=w6xxx'''&lt;br /&gt;
&lt;br /&gt;
To prohibit computer-based connections you would write: '''permit=*-*'''&lt;br /&gt;
&lt;br /&gt;
To allow access to only a select group of callsigns: '''permit=w6abc,w6def,...'''&lt;br /&gt;
&lt;br /&gt;
==Setting Audio Levels==&lt;br /&gt;
The audio gain going to and coming from the Echolink system may be set from within a Node Stanza as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
erxgain=-3.0      ; defaults to -3.0 db&lt;br /&gt;
etxgain=3.0       ; defaults to 3.0 db.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Debugging=&lt;br /&gt;
The chan_echolink driver supports debugging output.  &lt;br /&gt;
&lt;br /&gt;
Debugging can be a activated with the command '''echolink debug level x'''  (Where x = 0-7.  0=off).  With debugging turned on, chan_echolink will output various messages to the terminal related to connecting to nodes, etc.&lt;br /&gt;
&lt;br /&gt;
In addition to turning on debugging, you can use the following commands to query your node's copy of the EchoLink database:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Description !! Command&lt;br /&gt;
|-&lt;br /&gt;
|  Dump EchoLink database || echolink dbdump&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by callsign || echolink dbget callsign &amp;lt;EchoLink Callsign&amp;gt;  (i.e., KG7QIN-R)&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by nodename || echolink dbget nodename &amp;lt;EchoLink node number&amp;gt;  (i.e., 407301)&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by ip address || echolink dbget ip &amp;lt;EchoLink node ip address&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
=Miscellaneous=&lt;br /&gt;
==Connectivity Issues==&lt;br /&gt;
When debugging EchoLink connectivity issues with your AllStar node, remember the following:&lt;br /&gt;
*Never run the EchoLink application from your mobile device (cell phone/tablet/etc) using the '''same network''' as your AllStar node.  This will lead to problems with one or the other not being able to connect to/register/use the EchoLink servers or other EchoLink nodes.  (This also applies to running the Windows application on the same network as your AllStar node).&lt;br /&gt;
*If using the EchoLink application on your mobile device (cell phone/tablet/etc), make sure that the EchoLink application is '''not set to run/is not running in the background'''.  Having the application running in the background can cause problems with your AllStar node not being able to connect to/register/use the EchoLink servers or other EchoLink nodes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Note: Same network refers to the the Public IP address that both your AllStar node AND the device running the EchoLink application are using -- even if they are on different subnets internally.  The Public IP is what the EchoLink servers/network sees and uses when communicating with your node/device.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Caveats==&lt;br /&gt;
The chan_echolink driver currently:&lt;br /&gt;
&lt;br /&gt;
* Does not send its station info.&lt;br /&gt;
* Does not process chat text.&lt;br /&gt;
* Only recognizes a few remote text commands.&lt;br /&gt;
* Does not have a busy, deaf or mute feature.&lt;br /&gt;
* Does not have capacity limits.&lt;br /&gt;
* Does not have a banned or private station list.  ''(Access controls are rudimentary and on a per station basis.  See [[Echolink_Channel_Driver#Controlling_Access|Controlling Access]])''&lt;br /&gt;
* Does not have an admin list, only local 127.0.0.1 access.&lt;br /&gt;
* Does not have a customizable welcome text message.&lt;br /&gt;
* Does not support login or connect timeouts.&lt;br /&gt;
* Does not have a max TX time limit.&lt;br /&gt;
* Does not support activity reporting.&lt;br /&gt;
* Does not have event notifications.&lt;br /&gt;
* Does not have any stats.&lt;br /&gt;
* Does not have any callsign prefix restrictions.&lt;br /&gt;
* Does not announce on connects/disconnects.  ''(Connect/disconnect announcements come from app_rpt's telemetry using the 3xxxxxx node number format)''&lt;br /&gt;
* Does not have any loop detection.&lt;br /&gt;
* Allows &amp;quot;doubles&amp;quot; (newer version of the software are preventing this. Work in progress)&lt;br /&gt;
&lt;br /&gt;
==Remote Commands==&lt;br /&gt;
The following '''''remote text commands''''' can be sent to the chan_echolink driver running on your AllStar link node using ''netcat'':&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Command !! Function&lt;br /&gt;
|-&lt;br /&gt;
| o.conip &amp;lt;IPaddress&amp;gt;  || Request a connect&lt;br /&gt;
|-&lt;br /&gt;
| o.dconip &amp;lt;IPaddress&amp;gt; || Request a disconnect&lt;br /&gt;
|-&lt;br /&gt;
| o.rec || Turn on/off recording&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Node Configuration]]&lt;/div&gt;</summary>
		<author><name>KB8JNM</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Echolink_Channel_Driver&amp;diff=996</id>
		<title>Echolink Channel Driver</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Echolink_Channel_Driver&amp;diff=996"/>
		<updated>2018-06-17T14:47:14Z</updated>

		<summary type="html">&lt;p&gt;KB8JNM: Added some definitions/formating&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The chan_echolink channel driver allows AllStar nodes to register on and communicate with the EchoLink network.  The following information is originally from [http://docs.allstarlink.org/drupal/node/12 echolink.conf].&lt;br /&gt;
&lt;br /&gt;
=echolink.conf=&lt;br /&gt;
With the addition of the chan_echolink Asterisk channel driver direct connections to and from echolink to Asterisk/app_rpt are now supported. No other programs (e.g. rtpDir, or the link box) are required. With chan_echolink, EchoLink nodes become part of the AllStar link number space.&lt;br /&gt;
&lt;br /&gt;
From an app_rpt/Allstar node, Echolink connections look just like Allstar/App_rpt connections except the Echolink node numbers have been prefixed with a 3 and padded out to 7 digits with leading zeroes. For instance, if you want to connect to Echolink node 1234 on your app_rpt system you would dial *3 followed by 3001234. If you have a 6 digit Echolink node number 123456, you would dial *3 followed by 3123456. As you can see we have reserved Allstar node numbers with a leading 3 for the Echolink number space.&lt;br /&gt;
&lt;br /&gt;
For users originating from an Echolink node using Echolink supplied software, nothing changes for them, they just dial the 4 or 6 digit Echolink node number assigned to your app_rpt system and they get connected!&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
First, if you are behind a NAT router, please make sure the ports for Echolink service are correctly forwarded to your asterisk system. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Port To Forward !! Service&lt;br /&gt;
|-&lt;br /&gt;
|  5198 || UDP&lt;br /&gt;
|-&lt;br /&gt;
|  5199 || UDP&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Additionally, if you are running a firewall and not a consumer grade router which is configured to limit outbound access to a specific number of ports, you must enable UDP outbound access for 5198, and 5199, and TCP outbound access for port 5200. &lt;br /&gt;
&lt;br /&gt;
Current documentation on what ports need to be forwarded can be found on echolink.org in the [http://echolink.org/firewall-friendly.htm EchoLink, Firewalls, and Routers] section.&lt;br /&gt;
&lt;br /&gt;
To activate the Echolink channel driver, all that's required is a properly formatted configuration file. A base configuration file has been included with Both ACID and Limey Linux and is located in /usr/src/configs/examples/echolink. Copy this file to /etc/asterisk, and edit it to match your callsign, password and node number assignment from Echolink.org. The sample echolink.conf file is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[el0]&lt;br /&gt;
confmode=no           ; Conference mode&lt;br /&gt;
call=W6ABC-R	      ; Change this to your callsign!&lt;br /&gt;
pwd=XXXXX	      ; Change this to your password!&lt;br /&gt;
name=echolinkusername ; Change this to your real name!&lt;br /&gt;
qth=echolink-location ; Change this to your actual QTH!&lt;br /&gt;
email=foo@bar.com     ; Change this to your echolink registered email!&lt;br /&gt;
maxstns=20            ; The maximum 'at-once' connections allowed/supported (see ** below)&lt;br /&gt;
node=123456           ; Change this to the assigned 'ECHOLINK' node# &lt;br /&gt;
astnode=2345          ; Change this to your active Allstar node number!&lt;br /&gt;
context=radio-secure  ; The allstar context (leave the default unless you have good reason to change)&lt;br /&gt;
server1=server1.echolink.org&lt;br /&gt;
server2=server2.echolink.org  &lt;br /&gt;
server3=server3.echolink.org&lt;br /&gt;
rtcptimeout=10&lt;br /&gt;
recfile=/tmp/recorded.gsm&lt;br /&gt;
freq=145.000          ; Freq in MHz&lt;br /&gt;
tone=100.0            ; CTCSS Tone (0 for none)&lt;br /&gt;
lat=34.74978          ; Latitude in decimal degrees&lt;br /&gt;
lon=-92.27666         ; Longitude in decimal degrees&lt;br /&gt;
power=0    ; 0=0W, 1=1W, 2=4W,  3=9W, 4=16W, 5=25W, 6=36W,  7=49W,  8=64W,  9=81W  (Power in Watts)&lt;br /&gt;
height=0   ; 0=10' ,1=20',2=40',3=80' ,4=160' ,5=320' ,6=640' ,7=1280',8=2560',9=5120' (AMSL in Feet)&lt;br /&gt;
gain=7     ; Gain in db (0-9)&lt;br /&gt;
dir=0      ; 0=omni, 1=45deg, 2=90deg, 3=135deg, 4=180deg, 5=225deg, 6=270deg, 7=315deg, 8=360deg (Direction)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
** How many stations will your node support ? The 2 most particular factors will be how much CPU/Memory power you have&lt;br /&gt;
AND how much bandwidth you have available. So you should not expect a bunch from cpu's under 1ghz or from memory below 1gb.&lt;br /&gt;
&lt;br /&gt;
Once you have made the changes, restart Asterisk, and within a few minutes time, the node should show up on the echolink.org website under [http://echolink.org Current Logins].&lt;br /&gt;
&lt;br /&gt;
==Controlling Access==&lt;br /&gt;
Echolink connections may be denied on a per-callsign basis. This is done by using the deny and permit key values in the above [el0] stanza. The default is to allow all connections if the permit and deny keywords are not present. If a permit is specified, then only the callsigns specified in the permit statement will be allowed to connect. If deny is specified, then the callsign(s) specified will be denied access and the connection will be terminated. Commas are used to delimit multiple callsigns for permit and deny keys. Wildcards are supported so that whole classes of connections can be rejected. Examples:&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
To deny w6xxx you would add the statement: '''deny=w6xxx'''&lt;br /&gt;
&lt;br /&gt;
To prohibit computer-based connections you would write: '''permit=*-*'''&lt;br /&gt;
&lt;br /&gt;
To allow access to only a select group of callsigns: '''permit=w6abc,w6def,...'''&lt;br /&gt;
&lt;br /&gt;
==Setting Audio Levels==&lt;br /&gt;
The audio gain going to and coming from the Echolink system may be set from within a Node Stanza as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
erxgain=-3.0      ; defaults to -3.0 db&lt;br /&gt;
etxgain=3.0       ; defaults to 3.0 db.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Debugging=&lt;br /&gt;
The chan_echolink driver supports debugging output.  &lt;br /&gt;
&lt;br /&gt;
Debugging can be a activated with the command '''echolink debug level x'''  (Where x = 0-7.  0=off).  With debugging turned on, chan_echolink will output various messages to the terminal related to connecting to nodes, etc.&lt;br /&gt;
&lt;br /&gt;
In addition to turning on debugging, you can use the following commands to query your node's copy of the EchoLink database:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Description !! Command&lt;br /&gt;
|-&lt;br /&gt;
|  Dump EchoLink database || echolink dbdump&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by callsign || echolink dbget callsign &amp;lt;EchoLink Callsign&amp;gt;  (i.e., KG7QIN-R)&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by nodename || echolink dbget nodename &amp;lt;EchoLink node number&amp;gt;  (i.e., 407301)&lt;br /&gt;
|-&lt;br /&gt;
|  Query EchoLink station by ip address || echolink dbget ip &amp;lt;EchoLink node ip address&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
=Miscellaneous=&lt;br /&gt;
==Connectivity Issues==&lt;br /&gt;
When debugging EchoLink connectivity issues with your AllStar node, remember the following:&lt;br /&gt;
*Never run the EchoLink application from your mobile device (cell phone/tablet/etc) using the '''same network''' as your AllStar node.  This will lead to problems with one or the other not being able to connect to/register/use the EchoLink servers or other EchoLink nodes.  (This also applies to running the Windows application on the same network as your AllStar node).&lt;br /&gt;
*If using the EchoLink application on your mobile device (cell phone/tablet/etc), make sure that the EchoLink application is '''not set to run/is not running in the background'''.  Having the application running in the background can cause problems with your AllStar node not being able to connect to/register/use the EchoLink servers or other EchoLink nodes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Note: Same network refers to the the Public IP address that both your AllStar node AND the device running the EchoLink application are using -- even if they are on different subnets internally.  The Public IP is what the EchoLink servers/network sees and uses when communicating with your node/device.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Caveats==&lt;br /&gt;
The chan_echolink driver currently:&lt;br /&gt;
&lt;br /&gt;
* Does not send its station info.&lt;br /&gt;
* Does not process chat text.&lt;br /&gt;
* Only recognizes a few remote text commands.&lt;br /&gt;
* Does not have a busy, deaf or mute feature.&lt;br /&gt;
* Does not have capacity limits.&lt;br /&gt;
* Does not have a banned or private station list.  ''(Access controls are rudimentary and on a per station basis.  See [[Echolink_Channel_Driver#Controlling_Access|Controlling Access]])''&lt;br /&gt;
* Does not have an admin list, only local 127.0.0.1 access.&lt;br /&gt;
* Does not have a customizable welcome text message.&lt;br /&gt;
* Does not support login or connect timeouts.&lt;br /&gt;
* Does not have a max TX time limit.&lt;br /&gt;
* Does not support activity reporting.&lt;br /&gt;
* Does not have event notifications.&lt;br /&gt;
* Does not have any stats.&lt;br /&gt;
* Does not have any callsign prefix restrictions.&lt;br /&gt;
* Does not announce on connects/disconnects.  ''(Connect/disconnect announcements come from app_rpt's telemetry using the 3xxxxxx node number format)''&lt;br /&gt;
* Does not have any loop detection.&lt;br /&gt;
* Allows &amp;quot;doubles&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Remote Commands==&lt;br /&gt;
The following '''''remote text commands''''' can be sent to the chan_echolink driver running on your AllStar link node using ''netcat'':&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Command !! Function&lt;br /&gt;
|-&lt;br /&gt;
| o.conip &amp;lt;IPaddress&amp;gt;  || Request a connect&lt;br /&gt;
|-&lt;br /&gt;
| o.dconip &amp;lt;IPaddress&amp;gt; || Request a disconnect&lt;br /&gt;
|-&lt;br /&gt;
| o.rec || Turn on/off recording&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Node Configuration]]&lt;/div&gt;</summary>
		<author><name>KB8JNM</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=SimpleUSB_Channel_Driver&amp;diff=995</id>
		<title>SimpleUSB Channel Driver</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=SimpleUSB_Channel_Driver&amp;diff=995"/>
		<updated>2018-06-17T02:37:05Z</updated>

		<summary type="html">&lt;p&gt;KB8JNM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;chan_simpleusb is ideal for smaller computers and those systems that do not need the chan_usbradio driver.&lt;br /&gt;
&lt;br /&gt;
You must enable SimpleUSB.so to load in modules.conf first.&lt;br /&gt;
&lt;br /&gt;
=simpleusb.conf=&lt;br /&gt;
The configuration of chan_simpleusb is done with the simpleusb.conf file and is self explanatory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; SimpleUSB configuration&lt;br /&gt;
;&lt;br /&gt;
[general]&lt;br /&gt;
&lt;br /&gt;
[usb_&amp;lt;node#&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
eeprom=0&lt;br /&gt;
&lt;br /&gt;
hdwtype=0               ; Leave this set to 0 for USB sound fobs modified using&lt;br /&gt;
                        ; the instructions from usbfob.pdf. Use a setting of &lt;br /&gt;
                        ; 1 is for Dingotel/Sph interfaces.&lt;br /&gt;
&lt;br /&gt;
rxboost=1               ; 0 = 20db attenuator inserted, 1= 20db attenuator removed&lt;br /&gt;
                        ; Set to 1 for additonal gain if using a low-level receiver output&lt;br /&gt;
&lt;br /&gt;
carrierfrom=usbinvert   ; no,usb,usbinvert&lt;br /&gt;
                        ; no - no carrier detection at all&lt;br /&gt;
                        ; usb - from the COR line on the modified USB sound fob&lt;br /&gt;
                        ; usbinvert - from the inverted COR line on the modified USB sound fob&lt;br /&gt;
&lt;br /&gt;
ctcssfrom=usbinvert             ; no,usb,usbinvert&lt;br /&gt;
                        ; no - CTCSS decoding, system will be carrier squelch&lt;br /&gt;
                        ; usb - CTCSS decoding using input from USB FOB &lt;br /&gt;
                        ; usbinvert - from the inverted CTCSS line on the modified USB sound fob&lt;br /&gt;
&lt;br /&gt;
txmixa=voice            ; Left channel output: no,voice,tone,composite,auxvoice&lt;br /&gt;
                        ; no - Do not output anything&lt;br /&gt;
                        ; voice - output voice only&lt;br /&gt;
&lt;br /&gt;
txmixb=no               ; Right channel output: no,voice,tone,composite, auxvoice&lt;br /&gt;
                        ; See txmixa above.&lt;br /&gt;
&lt;br /&gt;
invertptt=0             ; Invert PTT 0 = ground to transmit, 1 = open to transmit&lt;br /&gt;
                        ; This is the collector lead of the 2n4401 on the modified&lt;br /&gt;
                        ; usb sound fob.&lt;br /&gt;
                        ; please refer to the howto for the procedure to do this.&lt;br /&gt;
&lt;br /&gt;
duplex=1                ; Full Duplex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Configuration=&lt;br /&gt;
==Parallel Port==&lt;br /&gt;
When setting chan_simpleusb to use a parallel port for I/O you must set a definition for the port address in rpt.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iobase=0x378     ; Parallel port address (using for cor/ptt &amp;amp; switches +dh-rbi  - 378,278,3bc common Lpt 1,2,3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must then define the parallel port pins used for I/O in simpleusb.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[usb_&amp;lt;node#1&amp;gt;]  ( ie [usb_1234] )&lt;br /&gt;
pp6=ptt&lt;br /&gt;
pp11=cor&lt;br /&gt;
...(+ additional info for this nodes usb config)...&lt;br /&gt;
&lt;br /&gt;
[usb_&amp;lt;node#2&amp;gt;]&lt;br /&gt;
pp7=ptt&lt;br /&gt;
pp12=cor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...(+ additional info for this nodes usb config)...&lt;br /&gt;
&lt;br /&gt;
When configuring your simpleusb radio node you '''''MUST''''' ensure that the name of the radio is the same in both rpt.conf and simpleusb.conf.  &lt;br /&gt;
The system looks inside the file SimpleUSB.conf for the match of the node# to be configured (i.e. usb_1234). &lt;br /&gt;
&lt;br /&gt;
Node names are in format of ''usb_&amp;lt;nodenumber&amp;gt;''.  Where &amp;lt;nodenumber&amp;gt; = the AllStar Link node of your system.  ''Note that usb and the node number are separated by an underscore (_) character.''&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;p&amp;gt;&lt;br /&gt;
Your simpleusb.conf file defines your usb radio as '''[usb_1000]'''.  Your rpt.conf file would then have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rxchannel = SimpleUSB/usb_1000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are reusing the simpleusb.conf file from an older installation (i.e., ACID), take special note of the change in naming.  When a exact match is not made, the settings that follow will not be loaded.&lt;br /&gt;
&lt;br /&gt;
=Miscellaneous=&lt;br /&gt;
==Parallel Port Pin Numbers==&lt;br /&gt;
Additional note on parallel port pin numbers:&lt;br /&gt;
&lt;br /&gt;
When you are looking at the '''pp#''' addressing, the actual hardware pin numbers are in computer natural logical format.&amp;lt;br&amp;gt;&lt;br /&gt;
So hardware pin '''''D0''''' on the LPT port is equal to '''''pp1''''' in the software configuration.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;0&amp;quot; is the first number to a computer as seen at the BIOS and/or hardware addressing.&amp;lt;br&amp;gt;&lt;br /&gt;
Be sure you are testing/setting/attaching the correct pin number. &lt;br /&gt;
&lt;br /&gt;
Here is a listing of hardware pins and the software setup equivalents:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hardware pin !! Software equivalent&lt;br /&gt;
|-&lt;br /&gt;
|  D0 || pp1&lt;br /&gt;
|-&lt;br /&gt;
|  D1 || pp2&lt;br /&gt;
|-&lt;br /&gt;
|  D2 || pp3&lt;br /&gt;
|-&lt;br /&gt;
|  D3 || pp4&lt;br /&gt;
|-&lt;br /&gt;
|  D4 || pp5&lt;br /&gt;
|-&lt;br /&gt;
|  D5 || pp6&lt;br /&gt;
|-&lt;br /&gt;
|  D6 || pp7&lt;br /&gt;
|-&lt;br /&gt;
|  D7 || pp8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Allstar denoted pins pp9 through pp12 are 'Input pins' listed as 'A#' in the parallel port scheme.&lt;br /&gt;
&lt;br /&gt;
Special note: All these pins require 'buffering' by adding a transistor to do the actual switching.&lt;br /&gt;
They will not sink much current on their own.&lt;br /&gt;
In the case of some older radios you might interface, you might need to buffer with a transistor (2n2222 / 3904/3906) &lt;br /&gt;
AND a relay actuated by the buffer transistor. Mainly the PTT lines. &lt;br /&gt;
The best design is with optically-coupled transistors to prevent voltages and/or rf from running back through this port.&lt;br /&gt;
The unused output pins can be applied to switch things at the site. i.e. fan/light/alarm or even switching off other equipment.&lt;br /&gt;
Check command tables for info, not related to simple_usb.conf.&lt;br /&gt;
[[Category:Node Configuration]]&lt;/div&gt;</summary>
		<author><name>KB8JNM</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=SimpleUSB_Channel_Driver&amp;diff=981</id>
		<title>SimpleUSB Channel Driver</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=SimpleUSB_Channel_Driver&amp;diff=981"/>
		<updated>2018-06-03T03:47:09Z</updated>

		<summary type="html">&lt;p&gt;KB8JNM: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;chan_simpleusb is ideal for smaller computers and those systems that do not need the chan_usbradio driver.&lt;br /&gt;
&lt;br /&gt;
You must enable SimpleUSB.so to load in modules.conf first.&lt;br /&gt;
&lt;br /&gt;
=simpleusb.conf=&lt;br /&gt;
The configuration of chan_simpleusb is done with the simpleusb.conf file and is self explanatory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; SimpleUSB configuration&lt;br /&gt;
;&lt;br /&gt;
[general]&lt;br /&gt;
&lt;br /&gt;
[usb_&amp;lt;node#&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
eeprom=0&lt;br /&gt;
&lt;br /&gt;
hdwtype=0               ; Leave this set to 0 for USB sound fobs modified using&lt;br /&gt;
                        ; the instructions from usbfob.pdf. Use a setting of &lt;br /&gt;
                        ; 1 is for Dingotel/Sph interfaces.&lt;br /&gt;
&lt;br /&gt;
rxboost=1               ; 0 = 20db attenuator inserted, 1= 20db attenuator removed&lt;br /&gt;
                        ; Set to 1 for additonal gain if using a low-level receiver output&lt;br /&gt;
&lt;br /&gt;
carrierfrom=usbinvert   ; no,usb,usbinvert&lt;br /&gt;
                        ; no - no carrier detection at all&lt;br /&gt;
                        ; usb - from the COR line on the modified USB sound fob&lt;br /&gt;
                        ; usbinvert - from the inverted COR line on the modified USB sound fob&lt;br /&gt;
&lt;br /&gt;
ctcssfrom=usbinvert             ; no,usb,usbinvert&lt;br /&gt;
                        ; no - CTCSS decoding, system will be carrier squelch&lt;br /&gt;
                        ; usb - CTCSS decoding using input from USB FOB &lt;br /&gt;
                        ; usbinvert - from the inverted CTCSS line on the modified USB sound fob&lt;br /&gt;
&lt;br /&gt;
txmixa=voice            ; Left channel output: no,voice,tone,composite,auxvoice&lt;br /&gt;
                        ; no - Do not output anything&lt;br /&gt;
                        ; voice - output voice only&lt;br /&gt;
&lt;br /&gt;
txmixb=no               ; Right channel output: no,voice,tone,composite, auxvoice&lt;br /&gt;
                        ; See txmixa above.&lt;br /&gt;
&lt;br /&gt;
invertptt=0             ; Invert PTT 0 = ground to transmit, 1 = open to transmit&lt;br /&gt;
                        ; This is the collector lead of the 2n4401 on the modified&lt;br /&gt;
                        ; usb sound fob.&lt;br /&gt;
                        ; please refer to the howto for the procedure to do this.&lt;br /&gt;
&lt;br /&gt;
duplex=1                ; Full Duplex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Configuration=&lt;br /&gt;
==Parallel Port==&lt;br /&gt;
When setting chan_simpleusb to use a parallel port for I/O you must set a definition for the port address in rpt.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iobase=0x378     ; Parallel port address (using for cor/ptt &amp;amp; switches +dh-rbi  - 378,278,3bc common Lpt 1,2,3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must then define the parallel port pins used for I/O in simpleusb.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[usb_&amp;lt;node#1&amp;gt;]  ( ie [usb_1234] )&lt;br /&gt;
pp6=ptt&lt;br /&gt;
pp11=cor&lt;br /&gt;
...(+ additional info for this nodes usb config)...&lt;br /&gt;
&lt;br /&gt;
[usb_&amp;lt;node#2&amp;gt;]&lt;br /&gt;
pp7=ptt&lt;br /&gt;
pp12=cor&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
...(+ additional info for this nodes usb config)...&lt;br /&gt;
&lt;br /&gt;
When configuring your simpleusb radio node you '''''MUST''''' ensure that the name of the radio is the same in both rpt.conf and simpleusb.conf.  &lt;br /&gt;
The system looks inside the file SimpleUSB.conf for the match of the node# to be configured (i.e. usb_1234). &lt;br /&gt;
&lt;br /&gt;
Node names are in format of ''usb_&amp;lt;nodenumber&amp;gt;''.  Where &amp;lt;nodenumber&amp;gt; = the AllStar Link node of your system.  ''Note that usb and the node number are separated by an underscore (_) character.''&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;p&amp;gt;&lt;br /&gt;
Your simpleusb.conf file defines your usb radio as '''[usb_1000]'''.  Your rpt.conf file would then have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rxchannel = SimpleUSB/usb_1000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are reusing the simpleusb.conf file from an older installation (i.e., ACID), take special note of the change in naming.  When a exact match is not made, the settings that follow will not be loaded.&lt;br /&gt;
&lt;br /&gt;
Additional note on parallel port pin numbers:&lt;br /&gt;
&lt;br /&gt;
When you are looking at the pp# addressing, the actual hardware pin numbers are in computer natural logical format.&lt;br /&gt;
So hardware pin &amp;quot; D0 &amp;quot; on lpt port is = to pp1 in the software setup and so hardware pin &amp;quot; D7 &amp;quot; is = pp8&lt;br /&gt;
&lt;br /&gt;
&amp;quot;0&amp;quot; is the first number to a computer as seen at the bios and/or hardware addressing.&lt;br /&gt;
Be sure you are testing/setting/attaching the correct pin number. D0 - D7 = pp1 - pp8&lt;br /&gt;
&lt;br /&gt;
[[Category:Node Configuration]]&lt;/div&gt;</summary>
		<author><name>KB8JNM</name></author>
	</entry>
</feed>