<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Licensing an R-PI ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/</id><updated>2023-03-21T15:56:17.849000Z</updated><subtitle>Recent posts to Licensing an R-PI ?</subtitle><entry><title>Licensing an R-PI ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/?limit=25#28b9" rel="alternate"/><published>2023-03-21T15:56:17.849000Z</published><updated>2023-03-21T15:56:17.849000Z</updated><author><name>kennymillar</name><uri>https://forge.codesys.com/u/kennymillar/</uri></author><id>https://forge.codesys.com9d78eefa670770737446014b37d3b8616da09748</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I finally figured it out - the current R-PI Runtime isn't compatible with the latest Raspbian build. I got this working by downloading the Legacy build of raspbian and skipping the upgrade step. Now it works and I have the device licenced.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Licensing an R-PI ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/?limit=25#f9f2" rel="alternate"/><published>2023-03-21T11:53:48.169000Z</published><updated>2023-03-21T11:53:48.169000Z</updated><author><name>kennymillar</name><uri>https://forge.codesys.com/u/kennymillar/</uri></author><id>https://forge.codesys.com5a89b949385aafa678b3717671235cf89c358da5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The end of the /tmp/codesyscontro.log shows this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0, CmpBACnet 1024 BACstack information
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   version = 15.0.1.1
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   __BYTE_ORDER = 1234
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   TARGET_IEEE_FP_FORMAT = 1
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   TARGET_FP_BIG_ENDIAN = 0
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   TARGET_DP_BIG_ENDIAN = 0
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   TARGET_INTEGRAL_BIG_ENDIAN = 0
2023-03-21T11:51:38Z, 0x00000400, 1, 0, 0,   TARGET_USED_ALIGNMENT = 4
2023-03-21T11:51:38Z, 0x00000007, 1, 0, 6, Network interface: &lt;span class="nt"&gt;&amp;lt;ipaddress&amp;gt;&lt;/span&gt;192.168.1.89&lt;span class="nt"&gt;&amp;lt;/ipaddress&amp;gt;&lt;/span&gt;, subnetmask &lt;span class="nt"&gt;&amp;lt;subnetmask&amp;gt;&lt;/span&gt;255.255.255.0&lt;span class="nt"&gt;&amp;lt;/subnetmask&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000018, 1, 0, 4, Network interface &lt;span class="nt"&gt;&amp;lt;interface&amp;gt;&lt;/span&gt;ether 1&lt;span class="nt"&gt;&amp;lt;/interface&amp;gt;&lt;/span&gt; at router &lt;span class="nt"&gt;&amp;lt;instance&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/instance&amp;gt;&lt;/span&gt; registered
2023-03-21T11:51:38Z, 0x00000007, 1, 0, 6, Network interface: &lt;span class="nt"&gt;&amp;lt;ipaddress&amp;gt;&lt;/span&gt;192.168.1.176&lt;span class="nt"&gt;&amp;lt;/ipaddress&amp;gt;&lt;/span&gt;, subnetmask &lt;span class="nt"&gt;&amp;lt;subnetmask&amp;gt;&lt;/span&gt;255.255.255.0&lt;span class="nt"&gt;&amp;lt;/subnetmask&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000018, 1, 0, 4, Network interface &lt;span class="nt"&gt;&amp;lt;interface&amp;gt;&lt;/span&gt;ether 2&lt;span class="nt"&gt;&amp;lt;/interface&amp;gt;&lt;/span&gt; at router &lt;span class="nt"&gt;&amp;lt;instance&amp;gt;&lt;/span&gt;1&lt;span class="nt"&gt;&amp;lt;/instance&amp;gt;&lt;/span&gt; registered
2023-03-21T11:51:38Z, 0x00000009, 1, 0, 2, Running as network server
2023-03-21T11:51:38Z, 0x00000009, 1, 0, 1, Running as network client
2023-03-21T11:51:38Z, 0x0000000a, 1, 0, 0, &lt;span class="nt"&gt;&amp;lt;NumOfChannels&amp;gt;&lt;/span&gt;4&lt;span class="nt"&gt;&amp;lt;/NumOfChannels&amp;gt;&lt;/span&gt; channels available, each of the size &lt;span class="nt"&gt;&amp;lt;BufferSize&amp;gt;&lt;/span&gt;100000&lt;span class="nt"&gt;&amp;lt;/BufferSize&amp;gt;&lt;/span&gt; Bytes
2023-03-21T11:51:38Z, 0x00000129, 1, 0, 0, Debug Messages not activated
2023-03-21T11:51:38Z, 0x0000ff03, 1, 0, 0, Read connection settings...
2023-03-21T11:51:38Z, 0x00000030, 1, 0, 6, Local network address: &lt;span class="nt"&gt;&amp;lt;ipaddress&amp;gt;&lt;/span&gt;192.168.1.89&lt;span class="nt"&gt;&amp;lt;/ipaddress&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000018, 1, 0, 4, Network interface &lt;span class="nt"&gt;&amp;lt;interface&amp;gt;&lt;/span&gt;BlkDrvTcp&lt;span class="nt"&gt;&amp;lt;/interface&amp;gt;&lt;/span&gt; at router &lt;span class="nt"&gt;&amp;lt;instance&amp;gt;&lt;/span&gt;2&lt;span class="nt"&gt;&amp;lt;/instance&amp;gt;&lt;/span&gt; registered
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, No certificate for the OPC UA server available.
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, Security policy allows plain text communication. Secure communication is deactivated.
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, **************************************************************
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0,     OPC UA Server Started: 
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0,     Hostname: videopi, Port: 4840
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0,     URL: opc.tcp://videopi:4840
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0,     Loopbackadapter activated.
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0,     All available networkadapters are used.
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, **************************************************************
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, Provider 'CODESYS_DefaultProvider' (version 0x3051200) registered at the OPC UA server.
2023-03-21T11:51:38Z, 0x000000a6, 1, 0, 0, Not able to read file of Run/Stop switch. Functionality of component disabled
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 0, =========================================================================
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 4, CODESYS Control for Raspberry Pi SL
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 4, OS=Linux, CPU=ARM, Arch=32Bit, Coding=C
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 6, &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;3.5.18.40&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;builddate&amp;gt;&lt;/span&gt;Jan 23 2023&lt;span class="nt"&gt;&amp;lt;/builddate&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 5, Copyright CODESYS Development GmbH
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 0, =========================================================================
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, Provider 'AddressSpaceFragment Provider' (version 0x305121e) registered at the OPC UA server.
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, Provider 'OPC UA for IEC-61131-3' (version 0x305121e) registered at the OPC UA server.
2023-03-21T11:51:38Z, 0x00000124, 1, 0, 0, Provider 'AlarmManager' (version 0x305121e) registered at the OPC UA server.
2023-03-21T11:51:38Z, 0x00000018, 1, 0, 1, Setting router &lt;span class="nt"&gt;&amp;lt;instance&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/instance&amp;gt;&lt;/span&gt; address to &lt;span class="nt"&gt;&amp;lt;address&amp;gt;&lt;/span&gt;(0059)&lt;span class="nt"&gt;&amp;lt;/address&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000018, 1, 0, 1, Setting router &lt;span class="nt"&gt;&amp;lt;instance&amp;gt;&lt;/span&gt;1&lt;span class="nt"&gt;&amp;lt;/instance&amp;gt;&lt;/span&gt; address to &lt;span class="nt"&gt;&amp;lt;address&amp;gt;&lt;/span&gt;(00b0)&lt;span class="nt"&gt;&amp;lt;/address&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000018, 1, 0, 1, Setting router &lt;span class="nt"&gt;&amp;lt;instance&amp;gt;&lt;/span&gt;2&lt;span class="nt"&gt;&amp;lt;/instance&amp;gt;&lt;/span&gt; address to &lt;span class="nt"&gt;&amp;lt;address&amp;gt;&lt;/span&gt;(2ddc:c0a8:0159)&lt;span class="nt"&gt;&amp;lt;/address&amp;gt;&lt;/span&gt;
2023-03-21T11:51:38Z, 0x00000001, 1, 0, 34, CODESYS Control ready
2023-03-21T11:51:38Z, 0x00000001, 2, 0, 0, !!!! Warning: no runtime license - running in demo mode(~2 hours)
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;But still stops after jusyt 30 seconds. &lt;br/&gt;
I have rebooted the R-PI and get the same results.&lt;br/&gt;
Something is causing the runtime to terminate after just 30 seconds. Not sure what :-(&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Licensing an R-PI ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/?limit=25#f7cc" rel="alternate"/><published>2023-03-21T11:39:48.478000Z</published><updated>2023-03-21T11:39:48.478000Z</updated><author><name>kennymillar</name><uri>https://forge.codesys.com/u/kennymillar/</uri></author><id>https://forge.codesys.com5283049e0841917af0984ab16dd801ffbb124f79</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your quick reply.&lt;br/&gt;
Using TOP I &lt;em&gt;think&lt;/em&gt; can see what is happening.&lt;br/&gt;
The runtime starts when I use CODESYS on my WIndows PC to start it on the R-PI, but it only runs for a short while (about 35 seconds or so).&lt;/p&gt;
&lt;p&gt;I captured the system log on the PI during a full cylce (from pressing start in CODESYS to it terminating on the PI) which shows this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;Mar 21 11:34:29 videopi sshd[8593]: Accepted publickey for kenny from 192.168.1.140 port 52664 ssh2: RSA SHA256:C5IrEO5dDzwORd/kGPoJH69xym0c35CTeQUUJmZggao&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:29 videopi sshd[8593]: pam_unix(sshd:session): session opened for user kenny(uid=1000) by (uid=0)&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:29 videopi systemd-logind[415]: New session 78 of user kenny.&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:29 videopi systemd[1]: Started Session 78 of user kenny.&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:30 videopi sudo[8604]:    kenny : PWD=/home/kenny ; USER=root ; COMMAND=/usr/bin/date&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:30 videopi sudo[8604]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:30 videopi sudo[8604]: pam_unix(sudo:session): session closed for user root&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:30 videopi sudo[8607]:    kenny : PWD=/home/kenny ; USER=root ; COMMAND=/etc/init.d/codesyscontrol start&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:30 videopi sudo[8607]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:31 videopi sudo[8607]: pam_unix(sudo:session): session closed for user root&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:31 videopi sshd[8599]: Received disconnect from 192.168.1.140 port 52664:11: Connection terminated by the client.&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:31 videopi sshd[8599]: Disconnected from user kenny 192.168.1.140 port 52664&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:31 videopi sshd[8593]: pam_unix(sshd:session): session closed for user kenny&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:34:31 videopi systemd-logind[415]: Session 78 logged out. Waiting for processes to exit.&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:35:07 videopi systemd[1]: session-78.scope: Succeeded.&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:35:07 videopi systemd[1]: session-78.scope: Consumed 9.991s CPU time.&lt;/span&gt;
&lt;span class="err"&gt;Mar 21 11:35:07 videopi systemd-logind[415]: Removed session 78.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The runtime gets stopped when the session gets cleaned up. Hmm. &lt;br/&gt;
I'm not sure what's going on there. There's nothign else in the system log to indicate why the runtime won't stay running. I will try to see if I can start it manually on the PI.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Licensing an R-PI ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/?limit=25#90b0" rel="alternate"/><published>2023-03-20T19:41:15.130000Z</published><updated>2023-03-20T19:41:15.130000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com24eb329ea5b599df871732ca0f4d39194babb735</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Are you sure that the runtime is still up and running?&lt;br/&gt;
check with ssh and 'top'.&lt;br/&gt;
If so I would install the edge gateway on your PI and add this to CODESYS..as Gateway 2 and try to license that way.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Licensing an R-PI ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5fae8efc33/?limit=25#e05d" rel="alternate"/><published>2023-03-20T18:56:48.295000Z</published><updated>2023-03-20T18:56:48.295000Z</updated><author><name>kennymillar</name><uri>https://forge.codesys.com/u/kennymillar/</uri></author><id>https://forge.codesys.comdff574c5206e45375117445c6e51835da8d7511a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've followed all the steps to set up the Rapberry PI Runtime on an R-PI.&lt;br/&gt;
In Codesys v3.5 SP18 I can see my PI and "System Info" shows that all is well.&lt;/p&gt;
&lt;p&gt;Now I am trying to install the licence for the PI that I just bought. &lt;br/&gt;
Folling the instructions online I bring up the licence manager, select Device, then Softcontainer. When the "Select Device" dialog appears, I cannot see my R-PI.&lt;/p&gt;
&lt;p&gt;I see one Gateway "Gateway-1" and when I click "Scan network" nothign is found.&lt;/p&gt;
&lt;p&gt;Yet, I can see my Raspberry PI in the "Raspberry PI" tab and "System Info" etc all return valid results.&lt;/p&gt;
&lt;p&gt;How can I find my device in "Licence manager" ? &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>