You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,17 +49,17 @@ Download a preview or release of the Adapters directly from [Vector SIL Kit Adap
49
49
50
50
If not already existent on your system you should also download a SIL Kit Release directly from [Vector SIL Kit Releases](https://github.com/vectorgrp/sil-kit/releases). You will need this for being able to start a sil-kit-registry.
51
51
52
-
## Install the SilKitAdapterTap (optional)
52
+
## Install the sil-kit-adapter-tap (optional)
53
53
Be aware that SIL Kit itself also needs to be installed to run the adapter.
54
54
55
-
Run the following command to install the SilKitAdapterTap (can be done for self build and pre build package after cmake configure):
55
+
Run the following command to install the sil-kit-adapter-tap (can be done for self build and pre build package after cmake configure):
56
56
57
57
58
58
### Linux installation
59
59
60
60
sudo cmake --build build --target install
61
61
62
-
**Note:** After installing the adapter on Linux, the following command ``SilKitAdapterTap`` can be called from everywhere without defining a path. The default installation path will be ``/usr/local/bin``.
62
+
**Note:** After installing the adapter on Linux, the following command ``sil-kit-adapter-tap`` can be called from everywhere without defining a path. The default installation path will be ``/usr/local/bin``.
63
63
64
64
### Windows installation
65
65
@@ -70,20 +70,20 @@ Run the following command to install the SilKitAdapterTap (can be done for self
70
70
**Note 2:** The default installation path will be ``C:\Program Files\Vector SIL Kit Adapters TAP <TAP_ADAPTER_VERSION>``, with <TAP_ADAPTER_VERSION> as the version of the TAP adapter you install.
71
71
Depending on your system this default path can be ``Program Files (x86)``.
72
72
73
-
## Run the SilKitAdapterTap
73
+
## Run the sil-kit-adapter-tap
74
74
This application allows the user to attach a TAP device of a Linux or Windows system to the Vector SIL Kit.
75
75
76
76
Before you start the adapter there always needs to be a sil-kit-registry running already. Start it e.g. like this:
It is also necessary that the TAP device exists before the ``SilKitAdapterTap`` is started.
80
+
It is also necessary that the TAP device exists before the ``sil-kit-adapter-tap`` is started.
81
81
82
-
**Hint:** If your TAP device has been created by a third party application (you want the SIL Kit to connect to) it is possible that this TAP device resource is 'flagged' as busy/blocked. In this case you just can create another TAP device for usage with the ``SilKitAdapterTap`` by yourself and bridge (``brctl`` on Linux, ``netsh bridge`` on Windows) it with the TAP device of your third party application.
82
+
**Hint:** If your TAP device has been created by a third party application (you want the SIL Kit to connect to) it is possible that this TAP device resource is 'flagged' as busy/blocked. In this case you just can create another TAP device for usage with the ``sil-kit-adapter-tap`` by yourself and bridge (``brctl`` on Linux, ``netsh bridge`` on Windows) it with the TAP device of your third party application.
83
83
84
84
The application *optionally* takes the following command line arguments (default between curly braces):
Copy file name to clipboardExpand all lines: tap/demos/DemoLinux/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Ethernet Demo and Adapter Setup
2
-
This demo consists of a TAP device "silkit_tap" which is connected to the SIL Kit via ``SilKitAdapterTap`` as a SIL Kit participant. In a second step this TAP device is moved to a Linux network name space and gets a IP configured which is in the same range as the one of the ``SilKitDemoEthernetIcmpEchoDevice``. The Linux ping application is used within this created network name space to ping ``SilKitDemoEthernetIcmpEchoDevice`` through the TAP device via SIL Kit. The application ``SilKitDemoEthernetIcmpEchoDevice``, which is a SIL Kit participant as well, will reply to an ARP request and respond to ICMPv4 echo requests.
2
+
This demo consists of a TAP device "silkit_tap" which is connected to the SIL Kit via ``sil-kit-adapter-tap`` as a SIL Kit participant. In a second step this TAP device is moved to a Linux network name space and gets a IP configured which is in the same range as the one of the ``sil-kit-demo-ethernet-icmp-echo-device``. The Linux ping application is used within this created network name space to ping ``sil-kit-demo-ethernet-icmp-echo-device`` through the TAP device via SIL Kit. The application ``sil-kit-demo-ethernet-icmp-echo-device``, which is a SIL Kit participant as well, will reply to an ARP request and respond to ICMPv4 echo requests.
3
3
4
4
The following sketch shows the general setup:
5
5
@@ -19,7 +19,7 @@ The following sketch shows the general setup:
This demo application implements a very simple SIL Kit participant with a single simulated ethernet controller.
24
24
The application will reply to an ARP request and respond to ICMPv4 Echo Requests directed to it's hardcoded MAC address
25
25
(``52:54:56:53:4B:55``) and IPv4 address (``192.168.7.35``).
@@ -29,20 +29,20 @@ The application will reply to an ARP request and respond to ICMPv4 Echo Requests
29
29
30
30
## Running the Demo Applications
31
31
32
-
Now is a good point to start the ``sil-kit-registry``, the ``SilKitDemoEthernetIcmpEchoDevice`` and the demo helper script ``start_adapter_and_ping_demo`` - which creates the TAP device, connects it to the adapter and afterwards adds it to the network namespace and starts pinging the echos device from there - in separate terminals:
32
+
Now is a good point to start the ``sil-kit-registry``, the ``sil-kit-demo-ethernet-icmp-echo-device`` and the demo helper script ``start_adapter_and_ping_demo`` - which creates the TAP device, connects it to the adapter and afterwards adds it to the network namespace and starts pinging the echos device from there - in separate terminals:
The applications will produce output when they send and receive Ethernet frames from the TAP device or the Vector SIL Kit. The console output of ``SilKitAdapterTap`` is redirected to ``./bin/SilKitAdapterTap.out``.
40
+
The applications will produce output when they send and receive Ethernet frames from the TAP device or the Vector SIL Kit. The console output of ``sil-kit-adapter-tap`` is redirected to ``./bin/sil-kit-adapter-tap.out``.
41
41
42
42
## ICMP Ping and Pong
43
43
The ping requests should all receive responses.
44
44
45
-
You should see output similar to the following from the ``SilKitDemoEthernetIcmpEchoDevice`` application:
45
+
You should see output similar to the following from the ``sil-kit-demo-ethernet-icmp-echo-device`` application:
sleep 1 # wait 1 second for the creation/existense of the .out file
26
26
27
-
timeout 30s grep -q 'Press CTRL + C to stop the process...'<(tail -f /$SCRIPT_DIR/../CANoe4SW_SE/SilKitAdapterTap.out)|| (echo "[error] Timeout reached while waiting for SilKitAdapterTap to start";exit 1;)
28
-
echo"SilKitAdapterTap has been started"
27
+
timeout 30s grep -q 'Press CTRL + C to stop the process...'<(tail -f /$SCRIPT_DIR/../CANoe4SW_SE/sil-kit-adapter-tap.out)|| (echo "[error] Timeout reached while waiting for sil-kit-adapter-tap to start";exit 1;)
28
+
echo"sil-kit-adapter-tap has been started"
29
29
30
30
# Hint: It is important to establish the connection to the the adapter before moving the tap device to its separate namespace
31
31
echo"Moving tap device 'silkit_tap' to network namespace 'tap_demo_ns'"
Copy file name to clipboardExpand all lines: tap/demos/DemoWindows/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Ethernet Demo and Adapter Setup
2
-
This demo consists of a TAP device "silkit_tap" which is connected to the SIL Kit via ``SilKitAdapterTap`` as a SIL Kit participant. This TAP device gets
3
-
a IP configured which is in the same range as the one of the ``SilKitDemoEthernetIcmpEchoDevice``.
4
-
The Windows ping application is used to ping ``SilKitDemoEthernetIcmpEchoDevice`` through the TAP device via SIL Kit.
5
-
The application ``SilKitDemoEthernetIcmpEchoDevice``, which is a SIL Kit participant as well, will reply to an ARP request and respond to ICMPv4 echo requests.
2
+
This demo consists of a TAP device "silkit_tap" which is connected to the SIL Kit via ``sil-kit-adapter-tap`` as a SIL Kit participant. This TAP device gets
3
+
a IP configured which is in the same range as the one of the ``sil-kit-demo-ethernet-icmp-echo-device``.
4
+
The Windows ping application is used to ping ``sil-kit-demo-ethernet-icmp-echo-device`` through the TAP device via SIL Kit.
5
+
The application ``sil-kit-demo-ethernet-icmp-echo-device``, which is a SIL Kit participant as well, will reply to an ARP request and respond to ICMPv4 echo requests.
6
6
7
7
The following sketch shows the general setup:
8
8
@@ -22,7 +22,7 @@ The following sketch shows the general setup:
0 commit comments