Forum Home › Forums › Rapid SCADA on Linux Controllers and Raspberry Pi › step by step method to upload files to raspberry pi
Tagged: raspberry pi
- This topic has 6 replies, 2 voices, and was last updated 4 years ago by tshoman.
-
AuthorPosts
-
April 5, 2020 at 3:59 am #6689tshomanParticipant
Using RapidScada 5.8, after configuring the project on Windows what would be the steps to tranfer files to Raspberry Pi 3. The following method I see described in the forum so far seems to be an old method, and no longer recommended.
i.e transfer files as follows:
C:\SCADA\BaseDAT
C:\SCADA\Interface
C:\SCADA\ScadaComm\Config
C:\SCADA\ScadaServer\Config except ScadaServerSvcConfig.xml
C:\SCADA\ScadaWeb\configWhat are steps in the new method. Which files are to be copied.
April 5, 2020 at 10:11 am #6691MikhailModeratorIn Rapid SCADA v5.8 it’s easy to transfer the configuration.
You should create a new deployment profile in Administrator. Set RPi’s IP address and other profile parameter. Then upload the configuration to RPi. Don’t forget that in Linux you need different directories for SCADA-Server. Before switching from Windows to Linux, change the directories in Server configuration (using Administrator).April 5, 2020 at 4:47 pm #6692tshomanParticipantThanks for response Mikhail
I managed to create the deployment profile. However, upon testing there is an error – Unable to Login-Invalid Usernane or password. I tried 2 different username/password 1) default login for scada (admin) and 2) default for Rpi (pi) both cannot login. I also left the port number as is (10002).
As for the secret key, should I click to generate one automatically or I can type my own key.
Anything I’m doing wrong.
Regards.
April 6, 2020 at 11:37 am #6698MikhailModeratorIn RPi find the file /opt/scada/ScadaAgent/Config/ScadaAgentConfig.xml
The secret key in the file must be the same as the secret key in the configuration profile.In Administrator you should export the User table to user.dat and copy to /opt/scada/BaseDAT
To get more info about error, see /opt/scada/ScadaAgent/Log/ScadaAgent.log
April 6, 2020 at 2:38 pm #6703tshomanParticipantHi Mikhail
I followed all the steps above:
1) copied secret key from /opt/scada/ScadaAgent/Config/ScadaAgentConfig.xml and pasted it in profile.
2) Generated (exported) user.dat from Scada Admin in Windows and saved it to Rpi in /opt/scada/BaseDAT
I still can’t login and the error generated now is Insuffient rightds. I’m logging in with default login for scada ( i.e admin ) which I have not changed.
The error log is pasted below. Please advice me how to proceed. Regards.
2020-04-05 18:49:11 <raspberrypi><root><ACT> Agent 5.0.2.0 started
2020-04-05 18:49:15 <raspberrypi><root><ACT> WCF service is started at http://localhost:10002/ScadaAgent/ScadaAgentSvc/
2020-04-05 18:49:15 <raspberrypi><root><ACT> Start logic processing
2020-04-06 16:20:01 <raspberrypi><root><ACT> Session with ID -5008235423191582206 created
2020-04-06 16:20:02 <raspberrypi><root><ERR> User pi failed validation to connect to Default – Invalid username or password
2020-04-06 16:20:32 <raspberrypi><root><ACT> Session with ID 5394815069474664172 created
2020-04-06 16:20:32 <raspberrypi><root><ERR> User admin failed validation to connect to Default – Insufficient rights
2020-04-06 16:20:41 <raspberrypi><root><ACT> Session with ID -3896198060526525543 created
2020-04-06 16:20:41 <raspberrypi><root><ERR> User admin failed validation to connect to Default – Insufficient rights
2020-04-06 16:25:36 <raspberrypi><root><ACT> Session with ID -329630652190660358 created
2020-04-06 16:25:36 <raspberrypi><root><ERR> User admin failed validation to connect to Default – Insufficient rights
2020-04-06 16:27:34 <raspberrypi><root><ACT> WCF service is stopped
2020-04-06 16:27:34 <raspberrypi><root><ACT> All temporary files deleted
2020-04-06 16:27:34 <raspberrypi><root><ACT> Logic processing is stopped
2020-04-06 16:27:34 <raspberrypi><root><ACT> Agent is stopped
——————————————————————————–
——————————————————————————–
2020-04-06 16:27:51 <raspberrypi><root><ACT> Agent 5.0.2.0 started
2020-04-06 16:27:53 <raspberrypi><root><ACT> WCF service is started at http://localhost:10002/ScadaAgent/ScadaAgentSvc/
2020-04-06 16:27:53 <raspberrypi><root><ACT> Start logic processing
2020-04-06 16:28:47 <raspberrypi><root><ACT> Session with ID 468270691277926380 created
2020-04-06 16:28:48 <raspberrypi><root><ERR> User admin failed validation to connect to Default – Insufficient rightsApril 7, 2020 at 8:59 am #6706MikhailModeratorHi,
You should use ScadaAdmin user to connect. Check that ScadaAdmin exists in the Users table.
April 7, 2020 at 3:25 pm #6714tshomanParticipantHi Mikhail
Everything works now ! . Thanks for your help.
Regards.
-
AuthorPosts
- You must be logged in to reply to this topic.