Date   

Re: TG Listing in DVSwitch

Tom Corcoran
 

Steve, 
so, your point is that this solution only indicates that I have the DMR_node_list.txt file in the wrong directory? 

Supposed to be /tmp … correct? And dvswitch.sh is in Analog_Bridge directory … correct? What other considerations are there? Glad to continue pursuing to solve root cause.
--
Tom VE3NY


Re: TG Listing in DVSwitch

Steve N4IRS
 

It tells AB not to care where the data file is located. I would prefer you turn it back off and figure out what you are doing wrong.

On 12/14/19 6:47 PM, Tom Corcoran wrote:
"transferRootDir = unlimited"


--  BINGO … worked. Steve and Mike … tnx for great help on implementing new features .

Mike … exactly what did this command do for me to solve the problem?
 
Tom VE3NY


Re: TG Listing in DVSwitch

Tom Corcoran
 

"transferRootDir = unlimited"


--  BINGO … worked. Steve and Mike … tnx for great help on implementing new features .

Mike … exactly what did this command do for me to solve the problem?
 
Tom VE3NY


Re: TG Listing in DVSwitch

Mike Zingman - N4IRR
 

Tom,

Please add this line to your Analog_Bridge.ini file in the [GENERAL] section:

transferRootDir = unlimited

Then stop and start AB, and retry the file transfer.

Mike N4IRR


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#

Show me EVERYTHING, what you type and the response.

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
 

Steve,

tnx for super support … I have to deal with family matter but will be back shortly
--
Tom VE3NY


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