EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: gateway: strange configuration
From: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Thu, 21 Feb 2013 13:03:23 +0100
Hi Pierrick,

if you can't connect at all, this looks like a network problem rather than a gateway problem.

I am not a network person, but:

Can you ping the gateway machine from your remote machine (using 222.22.22.22)?

Does your DSL box contain a router/firewall? You might have to configure a port forward in the DSL box that forwards TCP connection to the 5064 port of its public IP address to the 5064 port of 111.11.11.11.

Maybe just running the example CA server on 111.11.11.11 is a better way to start. You have to be able to do caget/camonitor/cainfo from your external box to the PVs in the example server on 111.11.11.11 to prove connectivity. The cainfo client should show 222.22.22.22 as the server for the PVs.

At that point you should switch from the example server to the Gateway, and start looking at Access Security and Gateway configuration issues.

Good luck!
~Ralph


On 20.02.2013 22:33, Pierrick Hanlet wrote:
Hi Ralph,
Thanks for the response.  I suppose that I'm being a bit thick, but I'm not able to understand
your instructions.  In starting the gateway, I added the flag "-debug 50".  I cannot connect
from my remote machine 333.33.33.33; I've attempted caget with hopes that the log file
on the gateway machine will show some attempt to connect, but to no avail.  If this is not
what you mean, would you please be more specific?
Thanks,
Pierrick


On 02/20/2013 11:27 AM, Ralph Lange wrote:
On 20.02.2013 18:09, Pierrick Hanlet wrote:
Hi all,
I'm running an epics gateway v2.0.4 on a linux box running SL with kernel 2.6.18 and is part of a LAN;
my EPICS version is 3.14.11.  We have established an external connection to this subnet with a DSL
connection with a public IP address and an ethernet cable from the DSL modem.  I have no name for
this public IP address.

So, my questions are:
1) How do I set up my gateway.access file?
2) On my remote node, how do I define my EPICS_CA_ADDR_LIST?
3) Can I even use an IP address in the access file?

Let's say that my host computer running the gateway is 111.11.11.11, the public IP address is 222.22.22.22,
and my remote machine on which I want the EPICS data is 333.33.33.33.

I've tried a variety of things and I'm clearly missing something.  On my other uses of the gateway, I don't
have the intermediate hop over the AT&T provided public IP address.
Thanks,
Pierrick

Hi Pierrick,

I would say for the remote client
EPICS_CA_AUTO_ADDR_LIST=NO
EPICS_CA_NAME_SERVERS= 222.22.22.22

On the gateway, I would turn up debugging, connect from the remote client, and check what it provides as user and host. These will be the values to use in the Access Security configuration.

Good luck!
~Ralph


--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)


References:
gateway: strange configuration Pierrick Hanlet
Re: gateway: strange configuration Ralph Lange
Re: gateway: strange configuration Pierrick Hanlet

Navigate by Date:
Prev: Re: gateway: strange configuration Martin L. Smith
Next: Rounding in conversion of ao record haquin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: gateway: strange configuration Martin L. Smith
Next: trying to compile snmp for Wiener PL512 crate application James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·