Check that the firewall is also disabled on the Linux side.
$ chkconfig --list # or /bin/systemctl -t service
$ service iptables status # or /bin/systemctl status iptables
$ service iptables off # or /bin/systemctl status iptables.service
Also you can try to disable selinux (a reboot will be required)
cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
Good luck,
--
Emmanuel
Date: Tue, 2 Sep 2014 14:37:42 +0300
Subject: RE: Making two computers communicate.
From:
[email protected]To:
[email protected]CC:
[email protected]I managed to get them to work, I set the gateway of the Windows PC to link to Linux, and it works now, but it only eorks one way, Windows can read from Linux but Linux cannot read from Windows for whatever reason.
Thank you for the help!
On 2 Sep 2014 14:17, "Mark Rivers" <
[email protected]> wrote:
> and in my mind I just had to modify a variable for CA just to tell EPICS "send data here".
The EPICS client gets the data from EPICS PVs anywhere on the network, and it finds them automatically. You don't need to configure anything as long as the client and server are on the same subnet. You do need to make sure that there is only one PV of the same name anywhere on the subnet.
Perhaps you also have a Linux firewall (iptables) running?
Mark
________________________________
From: Vlad Andrei Rusu [[email protected]]
Sent: Tuesday, September 02, 2014 12:49 AM
To: Mark Rivers
Cc: [email protected]
Subject: Re: Making two computers communicate.
Sorry for the late response, I had some email issues last night and I was unable to respond.
Yes, one PC is running Windows x64 and one is running Scientific Linux x64, I have yet to decide which will be the host and which will be the client, I was thinking Linux should be the host and Windows the client but both of the hame the example IOC and example CA client installed.
I was thinking that connecting 2 PCs will be easier, just run the IOC as usual in a command line window ( bash or cmd ) and then make it so MEDM can read the data from the IOC that is running on the other PC through channel acces, and in my mind I just had to modify a variable for CA just to tell EPICS "send data here".
-----------------------------------------------------------------------------
Kind Regards
Rusu Vlad Andrei
T: (+004)0755.052.954
E: rus
[email protected]<mailto:[email protected]>
A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania
2014-09-01 16:50 GMT+03:00 Mark Rivers <[email protected]<mailto:[email protected]>>:
Hi,
You should not set any of the EPICS_CA_*ADDR* environment variables for that configuration. The client and server are on the same subnet, so the default settings are fine.
> I am currently trying to run the IOC on a PC and get the data on another PC,
This is not clear. Is one PC running Windows and the other running Linux? Which one is producing the data and which one would like to access the data? Are both of the PCs running an IOC or is one PC running an IOC and the other running some other software that produces the data? How does the computer that produces the data export that data? As a socket server, etc.?
Give us some more details and we can provide advice.
Mark
________________________________
From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Vlad Andrei Rusu [[email protected]<mailto:[email protected]>]
Sent: Monday, September 01, 2014 4:33 AM
To: [email protected]<mailto:[email protected]>
Subject: Making two computers communicate.
Hello
I am currently trying to run the IOC on a PC and get the data on another PC, both linked to the same switch. How should I run them? Windows should be the host and Linux the client? Also, to what should I modify the EPICS_CA_ADDR_LIST on the Host and on the Client? Should I make any more modifications?
Thank you in advance
-----------------------------------------------------------------------------
Kind Regards
Rusu Vlad Andrei
T: (+004)0755.052.954
E: [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania