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  2013  2014  <20152016  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  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problems with CA
From: Florian Feldbauer <[email protected]>
To: Mark Rivers <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Thu, 29 Jan 2015 14:40:35 +0100
Hey,

@Ernest
I did not set ENV vars for the ports, so they should be the default ones on both systems (5064 & 5065)
The only EPICS relevant ENV vars which are set are
EPICS_HOST_ARCH, EPICS_CA_AUTO_ADDR_LIST and EPICS_CA_ADDR_LIST.

On 01/29/2015 02:13 PM, Mark Rivers wrote:
If the subnet mask and CA environment variables are OK then:

- What is the network topology between 192.168.1.1 and 192.168.1.6.  Only switches between them?
Yes. There is only a switch between both PCs.

- Is there a firewall (e.g. iptables, etc.) running on either machine?
Yes...there WAS a firewall (firewalld) running....and the ports 5064 and 5065 were opened for TCP and UDP. But after stopping the firewall it worked...so obviously I did something wrong with its configuration...

Thanks for your help!

Florian

Mark



________________________________________
From: [email protected] [[email protected]] on behalf of Mark Rivers [[email protected]]
Sent: Thursday, January 29, 2015 6:50 AM
To: Florian Feldbauer; EPICS Tech Talk
Subject: RE: Problems with CA

That should have worked.

Are you sure that you have set the subnet mask on your IOC machine correctly?

Mark

________________________________________
From: Florian Feldbauer [[email protected]]
Sent: Thursday, January 29, 2015 6:44 AM
To: Mark Rivers; EPICS Tech Talk
Subject: Re: Problems with CA

Hey,

thanks for the answers.
Unfortunately I did not work:

Here is what I tried:

   ~ > ifconfig p3p1
p3p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
          inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
          inet6 fe80::213:3bff:fe0f:e7bf  prefixlen 64  scopeid 0x20<link>
          ether 00:13:3b:0f:e7:bf  txqueuelen 1000  (Ethernet)
          RX packets 39249  bytes 5375914 (5.1 MiB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 192403  bytes 81244106 (77.4 MiB)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

   ~ > setenv EPICS_CA_AUTO_ADDR_LIST NO
   ~ > setenv EPICS_CA_ADDR_LIST 192.168.1.255
   ~ > caget -w 20 PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom
Channel connect timed out: 'PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom' not found.
   ~ > setenv EPICS_CA_ADDR_LIST 192.168.1.6
   ~ > caget PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom
PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom 0.0489747


p3p1 is the name of the network interface to which all our EPICS IOCs
are connected...

    Florian

On 01/29/2015 12:58 PM, Mark Rivers wrote:
Is there a way to specify a subnet as address lsit for CA?
Yes.

setenv EPICS_CA_AUTO_ADDR_LIST NO
setenv EPICS_CA_ADDR_LIST 192.168.1.255

where 192.168.1.255 is the broadcast address of that subnet.  That syntax would be correct if the subnet mask is 255.255.255.0.

Mark


________________________________________
From: [email protected] [[email protected]] on behalf of Florian Feldbauer [[email protected]]
Sent: Thursday, January 29, 2015 3:35 AM
To: EPICS Tech Talk
Subject: Problems with CA

Hey all,

I have observed some problems with channel access in our lab.
We have a PC with three network interfaces.
On is connected to the network of our institute (->WAN)
the other two are used for local sub nets with its own DNS/DHCP...
The used OS on this PC is Fedora 20.

On one of these local sub nets I have a running EPICS IOC.
When using caget on the PC I always get a timeout error.
Only when I specify the environment variables:
       setenv EPICS_CA_AUTO_ADDR_LIST no
       setenv EPICS_CA_ADDR_LIST 192.168.1.6
caget works.

The IP addresses for the local subnet are dynamically assigned,
and I don't want to look up each time, which addresses are used....
Also I don't want to put all 256 possible addresses in the
EPICS_CA_ADDR_LIST.

Is there a way to specify a subnet as address lsit for CA?
Or is it possible to bind all request (from Clients as well as from
Servers) on the machine
to one specific interface?

Best regards,
Florian


--
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------



--
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------


--
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Helmholtz-Institut Mainz /           |
| Johannes Gutenberg-Universität Mainz |
| Johann-Joachim-Becher-Weg 36         |
| D-55128 Mainz                        |
|                                      |
| Office: SB1 / 00-213                 |
| Phone:  (+49)6131 / 39-29605         |
----------------------------------------


References:
Problems with CA Florian Feldbauer
RE: Problems with CA Mark Rivers
Re: Problems with CA Florian Feldbauer
RE: Problems with CA Mark Rivers
RE: Problems with CA Mark Rivers

Navigate by Date:
Prev: Re: Problems with CA Ralph Lange
Next: struck sis3316 digitizer ADC data transfer with RTEMS Geon-Yeong Mun
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problems with CA Ralph Lange
Next: Re: Problems with CA Williams Jr., Ernest L.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·