eth0 is disabled fro changing communication settings

jan233321
2016-12-26
2020-12-02
  • jan233321 - 2016-12-26

    Hello,
    is here any documented way how to change IP settings of eth0 interface from Codesys?

    There is a possibility in Ethernet / General (see the screenshot please) but after login/run nothing change and I just got an error message in the device log "eth0 is disabled fro changing communication settings"

    Any ideas?

    Thanks,

    Regards

    Jan.

    IMG: 2016

    IMG: 2016

     
  • eschwellinger

    eschwellinger - 2016-12-26

    Hi,

    you need to add in /etc/CODESYSControl.cfg the following section to enable this:

    [SysSocket]
    Adapter.0.Name="eth0"
    Adapter.0.EnableSetIpAndMask=1

    BR
    Edwin

     
  • jan233321 - 2016-12-30

    Hi Edwin,
    perfect, works fine. Thanks.
    By the way - it is very often when somebody ask you about a feature, there is usually a solution via this mysterious file CODESYScontol.cfg.

    Is it somewhere documented and possible to read all variables and meanings?

    Thanks again,

    Kind Regards

    Jan.

     
  • altimation - 2020-12-02

    Hi,

    We aren't using linux but are having similar issues. Is this similar for Windows10 environment? Not sure where to locate "/etc/" for updating CODESYScontrol.cfg.

    Thank you,
    Chuck

     

Log in to post a comment.