[Etherlab-users] "Master0 dead" and unable to check fro masters/slaves
Andreas Stewering-Bone
andreas.stewering-bone at gmx.de
Mon Sep 19 11:07:40 CEST 2022
Dear Henrik,
The source are git managed
Try
git checkout stable-1.5
You are using a moden OS, please use the systemd interface.
Following steps
1. Install the Master
2. Modify /etc/sysconfig/ethercat
3. Start the master via systemctl start ethercat
4. Call ethercat ma for master state
5. Call ethercat sl for list of slaves
Alternativ you can install by package manager
Have a look at
https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab
For the master you only have to installer the kernel headers for your
kernel. The master and the device drivers are compiled by DKMS.
Best regards
Andreas
Am Montag, dem 19.09.2022 um 10:09 +0200 schrieb Henrik Barie:
> Hello Mr. Stewering-Bone,
>
> the branch update was part of the Installation-Guide which I
> followed,
> but it didnt work.
> The command was "hg update stable-1.5" and the output was/is:
>
> Abort: No Project Archive (.hg Archive) in
> /home/ec/EtherCAT/etherlabmaster-code found
>
> when I searched for a .hg file I couldnt find anything.
>
> "ip a" gave out this:
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel
> state UP group default qlen 1000
> link/ether 88:a4:c2:bf:73:10 brd ff:ff:ff:ff:ff:ff
> inet6 fe80::cf2:e741:d753:1437/64 scope link noprefixroute
> valid_lft forever preferred_lft forever
> 3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> noqueue
> state UP group default qlen 1000
> link/ether 80:38:fb:ae:68:70 brd ff:ff:ff:ff:ff:ff
> inet 192.168.178.69/24 brd 192.168.178.255 scope global dynamic
> noprefixroute wlp0s20f3
> valid_lft 863048sec preferred_lft 863048sec
> inet6 fe80::eaf5:3c97:a587:60d7/64 scope link noprefixroute
> valid_lft forever preferred_lft forever
>
>
> ethercat ma:
>
> command not found
>
> ethercat sl:
>
> command not found
>
> also the ethercat init.d script only offers "start", "stop",
> "restart"
> and "status".
>
> I figured out that when I use the command:
>
> /etc/init.d/ethercat status
>
> the output is "Master0 dead"
>
> but when I use:
>
> sudo /etc/init.d/ethercat status
>
> the output is:
>
> "Master0 running"
>
>
> Regards
> Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220919/ed24e275/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20220919/ed24e275/attachment-0001.sig>
More information about the Etherlab-users
mailing list