<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/</id><updated>2020-07-17T12:05:39.727000Z</updated><subtitle>Recent posts to Gateway für Linux</subtitle><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#fc61" rel="alternate"/><published>2020-07-17T12:05:39.727000Z</published><updated>2020-07-17T12:05:39.727000Z</updated><author><name>e60newbie</name><uri>https://forge.codesys.com/u/e60newbie/</uri></author><id>https://forge.codesys.com5c47cdc6b6d2bcbb2f5394595f54a23e76393e6b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo, hätte noch eine Frage bezüglich Gateway in der letzten Version. Wurde es behoben dass das Gateway nur mit CAN0 im Linux läuft? Ich hatte mal einen Post gemacht (war noch vor umstellen des Forums) wo dies nicht möglich war. Bekomme dies aber mit der Aktuellen Version auch nicht ans laufen; habe CAN1 und CAN2 am Device, wenn diese umgestellt werden auf CAN0 und CAN1 läuft es auf anhieb mit CAN0.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#2e05" rel="alternate"/><published>2020-02-28T01:13:36.063000Z</published><updated>2020-02-28T01:13:36.063000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comee9f63e1b3ac22955810881b56469b9b483589ca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; e60newbie&lt;/p&gt;
&lt;p&gt;mein rts_set_baud.sh&lt;/p&gt;
&lt;p&gt;sieht genau so aus wie deines, auch wenn es mit Peak genutzt wird. Mit dem Peak geht es ja ohne Probleme. Nur nicht auf der anderen Hardware mit Debian Image und Hardware seitigen CAN.&lt;/p&gt;
&lt;p&gt;Die Debian Hardware ist kein Raspberry, das ist ein Modul mit ARM Chipsatz und Vollwertigen Debian 9.&lt;br/&gt;
Du kannst es dir auch gern Live ansehen und testen auf meinem PC über eine Remote Verbindung wenn du möchtest, habe ich nichts gegen.&lt;/p&gt;
&lt;p&gt;Gib einfach Bescheid und ich baue beide Systeme soweit lauffähig auf.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#8e53" rel="alternate"/><published>2020-02-28T01:13:34.227000Z</published><updated>2020-02-28T01:13:34.227000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc9c0619ea80ebb59e43ec356c1d862b99eeaaa91</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;schau mal in /opt/codesys/scripts &lt;/p&gt;
&lt;p&gt;rts_set_baud.sh&lt;/p&gt;
&lt;p&gt;#!/bin/sh&lt;br/&gt;
BITRATE=&lt;code&gt;expr $2 \\* 1000&lt;/code&gt;&lt;br/&gt;
ifconfig $1 down&lt;br/&gt;
echo ip link set $1 type can bitrate $BITRATE&lt;br/&gt;
ip link set $1 type can bitrate $BITRATE&lt;br/&gt;
ifconfig $1 up&lt;/p&gt;
&lt;p&gt;passt das du deinem Peak, denke da müsste was mit pcan usw.. das hier ist ja für den Raspberry PI CAN hier.&lt;/p&gt;
&lt;p&gt;Ist beim PI alles im Kernel drin so das ich das einfach mit aktuellem Rasbian mal testen kann oder hat du mir ne kurze Anleitung/Link wie man das an rennen bekommt?&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#8b69" rel="alternate"/><published>2020-02-28T01:13:29.140000Z</published><updated>2020-02-28T01:13:29.140000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com4d320644ed3b9415c50136a1b90bd7b23a9582f5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; e60newbie&lt;/p&gt;
&lt;p&gt;Vielen Dank,&lt;/p&gt;
&lt;p&gt;bei mir gibt es 2 can Schnittstellen. CAN1 und CAN2 (ACHTUNG, nicht 0+1). Es ist aber völlig egal ob in der Config hier dann net ID 0 oder 1 verwendet wird, der Fehler bleibt.&lt;/p&gt;
&lt;p&gt;einen Gruß&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#a5a4" rel="alternate"/><published>2020-02-28T01:13:27.321000Z</published><updated>2020-02-28T01:13:27.321000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf867fef7af8fbb14e75f0d62d6a88dd15b69650f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
ah.. jetz war blind...!&lt;/p&gt;
&lt;p&gt;BlockDriverCanClient Instance &amp;lt;instance&amp;gt;0&amp;lt;/instance&amp;gt;: Could not open CAN interface on NetID &amp;lt;netid&amp;gt;1&amp;lt;/netid&amp;gt;!&lt;/p&gt;
&lt;p&gt;das ist das Problem. Ich checks mal... dauert noch ein wenig.&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#cc82" rel="alternate"/><published>2020-02-28T01:13:22.216000Z</published><updated>2020-02-28T01:13:22.216000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comfa362a4bbc2a56f8335caa13558583b6378e8e91</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; e60newbie&lt;/p&gt;
&lt;p&gt;Hallo Edwin,&lt;/p&gt;
&lt;p&gt;Log hatte ich zuvor bereits angehängt. Ich musste es umbenennen, sonst durfte ich es nicht einfügen.&lt;br/&gt;
Steht nur:&lt;br/&gt;
Linux version 4.14.67-1.0.7+ (owzafs@PCOWZAFS) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02)) #52 SMP PREEMPT Wed May 29 09:50:48 CEST 2019&lt;/p&gt;
&lt;p&gt;Ich hänge mal ein komplettes System Log ab Boot an, wo ich "cat" von codesysedge.log und codesysedge_debug.log gemacht habe.&lt;/p&gt;
&lt;p&gt;Der Fehler ist geblieben beim Booten. Auch wenn man den Service mehrfach stoppet und startet sagt die Konsole dass der Service mit Fehler beendet wurde.&lt;/p&gt;
&lt;p&gt;einen Gruß&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2342" rel="nofollow"&gt;System Log.txt &lt;span&gt;&lt;span&gt;[17.77 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#e642" rel="alternate"/><published>2020-02-28T01:13:20.408000Z</published><updated>2020-02-28T01:13:20.408000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com5dfed817f328c1f2abc95f4672aff900ae74fb1a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
das start problem ist mit nächster version behoben,&lt;br/&gt;
würde dir ne vorabversion schicken.&lt;/p&gt;
&lt;p&gt;Mach mal noch ein &lt;br/&gt;
cat /tmp/codesysedge.log&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#9b2c" rel="alternate"/><published>2020-02-28T01:13:18.568000Z</published><updated>2020-02-28T01:13:18.568000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com2b02a7223d5434f8b5da0b742548e756c8b97f85</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; e60newbie&lt;/p&gt;
&lt;p&gt;Hallo Edwin,&lt;/p&gt;
&lt;p&gt;im File ist da nicht viel drinnen... siehe selbst.&lt;/p&gt;
&lt;p&gt;es kommt auch beim hoch booten ein fehler, dass das Gateway nicht gestartet werden kann. Dann stoppen und starten und läuft wieder. Manchmal kommt da auch ein Fehler auf der Konsole:&lt;br/&gt;
root@arm:/home/debian# systemctl start codesysedge.service&lt;br/&gt;
Job for codesysedge.service failed because the control process exited with error code.&lt;br/&gt;
See "systemctl status codesysedge.service" and "journalctl -xe" for details.&lt;/p&gt;
&lt;p&gt;die TCP geschichte funktioniert am Gateway, nur halt CAN nicht (was ich benötige).&lt;/p&gt;
&lt;p&gt;Ich muss am Modul den CAN erst starten wenn das Ding gebootet hat, standard ist dieser nicht aktiv, sollte aber egal sein wenn ich den Dienst dann neu starte oder?&lt;/p&gt;
&lt;p&gt;einen Gruß&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: failed.JPG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=2341"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2340" rel="nofollow"&gt;codesysedge_debug.txt &lt;span&gt;&lt;span&gt;[147 Bytes]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2339" rel="nofollow"&gt;codesysedge.txt &lt;span&gt;&lt;span&gt;[22.16 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#e7f1" rel="alternate"/><published>2020-02-28T01:13:13.508000Z</published><updated>2020-02-28T01:13:13.508000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com01a0a7fe0fbbfb0de84f55397c4e1848fc93e07b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hm... mach mal in:&lt;/p&gt;
&lt;p&gt;„/etc/default/codesysedge“&lt;/p&gt;
&lt;p&gt;den DEBUGOUTPUT=1 und das DEBUGLOGFILE=/tmp/codesysedge_debug.log einschalten...&lt;/p&gt;
&lt;p&gt;Dann sehen wir evtl. mehr info in dem codesysedge_debug.log file.&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Gateway für Linux</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/ab0e286f58/?limit=25#fb83" rel="alternate"/><published>2020-02-28T01:13:11.654000Z</published><updated>2020-02-28T01:13:11.654000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come6273b02f8fce95384416d0fb532d8f2da309ded</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; e60newbie&lt;/p&gt;
&lt;p&gt;Hallo Gemeinde,&lt;/p&gt;
&lt;p&gt;habe gesehen dass das Edge Gateway für Linux nun Online ist.&lt;/p&gt;
&lt;p&gt;Gleich auf einer VM (Ubuntu 18.04 amd64) getestet mit PEAK-USB und funktioniert wunderbar. TOP!!&lt;/p&gt;
&lt;p&gt;Aber auf einer Hardware mit ARM V7 mit Debian 9 (armhf Package) bekomme ich das nicht ans laufen.&lt;br/&gt;
Hänge mal die Log Datei an, es kommt immer der Fehler "Could not open CAN interface on NetID &amp;lt;netid&amp;gt;1&amp;lt;/netid&amp;gt;!" obwohl der CAN auf CAN1 tadellos läuft.&lt;br/&gt;
Gestartet mit:&lt;br/&gt;
 $ sudo ip link set can1 type can bitrate 250000&lt;br/&gt;
 $ sudo ip link set up can1&lt;/p&gt;
&lt;p&gt;Hat jemand Idee wo suchen? Edwin vielleicht?&lt;/p&gt;
&lt;p&gt;einen Gruß&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: bild.JPG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=2337"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2338" rel="nofollow"&gt;Log systemctl.txt &lt;span&gt;&lt;span&gt;[1.13 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum-de.codesys.com//download/file.php?id=2335" rel="nofollow"&gt;Log.txt &lt;span&gt;&lt;span&gt;[10.62 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>