Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • fuss-client fuss-client
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FUSS
  • fuss-clientfuss-client
  • Issues
  • #954

Closed
Open
Created May 12, 2021 by Paolo Dongilli@dongilliOwner

Wake On LAN (WOL)

Alcuni PC di recente acquisto che non fanno il WOL senza un "aiutino".

Quanto indicato nel Wiki di Debian https://wiki.debian.org/WakeOnLan#Enabling_WOL e cioè di inserire in /etc/network/interfaces

auto INTERFACCIA
iface INTERFACCIA inet dhcp
        ethernet-wol g

non è risolutivo.

Invece l'unica cosa risolutiva sembra essere quella di lanciare a mano

ethtool -s INTERFACCIA wol g

prima di spegnere la macchina. In uno dei tanti suggerimenti presenti online, il comando viene messo nel crontab di root con crontab -e usando la direttiva @reboot

@reboot ethtool -s INTERFACCIA wol g

Non mi pare ottimale come soluzione.

Una proposta alternativa è di metterlo in /etc/cron.d/NOMESCRIPT. Va aggiunto dopo @reboot il nome dell'utente che esegue il comando (root):

@reboot ethtool -s INTERFACCIA wol g

ma la direttiva @reboot non viene accettata da cron.

Serve pertanto un'altra soluzione (da aggiungere a fuss-client).

Assignee
Assign to
Time tracking