Hi, for a research project I would love to find a way of running an EtherCAT Slave where the Cifx0 Interface is detected (like in the Ethernet-Lan package). With an detected interface, it's possible to capture the communication of a running PLC. The goal is to analyse the traffic and provide it to an OPC server, for IoT applications.
I have already tried to combine the Programming-examples packgage with the Ethernet-Lan package, because the first one provides me an EtherCAT slave, and the second one creates the cifx0 interface with its cifx0deamon skript. The problem that occured was that the cifx0deamon skript did not work with the EtherCAT firmware package installed.
A different approach was combining the Codesys package with the Ethernet-Lan package, with the result of having a capturable interface, but CODESYS does not support creating a EtherCAT slave. I was able to capture the PLC communication with that setup, using wireshark.
Do you think, there is a possible way to create an EtherCAT slave that can capture the network traffic of the cifx0 interface in this way?
How can I check if I have latest firmware installed on my device? In the control panel area on menu “System -> Info Center” I can see that V1.1.0.0 is installed. See screenshot:
And if there is a newer version available, how can I update? Respectively is there a website that describes the update procedure? There is no description in https://www.netiot.com/fileadmin/user_up..._01_EN.pdf regarding this topic.
You all know the tile Control Panel in netPI's web GUI you click on to make a basic setup.
But what is if you want to configure those settings from remote over Ethernet instead of using mouse and keyboard? Or even better from a container running on netPI ?
All you need to know is how to access the Control Panel's HTTP RESTful API. Here is the example if you want to do it from a container:
STEP 1: Load the Raspbian container from here onto netPI.
Choosing the network mode host or bridge decides on the destination IP address you have to address later
For network mode host (container shares TCP/IP stack of host) use the "localhost" IP address 127.0.0.1 as <IP address>
For network mode bridge (container has its own TCP/IP stack, bridge by a bridge) use the "docker0" bridge default IP address 172.17.0.1 as <IP address>
STEP 2: Login to this container with a terminal over SSH as described in the container's documentation.
STEP 3: Install the http CLI command (or any other command like curl supporting http requests) in the container with
Today we have no full documentation of the RESTful API ready for you.
Instead I recommend to use web browsers like Firefox or Google Chrome to analyse the RESTful API using "development sessions" like the appended picture shows.
Both browsers can record with their embedded network traffic analyser the HTTP requests they are sending during your manual mouse click/keyboard sessions you can analyse afterwards in terms of web page, http header, cookie, parameters .... Then you can construct exactly the same requests with the http CLI command (or any other HTTP capable program) as shown above.
Hello,
is it possible to run a mysql server on the netpi?
I thought it should be possible to install it in another container, but i'm always getting some errors.
In my case, its kinda difficult to understand how to install the hypriot/rpi-mysql without having a command line..
If its possible - how to connect to it from another container? (write data from node-red in a table)
Posted by: Armin@netPI - September-4th-2018, 09:26 AM - Forum: Projects
- No Replies
The OpenPLC Project is a IEC 61131-3 compatible open source PLC. We feel it fits best to the netPI concept. This is why we released a container with the OpenPLC V3 runtime included to allow users to benefit from this function in own projects.
Read on for more info in the documentation of the provided container here.
hello,
since i enabled WIFI as Access Point, i cant connect to the netPI.
First (after enabled wifi), i just couldnt connect per LAN but Wifi worked (for a short time) but as soon as i tried to disable wifi - connection got lost and i was not able to reconnect (i'm still able to connect to the wifi but i cannot access gateway manager) .
The wifi connection says limited access and i get ERR_CONNECTION_TIMED_OUT when trying to access the manager.
I hope there's a way to fix it without loading a new system image..
i have two USB serial devices and i want to use them in two containers. One device is a normal arduino uno and the other device is a zebra barcode scanner.
Now i tried to connect them and i dont see the /dev/ devices in my container.
I used the following image: hilschernetpi/netpi-debian-stretch with privileged mode enabled.
In "dmesg" i see the devices plugged in and discovered right, but no dev device.
How can i make it work?
You all know netPI's Docker web GUI portainer.io. But most of you haven't recognized that portainer.io offers a RESTful API to take control of it from remote. All that is needed is a HTTP capable client that is addressing the API function over REST.
To make it simple to understand how it works I created a Node-RED (includes a HTTP client) based flow, that shows how to login, how to list containers, images, how to pull an image, create a container, start and stop it and ALSO how to push a container from netPI back to Dockerhub for example.
Find appended the Node-RED flow you can test yourself: Load the flow.txt file to an editor and copy its content to the clipboard and import it with "import/clipboard" in Node-RED's the top right menu pane. It is compatible with netPI's currently used portainer version 1.12.4.