# Two Node system not working

**URL:** https://community.allstarlink.org/t/two-node-system-not-working/19178
**Category:** Archive
**Created:** [February 6, 2022, 3:08am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178 "2022-02-06T03:08:52Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 6, 2022, 3:08am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/1 "2022-02-06T03:08:53Z")

</div>

I am trying to upgrade from another controller software to Allstar Link.  
I am running Beta 2.0.0-Beta.6 on a Pi 4 with two USB FOBs. My first attempt was setting up just one Node and it worked fine. Then I edited the .conf files for a second Node and neither Node works now. I have tried to build the configuration 3-4 times with no luck. One of the things that I did was to start Asterisk manually with the -fnvvv options and I get the following errors at the end of the file.

[Feb 5 15:31:10] WARNING[1042]: config.c:774 process\_text\_line: parse error: No category context for line 1 of /etc/asterisk/extensions.conf  
Asterisk Ready.  
[Feb 5 15:31:11] WARNING[1048]: config.c:774 process\_text\_line: parse error: No category context for line 1 of /etc/asterisk/rpt.conf  
[Feb 5 15:31:11] NOTICE[1048]: app\_rpt.c:22451 rpt\_master: Unable to open radio repeater configuration rpt.conf. Radio Repeater disabled.

Any suggestions? BTW, examples of working .conf files from a 2 Node system would be great.

Thanks, Rick WA6SUZ

---

<div class="post-metadata">

### Author: ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)
#### Post date: [February 6, 2022, 6:38am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/2 "2022-02-06T06:38:34Z")

</div>

Well Rick,  
Let me start by asking if you sutdown asterisk before running it again in the foreground ?

If it is running and you want to see verbose output,  
use  
asterisk -rvvv

If you want to run it in the foreground,  
systemctl stop asterisk  
then  
asterisk -fnvvv

If that helps any  
But let us know where you are from this point.  
You likely have made some type error when you set-up the second node.  
Perhaps attach your rpt.conf for some more eyes on the file.

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 6, 2022, 3:09pm UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/3 "2022-02-06T15:09:08Z")

</div>

Thanks for your quick reply Mike. I did have Asterisk stopped and tried it again with the same errors. I’m a rookie here and don’t see a way to attach my file.

---

<div class="post-metadata">

### Author: ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)
#### Post date: [February 6, 2022, 4:46pm UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/4 "2022-02-06T16:46:11Z")

</div>

Click on the upload button in the toolbar  
(shows when you click the reply button)

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 6, 2022, 10:06pm UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/5 "2022-02-06T22:06:21Z")

</div>

Ok, thanks Mike. I didn’t see the .pdf option before. File is attached now.

[rpt.pdf](https://community.allstarlink.org/uploads/short-url/k6dv6RjOuBwjq8E4DRuCo4uzsVP.pdf) (44.6 KB)

---

<div class="post-metadata">

### Author: ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)
#### Post date: [February 6, 2022, 11:10pm UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/6 "2022-02-06T23:10:46Z")

</div>

Top of the file [nodes]  
(and descriptions under it)  
You have moved this to the top and it needs to be at the bottom of the file  
Look at one of your old files for guidance.

## One stanza describing all nodes described at the bottom.

[nodes]  
; Note, if you are using automatic update for allstar link nodes,  
; no allstar link nodes should be defined here. Only place a definition  
; for your local nodes, and private (off of allstar link) nodes here.  
1331 = radio@127.0.0.1:4569/1331,NONE ; This must be changed to your node  
number  
; 1335 added by raa \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
1335 = radio@127.0.0.1:4569/1335,NONE ; and iax port number if not the default

put it just above this line  
#includeifexists custom/rpt.conf

Don't make to many changes at once or you will never sort this out.  
Lets see what you have now...

---

<div class="post-metadata">

### Author: ![larry](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@larry](https://community.allstarlink.org/u/larry)
#### Post date: [February 7, 2022, 1:10am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/7 "2022-02-07T01:10:57Z")

</div>

Rick, I need to ask a question as I don’t know the answer but it may save you some frustration in the long run.

There was an issue with the Pi4 being unable to run 2 pi nodes if 2 USB devices were required.

Do you know if that issue has been overcome?  
Hopefully one of the GURU’s will chime in and enlighten us.

If it hasn’t been fixed you might be wasting your time trying to use a Pi4 vs a Pi3+ as a 2 node controller.

Larry - N7FM

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 1:11am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/8 "2022-02-07T01:11:05Z")

</div>

No, that did not help. Strange that I am getting the same context error for all four files that I edited. Extensions, iax, rpt, usbradio. I did the editing on my Linux desktop using a text editor. Maybe I should start over using Nano on the Pi to do the editing?

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 1:16am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/9 "2022-02-07T01:16:53Z")

</div>

Thanks for your question Larry. That was my original problem. I was running two Nodes on HamVOIP using a Pi3. I get random lockups with the old system. I wanted to upgrade to a Pi4 but HamVOIP said that there was a problem with 2 nodes.  
So, I hoped that Allstar Link would work with the Pi4 and 2 USB FOBs.

---

<div class="post-metadata">

### Author: ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)
#### Post date: [February 7, 2022, 1:37am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/10 "2022-02-07T01:37:46Z")

</div>

Well, that change was needed.  
Let’s go on to extensions.conf

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 1:49am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/11 "2022-02-07T01:49:32Z")

</div>

Ok, thanks Mike here is the extensions file.  
[extensions.pdf](https://community.allstarlink.org/uploads/short-url/yqo3FcTcjjA1a42xpLkDPSaxDzh.pdf) (23.6 KB)

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 1:51am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/12 "2022-02-07T01:51:24Z")

</div>

Larry, I just booted up the 2 Node configuration on a Pi 3B+ and got the same errors

---

<div class="post-metadata">

### Author: ![larry](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@larry](https://community.allstarlink.org/u/larry)
#### Post date: [February 7, 2022, 2:43am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/13 "2022-02-07T02:43:20Z")

</div>

Very good Rick. Just thought I’d mention that and save you some time if that was still the case.

Hope you get it worked out.

Strange about a Pi3 not doing 2 nodes. Was that prior to their latest version upgrade.

Out of curiosity what errors do you get off the pi3 ?

Larry - N7FM

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 2:53am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/14 "2022-02-07T02:53:40Z")

</div>

Larry, I get the same errors that I got on the Pi4, No category context. Both are running Beta 6. I have not run an earlier version of Allstar link. I inherited the maintenance of our local repeater which was running 2 nodes with HamVoip

---

<div class="post-metadata">

### Author: ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)
#### Post date: [February 7, 2022, 2:58am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/15 "2022-02-07T02:58:47Z")

</div>

ok on extensions  
Lets try iax.conf  
Mask you passwords

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 3:25am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/16 "2022-02-07T03:25:46Z")

</div>

Ok here it is. And thanks for looking at my files.  
[iax.pdf](https://community.allstarlink.org/uploads/short-url/c8BPuyZjRWTY2MFYXJL5uNJHuAD.pdf) (22.4 KB)

---

<div class="post-metadata">

### Author: ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)
#### Post date: [February 7, 2022, 4:24am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/17 "2022-02-07T04:24:36Z")

</div>

[register=1335:xxxxxxxxxxx@register.allstarlink.org](mailto:register=1335:xxxxxxxxxxx@register.allstarlink.org) raa \*\*\*\*\*\*\*\* \< this line is error, you need to comment out after the reg string

uncomment this  
; bindaddr = 192.168.0.1  
and make the address 0.0.0.0

Move your iax registration strings to after your port and address definitions but before or after the general codecs.  
something like this

; Inter-Asterisk eXchange driver definition  
[general]  
bindport = 4569  
bindaddr = 0.0.0.0

[register=1331:xxxxxxxxxxx@register.allstarlink.org](mailto:register=1331:xxxxxxxxxxx@register.allstarlink.org)  
[register=1335:xxxxxxxxxxx@register.allstarlink.org](mailto:register=1335:xxxxxxxxxxx@register.allstarlink.org) ; \< raa \*\*\*

disallow = all ; The permitted codecs for outgoing connections  
; Audio Quality Bandwidth  
;allow = ulaw ; best 87 kbps  
;allow = adpcm ; good 55 kbps  
;allow = gsm ; medicore 36 kbps  
allow = ulaw  
allow = adpcm  
allow = g722  
allow = g726aal2  
allow = gsm  
allow = ilbc

---

<div class="post-metadata">

### Author: ![larry](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@larry](https://community.allstarlink.org/u/larry)
#### Post date: [February 7, 2022, 4:58am UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/18 "2022-02-07T04:58:29Z")

</div>

Rick,  
Not trying to butt into Mikes help but…

Extensions.conf file

[iaxrpt] — You show

exten =\> 1331,1,rpt(1331|X)  
exten =\> 1335,1,rpt(1335|X)

Edit to be like so …  
exten =\> 1331,1,rpt,1331|X  
exten =\> 1335,1,rpt,1335|X

Haven’t seen your iax.conf so no comment there.

Also as a comment— Your rpt.conf file reads as quite a jumble and might be a confusion factor for you…

Were it me I would load a basic rpt.conf and copy the pertinent file settings belonging to the main node number.  
to the first Stanza within. Once that is done I would copy that whole Stanza from the new rpt.conf and paste the copy at the bottom of the  
first Stanza (main node) and then edit the second to utilize the number belong to your second node.

Doing things that way will allow you to tailor different settings for each of the 2 nodes.

Plus if you have problems with one node doing something wrong it is controlled by its own setting and not a shared setting.

That and if running 2 nodes from the same server you will need to define a [nodes] section for each of your node numbers.  
In each your [nodes] you will need to indicate a path to the opposite node if you should you ever desire to connect the 2 nodes together.

Larry - N7FM

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 4:35pm UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/19 "2022-02-07T16:35:44Z")

</div>

Thanks for the changes Mike. Good catch on my missing semicolon.  
I made the changes but it didn’t help. Still getting the samd “no category context” errors

---

<div class="post-metadata">

### Author: ![wa6suz](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa6suz/32/2142_2.png) [@wa6suz](https://community.allstarlink.org/u/wa6suz)
#### Post date: [February 7, 2022, 5:18pm UTC](https://community.allstarlink.org/t/two-node-system-not-working/19178/20 "2022-02-07T17:18:23Z")

</div>

Thanks for your inputs Larry. I tried removing the parenthesis from the extensions.conf file but it still doesn’t work. I get the same context errors.

What I did was to start with a single Node (radio) and got that working with no problems. Then I followed the instructions in this Wiki “[Two Nodes on One Server - AllStarLink Wiki](https://wiki.allstarlink.org/wiki/Two_Nodes_on_One_Server)” to add the second node. Now here I am.

I think that I should have asking a different question "Does anyone have a working configuration using one Pi4 to control two nodes using two radios?

[Next page](https://community.allstarlink.org/t/two-node-system-not-working/19178.md?page=2)
