Script running on wakup

  • Hi,


    I am looking for a way to call a bash script during wakup. Currently I have the problem that after wakeup my network card is not running with full speed (e.g. duplex 1000). So I want to run the following during wakup


    ethtool -s enp3s0 speed 1000 duplex full autoneg off


    What is the best place to add the line above?


    Thanks in advance

    • Offizieller Beitrag

    What is the best place to add the line above?

    As script could go in /etc/network/if-up.d/ but I would try to fix the problem first. Did you try putting those options in the options box of the network adapter in the web interface under System -> Network -> Interfaces?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!