1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: caget from win failed when xspress3 |
From: | "Yin, Zhijian via Tech-talk" <tech-talk at aps.anl.gov> |
To: | tech-talk <tech-talk at aps.anl.gov>, lynn <lynn0703 at yeah.net>, Mark Rivers <rivers at cars.uchicago.edu> |
Date: | Wed, 14 Jun 2023 16:45:43 +0000 |
Hi, Lynn,
We've have similar problem with xspress3 in the past: the vendor's PC (and ioc) was limiting ca traffic to localhost.
I don't know your set up, but you may want to check /etc/profile.d/epics.sh, if there is a line like below
export EPICS_CAS_INTF_ADDR_LIST=localhost
comment it out
ZY
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, June 14, 2023 12:36 PM To: tech-talk <tech-talk at aps.anl.gov>; lynn <lynn0703 at yeah.net> Subject: Re: caget from win failed when xspress3
Hi Lynn,
This sounds like a firewall problem. You said "firewall was closed". What firewall are you referring to? It could be either
the Linux firewall or the Windows firewall. To begin with I suggest completely disabling both firewalls. If the firewall is the problem then re-enable them with rules to allow EPICS traffic to pass.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of lynn via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, June 14, 2023 6:53 AM To: tech-talk <tech-talk at aps.anl.gov> Subject: caget from win failed when xspress3 Hi,
I met an question about caget.
The situatuion was like
https://epics.anl.gov/tech-talk/2019/msg01836.php. I try a lot, but i still failed.
I have 2 pc, first one was xspress Linux pc, which provided by the manufacturer; the second was a windows pc.
The linux pc( xspress pc ): there are two NIC and one wireless, one NIC is 192.168.0.2 for device1 , another NIC is 192.168.2.31(for epics)
The windows pc: one wireless and one NIC:192.168.2.30( 255.255.255.0, gateway:192.168.2.1 and no gateway neither could worke )
192.168.2.30 and 192.168.2.31 was in same router, just has the two cables in the router.
Device connection was good, firewall was closed, IOC was good and started, pv name was right and i could caget from the linux pc itself.
I set both pc the environment to YES or NO/localhost or NO/192.168.2.31or NO/192.168.2.255. None could work.
epics> epicsPrtEnvParams
I don't think it was a big question, but i do failed. After so many failed, maybe it's the question about network setting, so i put the setting bellow.
These thing has lagued me.
Could someone give me some advice.
EPICS_CA_ADDR_LIST: localhost
EPICS_CA_CONN_TMO: 30.0 EPICS_CA_AUTO_ADDR_LIST: NO EPICS_CA_REPEATER_PORT: 5065 EPICS_CA_SERVER_PORT: 5064 EPICS_CA_MAX_ARRAY_BYTES: 6000000 EPICS_CA_MAX_SEARCH_PERIOD: 300.0 EPICS_CA_NAME_SERVERS is undefined EPICS_CAS_INTF_ADDR_LIST: localhost EPICS_CAS_IGNORE_ADDR_LIST is undefined EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined EPICS_CAS_BEACON_ADDR_LIST is undefined EPICS_CAS_SERVER_PORT is undefined EPICS_CA_BEACON_PERIOD: 15.0 EPICS_CAS_BEACON_PERIOD is undefined EPICS_CAS_BEACON_PORT is undefined EPICS_TIMEZONE: CST/CDT::360:030802:110102 EPICS_TS_NTP_INET is undefined EPICS_IOC_LOG_PORT: 7004 EPICS_IOC_LOG_INET is undefined EPICS_IOC_LOG_FILE_LIMIT: 1000000 EPICS_IOC_LOG_FILE_NAME is undefined EPICS_IOC_LOG_FILE_COMMAND is undefined EPICS_CMD_PROTO_PORT is undefined EPICS_AR_PORT: 7002 IOCSH_PS1: epics> IOCSH_HISTSIZE: 50 set:
C:\Users\dell>set
CATOOLS=C:\Program Files (x86)\National Instruments\LabVIEW 2022\user.lib\caLab\lib EPICS_CA_AUTO_ADDR_LIST=YES EPICS_CA_MAX_ARRAY_BYTES=6000000 EPICS_HOST_ARCH=windows-x64 enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.31 netmask 255.255.255.0 broadcast 192.168.2.255 inet6 fe80::201:2eff:fea3:132d prefixlen 64 scopeid 0x20<link> ether 00:01:2e:a3:13:2d txqueuelen 1000 (Ethernet) RX packets 1124 bytes 101271 (98.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 2194 bytes 108450 (105.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 ether 00:01:2e:a3:13:2e txqueuelen 1000 (Ethernet) RX packets 1253 bytes 159935 (156.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1244 bytes 434296 (424.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 30655 bytes 2448058 (2.3 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 30655 bytes 2448058 (2.3 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 ether 52:54:00:36:41:17 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.10.21 netmask 255.255.255.0 broadcast 192.168.10.255 inet6 fe80::83c1:3539:d0ad:203f prefixlen 64 scopeid 0x20<link> ether 68:54:5a:8a:07:e6 txqueuelen 1000 (Ethernet) RX packets 91427 bytes 11020700 (10.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 123470 bytes 50140843 (47.8 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 C:\user\Dell> ipconfig
Ethernet 2:
192.168.2.30 255.255.255.0 192.168.2.1 WLAN: 192.168.10.11 255.255.255.0 192.168.10.1 and type: casr 1
Channel Access Server V4.13
No clients connected.
Regards,
Lynn
|