Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Raspberry SD card read only mode.

lsislsis
2014-09-23
2019-11-13
<< < 1 2 3 (Page 3 of 3)
  • eschwellinger

    eschwellinger - 2017-11-10

    Hi,
    you mean only the fieldbus licenses are the problem or do you mean the plc license (2h Limitation)
    ist still not working?

    BR
    Edwin

     
  • adv - 2017-11-13

    Only the Profinet (and OPC-UA, which i dont use).... The Raspy was running through the weekend and i just logged in without problems... These are the warning and errors from the log (screenshot):

    EDIT:
    2nd screenshot with information entries... (note the "runtime licensed" entry at line 5...)

    P.S.: The timestamps are not correct, because the clock of the Pi are not set correctly (no RTC, no internet connection)...

    IMG: 13

    IMG: 13

     
  • eschwellinger

    eschwellinger - 2017-11-13

    Hi,
    license file 3S.dat is still not accessible...
    did you move/copy it from /etc/ to your new runtime location?
    BR
    Edwin

     
  • adv - 2017-11-13

    Yes!

    My new location is /media (mounted to the rw-partition):

    :/media# ls -la
    total 56
    drwxrwxrwx  5 root root  4096 Oct 29  2017 .
    drwxr-xr-x 25 root root  4096 Oct 26 08:53 ..
    -rw-r--r--  1 root root   158 Jan 19  2017 3S.dat
    -rw-------  1 root root    47 Sep  7 17:06 .bash_history
    -rw-r--r--  1 root root   570 Sep  7 17:06 .bashrc
    -rw-r--r--  1 root root   760 Oct 29  2017 CODESYSControl.cfg
    -rw-r--r--  1 root root   242 Oct 26 08:57 CODESYSControl_User.cfg
    drwx------  2 root root 16384 Sep  7 16:26 lost+found
    drwxr-xr-x  2 root root  4096 Sep  7 17:06 .nano
    drwxr-xr-x  3 root root  4096 Oct 26  2017 opt
    -rw-r--r--  1 root root   148 Sep  7 17:06 .profile
    

    I also tried both CODESYSControl.cfg:

    :/media# cat CODESYSControl.cfg
    [SysFile]
    FilePath.1=/etc/, 3S.dat
    FilePath.2=/media/, *.app, *.crc
    PlcLogicPrefix=1
    ...
    

    and

    :/media# cat CODESYSControl.cfg
    [SysFile]
    FilePath.1=/etc/,
    FilePath.2=/media/, *.app, *.crc, 3S.dat
    PlcLogicPrefix=1
    ...
    

    License dont work either...

     
  • eschwellinger

    eschwellinger - 2017-11-13

    Hi,
    this should work if the 3S.dat is in /etc

    [SysFile]
    FilePath.1=/etc/, 3S.dat
    FilePath.2=/media/, .app, .crc
    PlcLogicPrefix=1

    BR
    Edwin

     
  • adv - 2017-11-14

    Finally it woks! Thank you!

    But then your instructions are wrong Mr. Schwelliger?!

    You wrote:

    Zitat:
    6.add/change to /etc/CODESYSControl.cfg
    [SysFile]
    FilePath.1=/etc/, 3S.dat
    FilePath.2=/media/, .app, .crc

    I moved that files! Thats the reason because 3S.dat was not in /etc/ anymore...

    Also i did not understand why changing the CODESYSControl.cfg (see below) not worked?!

    :/media# cat CODESYSControl.cfg
    [SysFile]
    FilePath.1=/etc/,
    FilePath.2=/media/, *.app, *.crc, 3S.dat
    PlcLogicPrefix=1
    

    Anyhow, thank you for your support!

    Regards,
    adv

     
  • Carsten - 2018-06-22

    Hi all,

    ist this procedure still working with actual versions of codesys / Raspbian?

    I am experiencing a defective linux installation after power off, and would
    like to make the system read-only too. I am not, however, very familiar with
    linux systems.

     
  • syoma - 2018-07-04

    Also would like to see a final instruction for Raspberry to make it read only for all cases, or better include such option in Codesys Runtime for PI directly.

     
  • Andreas-K - 2019-11-13

    Dear Mr. Schwellinger

    Is there an instruction from start to finish available?
    Would be very interested since i want to use the RPi the same way with Codesys.

    Thank you very much.

    Andreas Kleiner

     
<< < 1 2 3 (Page 3 of 3)

Log in to post a comment.