[Etherlab-users] [BEGINNER] Nothing found on the bus

Eibach, Dirk Dirk.Eibach at cloos.de
Wed Feb 24 13:24:37 CET 2021


I have set up a Debian buster with rt kernel and installed the ethercat master from the stable branch.
My config looks like this, I want to use the generic driver:
MASTER0_DEVICE="00:07:32:72:d3:65"
DEVICE_MODULES=""

ip addr shows (enp2s0 is the ethercat bus):
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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:07:32:72:d3:64 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.10/24 brd 192.168.0.255 scope global noprefixroute enp1s0
       valid_lft forever preferred_lft forever
    inet6 fe80::207:32ff:fe72:d364/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:07:32:72:d3:65 brd ff:ff:ff:ff:ff:ff
4: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:07:32:72:d3:66 brd ff:ff:ff:ff:ff:ff
5: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 00:07:32:72:d3:67 brd ff:ff:ff:ff:ff:ff

So the port is definetly UP.

Dmesg says::
[  614.951408] EtherCAT: Master driver 1.5.2 334c34cfd2e5
[  614.951674] EtherCAT: 1 master waiting for devices.

ethercat-command come back empty, there is no activity on the PortLEDs:
root at rosie:/home/dirk/src/ethercat-hg# ethercat config
root at rosie:/home/dirk/src/ethercat-hg#

Any ideas what I am missing?

Sitz der Firma/Headquarters: 35708, Germany
Amtsgericht/Lower district court: Wetzlar HR B 3052
Geschäftsführer/Managing Director: Sieghard Thomas



More information about the Etherlab-users mailing list