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

Subject: Re: Anyone tried connecting a client to a local server on vxWorks 6.3?
From: [email protected]
To: Ralph Lange <[email protected]>
Cc: [email protected]
Date: Fri, 19 Nov 2010 17:12:15 +0800

Setting EPICS_CA_ADDR_LIST=localhost actually works!!

Thank you very much Ralph.

Lorna Zhang
National Instruments Shanghai
Tel: 86-21-50509810-3230



From: Ralph Lange <[email protected]>
To: [email protected]
Cc: [email protected]
Date: 11/19/2010 12:02 AM
Subject: Re: Anyone tried connecting a client to a local server on vxWorks 6.3?





Actually, setting EPICS_CA_AUTO_ADDR_LIST=NO shuts off the broadcast, so to connect to the local machine as well as use broadcasts for all other machines on the local network, I would try to only set EPICS_CA_ADDR_LIST=localhost (or the numeric equivalent).
That should allow your IOC to connect locally using the explicit destination, as well as to other IOCs on the local net using broadcasts.

Ralph


On 18.11.2010 10:50, Mark Rivers wrote:

Did you try setting EPICS_CA_AUTO_ADDR_LIST=NO, EPICS_CA_ADDR_LIST=localhost, or the IP address of your vxWorks computer?
 
Mark
 
 



From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent:
Wednesday, November 17, 2010 8:26 PM
To:
[email protected]
Subject:
Anyone tried connecting a client to a local server on vxWorks 6.3?

 

Hi All,


I posted several weeks ago about an issue that a client failed to connect local server on vxWorks 6.3.


We developed a PCAS server and a client based on libcas and libca (EPICS Base 3.14.9). They work well on Windows, and we are now porting them to vxWorks (ppc-603). During the process, we found the issue that, if the client and server are on a single host, the connection couldn't be established.


After debugging for a long while, we found the root issue is that a broadcast to 255.255.255.255 from a vxWorks host CANNOT be heard by local host. It seems like a loopback policy limitation for vxWorks.


So I'd like to know if there's anyone who ran into the same issue as I am. Or someone who can successfully connect a client to a local server on vxWorks, and how do you do that.


Thank you very much for your time.


Lorna Zhang
National Instruments Shanghai
Tel: 86-21-50509810-3230



References:
Anyone tried connecting a client to a local server on vxWorks 6.3? lorna . zhang
RE: Anyone tried connecting a client to a local server on vxWorks 6.3? Mark Rivers
Re: Anyone tried connecting a client to a local server on vxWorks 6.3? Ralph Lange

Navigate by Date:
Prev: edm build issue S. Banerian
Next: RE: EPICS CA problems Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Anyone tried connecting a client to a local server on vxWorks 6.3? Ralph Lange
Next: edm build issue S. Banerian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 19 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·