Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Codesys Linux SL - Setup of EoE

shaunvdm
2021-08-26
2021-08-27
  • shaunvdm

    shaunvdm - 2021-08-26

    Hi,

    Where can i find information related to setup of ethernet over ethercat.
    Anything special to setup on Linux?

    Regards

     
  • eschwellinger

    eschwellinger - 2021-08-27

    Hi,
    basically you need to use a tap device to do it:

    set up tap0 device

    /sbin/ip tuntap add tap0 mode tap
    /sbin/ip link set tap0 up
    /sbin/ip addr add 192.168.2.1/24 dev tap0

    maybe you need to add a route additional
    echo 1 >/proc/sys/net/ipv4/ip_forward' ...

     
    πŸ‘
    1

Log in to post a comment.