Date   

Re: TG Listing in DVSwitch

Tom Corcoran
 

On Sat, Dec 14, 2019 at 06:15 PM, Steve N4IRS wrote:
ls -la /tmp
root@raspberrypi:/tmp# cd /opt/Analog_Bridge
root@raspberrypi:/opt/Analog_Bridge# ls -la /tmp
total 752
drwxrwxrwt 13 root root   4096 Dec 14 18:17 .
drwxr-xr-x 24 root root   4096 Sep 16 23:31 ..
-rw-r--r--  1 root root    551 Dec 14 17:34 ABInfo_12345.json
drwx------  2 pi   pi     4096 Dec 14 17:31 dhcpcd-pi
-rw-r--r--  1 root root  27179 Dec 14 17:34 DMR_node_list.txt
-rw-r--r--  1 root root    330 Dec 14 17:33 DSTAR_node_list.txt
-rwxr-xr-x  1 root root  27316 Dec 14 17:33 dvswitch.sh
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .font-unix
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .ICE-unix
-rw-------  1 root root      4 Dec 14 17:30 ircDDB_Gateway
-rw-r--r--  1 root root 510315 Dec 14 17:33 node_list.txt
-rw-r--r--  1 root root   2605 Dec 14 17:33 NXDN_Hosts.txt
-rw-r--r--  1 root root   1413 Dec 14 17:33 NXDN_node_list.txt
-rw-r--r--  1 root root   3322 Dec 14 17:33 P25_Hosts.txt
-rw-r--r--  1 root root   1961 Dec 14 17:33 P25_node_list.txt
-rw-r--r--  1 root root      0 Dec 14 17:31 robots.txt
drwx------  2 pi   pi     4096 Dec 14 17:31 ssh-1ECFXTscCukY
drwx------  2 pi   pi     4096 Dec 14 17:31 ssh-afHP4obqBpH5
drwx------  3 root root   4096 Dec 14 17:30 systemd-private-73c46bfc7c414c0fb35a2ad477d5b5bd-systemd-timesyncd.service-A0XVA4
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .Test-unix
-rw-r--r--  1 root root  47341 Dec 14 17:33 TGList_BM.txt
drwxrwxrwt  2 root root   4096 Dec 14 17:33 .vncserver-license
drwx------  2 root root   4096 Dec 14 17:33 .vnc-vncservice
-r--r--r--  1 root root     11 Dec 14 17:30 .X0-lock
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .X11-unix
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .XIM-unix
-rw-------  1 root root      0 Dec 14 17:30 XLX_Hosts_6wjKuh
-rw-r--r--  1 root root  44592 Dec 14 17:33 YSF_Hosts.txt
-rw-r--r--  1 root root  19870 Dec 14 17:33 YSF_node_list.txt
root@raspberrypi:/opt/Analog_Bridge#

 
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

Copy and paste into the e-mail what you have on your ssh session.
This is what mine looks like:
root@omv:/# cd /opt/Analog_Bridge
root@omv:/opt/Analog_Bridge# ls -la /tmp
total 920
drwxrwxrwt  9 root root   4096 Dec 14 18:09 .
drwxr-xr-x 22 root root   4096 Oct 27 11:08 ..
-rw-r--r--  1 root root    554 Dec 14 17:49 ABInfo_12345.json
-rw-r--r--  1 root root  27181 Dec 14 16:54 DMR_node_list.txt
-rw-r--r--  1 root root    330 Dec 14 15:58 DSTAR_node_list.txt
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .font-unix
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .ICE-unix
-rw-------  1 root root      4 Dec  8 20:38 ircDDB_Gateway
drwx------  2 root root   4096 Dec 14 10:42 mc-root
-rw-r--r--  1 root root 510324 Dec 14 15:58 node_list.txt
-rw-r--r--  1 root root   2605 Dec 14 15:58 NXDN_Hosts.txt
-rw-r--r--  1 root root   1413 Dec 14 15:58 NXDN_node_list.txt
-rw-r--r--  1 root root   3322 Dec 14 15:58 P25_Hosts.txt
-rw-r--r--  1 root root   1961 Dec 14 15:58 P25_node_list.txt
-rwx------  1 root root 187299 Dec 14 18:09 rpt_extnodes-temp
drwx------  3 root root   4096 Dec  8 20:38 systemd-private-9c2739a669f94f87955f12b0678db7df-systemd-timesyncd.service-BJnOZl
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .Test-unix
-rw-r--r--  1 root root  47341 Dec 14 15:58 TGList_BM.txt
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .X11-unix
drwxrwxrwt  2 root root   4096 Dec  8 20:38 .XIM-unix
-rw-------  1 root root  31079 Dec  8 20:38 XLX_Hosts_JloKM7
-rw-r--r--  1 root root  44766 Dec 14 15:58 YSF_Hosts.txt
-rw-r--r--  1 root root  19942 Dec 14 15:58 YSF_node_list.txt
root@omv:/opt/Analog_Bridge# ./dvswitch.sh pushfile /tmp/DMR_node_list.txt
root@omv:/opt/Analog_Bridge#


On 12/14/19 6:11 PM, Tom Corcoran wrote:
Yes … am in /opt/Analog_Bridge directory. Not sure what you mean by "copy and paste whole session". Error log? Other?
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

Yes … am in /opt/Analog_Bridge directory. Not sure what you mean by "copy and paste whole session". Error log? Other?
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

And you are in the /opt/Analog_Bridge directory?
copy and paste the whole session.

On 12/14/19 6:04 PM, Tom Corcoran wrote:
On Sat, Dec 14, 2019 at 05:57 PM, Steve N4IRS wrote:
./dvswitch.sh pushfile /tmp/DMR_node_list.txt
same result …  no file found
 
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

On Sat, Dec 14, 2019 at 05:57 PM, Steve N4IRS wrote:
./dvswitch.sh pushfile /tmp/DMR_node_list.txt
same result …  no file found
 
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

cd /opt/Analog_bridge
ls /tmp
is the file DMR_node_list.txt there?
If so,
./dvswitch.sh pushfile /tmp/DMR_node_list.txt


On 12/14/19 5:52 PM, Tom Corcoran wrote:
log entry is in message 5600

I: 2019-12-14 22:34:22.978 USRP packet type: USRP_TYPE_TEXT (VE3NY) -> 3023284 I: 2019-12-14 22:35:49.424 Asked to return file name .//DMR_node_list.txt I: 2019-12-14 22:35:49.424 File NOT found
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

On Sat, Dec 14, 2019 at 05:52 PM, Steve N4IRS wrote:
ls -la /tmp
total 752
drwxrwxrwt 13 root root   4096 Dec 14 17:48 .
drwxr-xr-x 24 root root   4096 Sep 16 23:31 ..
-rw-r--r--  1 root root    551 Dec 14 17:34 ABInfo_12345.json
drwx------  2 pi   pi     4096 Dec 14 17:31 dhcpcd-pi
-rw-r--r--  1 root root  27179 Dec 14 17:34 DMR_node_list.txt
-rw-r--r--  1 root root    330 Dec 14 17:33 DSTAR_node_list.txt
-rwxr-xr-x  1 root root  27316 Dec 14 17:33 dvswitch.sh
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .font-unix
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .ICE-unix
-rw-------  1 root root      4 Dec 14 17:30 ircDDB_Gateway
-rw-r--r--  1 root root 510315 Dec 14 17:33 node_list.txt
-rw-r--r--  1 root root   2605 Dec 14 17:33 NXDN_Hosts.txt
-rw-r--r--  1 root root   1413 Dec 14 17:33 NXDN_node_list.txt
-rw-r--r--  1 root root   3322 Dec 14 17:33 P25_Hosts.txt
-rw-r--r--  1 root root   1961 Dec 14 17:33 P25_node_list.txt
-rw-r--r--  1 root root      0 Dec 14 17:31 robots.txt
drwx------  2 pi   pi     4096 Dec 14 17:31 ssh-1ECFXTscCukY
drwx------  2 pi   pi     4096 Dec 14 17:31 ssh-afHP4obqBpH5
drwx------  3 root root   4096 Dec 14 17:30 systemd-private-73c46bfc7c414c0fb35a2ad477d5b5bd-systemd-timesyncd.service-A0XVA4
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .Test-unix
-rw-r--r--  1 root root  47341 Dec 14 17:33 TGList_BM.txt
drwxrwxrwt  2 root root   4096 Dec 14 17:33 .vncserver-license
drwx------  2 root root   4096 Dec 14 17:33 .vnc-vncservice
-r--r--r--  1 root root     11 Dec 14 17:30 .X0-lock
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .X11-unix
drwxrwxrwt  2 root root   4096 Dec 14 17:30 .XIM-unix
-rw-------  1 root root      0 Dec 14 17:30 XLX_Hosts_6wjKuh
-rw-r--r--  1 root root  44592 Dec 14 17:33 YSF_Hosts.txt
-rw-r--r--  1 root root  19870 Dec 14 17:33 YSF_node_list.txt
root@raspberrypi:/opt/Analog_Bridge#

 
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

cd /opt/Analog_bridge
ls -la /tmp
Paste the output.


On 12/14/19 5:50 PM, Tom Corcoran wrote:
./dvswitch.sh pushfile /tmp/DMR_node_list.txt … same error message.
reason I didn't have /tmp entered is that I was running ./ command from /tmp already. I moved dvswitch.sh to /tmp

In event that dvswitch.sh had to be run from Analog_Bridge directory, I tried it there as well and still getting same 
."File not Found" message.
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

log entry is in message 5600

I: 2019-12-14 22:34:22.978 USRP packet type: USRP_TYPE_TEXT (VE3NY) -> 3023284
I: 2019-12-14 22:35:49.424 Asked to return file name .//DMR_node_list.txt
I: 2019-12-14 22:35:49.424 File NOT found

--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

./dvswitch.sh pushfile /tmp/DMR_node_list.txt … same error message.
reason I didn't have /tmp entered is that I was running ./ command from /tmp already. I moved dvswitch.sh to /tmp

In event that dvswitch.sh had to be run from Analog_Bridge directory, I tried it there as well and still getting same 
."File not Found" message.
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

Paste that log entry.

On 12/14/19 5:46 PM, Tom Corcoran wrote:
I did note in log that edited file is recorded as   //tmp/DMR_node_list.txt with two //'s in the log file.. 
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

I did note in log that edited file is recorded as   //tmp/DMR_node_list.txt with two //'s in the log file.. 
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

./dvswitch.sh pushfile /tmp/DMR_node_list.txt

On 12/14/19 5:43 PM, Tom Corcoran wrote:
followed process you described and still seeing "File Transfer: File Not Found"

Attached is Analog_Bridge.log

--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

followed process you described and still seeing "File Transfer: File Not Found"

Attached is Analog_Bridge.log

--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 



Disconnect from any active TG

root@omv:/opt/Analog_Bridge# ./dvswitch.sh collectProcessDataFiles
Processing NXDN
Processing P25
Processing DMR
Processing YSF
Processing DStar
Processing ASL

Notice the response from dvswitch.sh

Now, edit /tmp/DMR_node_list.txt here is the first 12 entries:

4000|||Unlink
1|||LOCAL
2|||LOCAL/CLUSTER
8|||REGIONAL
9|||LOCAL OR REFLECTOR
91|||WORLD-WIDE
92|||EUROPE
93|||NORTH AMERICA
94|||ASIA MIDDLE EAST
95|||AUSTRALIA NEW ZELAND
202|||
204|||NEDERLAND

I edited:
8|||REGIONAL

To:
3112138|||N4IRS was here

Make sure you have DVSM running and watch the screen.
Now run:
./dvswitch.sh pushfile /tmp/DMR_node_list.txt

This will show on the screen

You will get this on the DVSM screen:




Now look at the /var/log/dvswitch/Analog_Bridge.log
I: 2019-12-14 21:10:09.632 Asked to return file name /tmp/DMR_node_list.txt
I: 2019-12-14 21:10:09.632 File found, begin transfer
I: 2019-12-14 21:10:10.793 File transer complete.  227 packets sent

Analog_Bridge pushes the file to DVSM via UDP, so it really does not know if the file arrived. DVSM DOES check the received file.

73, Steve N4IRS







On 12/14/19 3:02 PM, Tom Corcoran wrote:
Could problem be MMDVM, DVS or DVSM release? dvswitch.sh seems to work fine with tune and mode.
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

Could problem be MMDVM, DVS or DVSM release? dvswitch.sh seems to work fine with tune and mode.
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

Tried making a simple change to the description of entry #2 - LOCAL to LOCAL1 and my android device displayed message : "File Transfer: File Not Found"
Did same to P25 list with same result. 

So .. progress but no cigar yet. Seems like I need to indicate some form of destination in the android device
--
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

sorry … misstated … I did (and have again) used "./dvswitch.sh collectProcessDataFiles" and then "./dvswitch.sh pushfile DMR_node_list.txt" 
Also made changes to TGList_BM.txt

Still no changes to TalkGroup list either name or TG#. 

--
Tom VE3NY


Re: TG Listing in DVSwitch

Jay Mazure
 

Steve / Tony,   Just want to let you know I have been following the email strings.   So far I don't have any luck either.
I'm not a Linux man but am trying hard.  

Steve,  could you send me a sample file via email of a talk group list.   If your busy no worries. 

73
Jay / WT8K




On Saturday, December 14, 2019, 10:07:09 AM PST, Tom Corcoran <tcorcoran@...> wrote:


files all loaded into /tmp. File I edited is DMR_node_list.txt  
made changes and then did ./dvswitch.sh DMR_node_list.txt

no changes to DVSM menu. Tried shutdown and rebooting of DVS and DVMS. No changes. Is there something else I should be entering?
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

"./dvswitch.sh pushfile file_name.txt"

On 12/14/2019 1:07 PM, Tom Corcoran wrote:
files all loaded into /tmp. File I edited is DMR_node_list.txt  
made changes and then did ./dvswitch.sh DMR_node_list.txt

no changes to DVSM menu. Tried shutdown and rebooting of DVS and DVMS. No changes. Is there something else I should be entering?
--
Tom VE3NY

4421 - 4440 of 9891