Wie "Wake On Lan" per Konsole Senden

Hallo

Wie es schon im Titel steht würde ich gerne einen Wake On Lan Befehl versenden.
Leider finde ich bis jetzt nur Infos wie ich Manjaro so einrichten kann das es dies empfangen aber ich habe keine Info gefunden wie ich wol per konsole senden kann.

Würde damit gerne mein NAS per script aufwecken.
Entweder fehlt mir der passende suchbegriff oder ich versteh da etwas nicht.

https://wiki.archlinux.org/title/Wake-on-LAN#On_the_same_LAN

Wenn die MAC-Adresse bekannt ist (z.B. durch Aufruf von ip link) sollte eigentlich

wol <mac adresse>

reichen (<mac adresse> als Platzhalter der eigentlichen MAC-Adresse).

Falls wol als Befehl nicht bekannt sein sollte:

https://archlinux.org/packages/extra/x86_64/wol/

Danke für die Antworten.

Leider hänge ich nun an der installation.
An Hand der install Anleitung an punkt 2

1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.  If you're
     using `csh' on an old version of System V, you might need to type
     `sh ./configure' instead to prevent `csh' from trying to execute
     `configure' itself.

     Running `configure' takes awhile.  While running, it prints some
     messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package.

  4. Type `make install' to install the programs and any data files and
     documentation.

  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.
./configure

funktioniert

make

kennt manjaro so nicht und verweist auf

qmake

nur dort bin ich mir nicht schlüssig wie ich dies nutzen soll
mit

qmake -makefile

wird mir noch folgendes ausgegeben

    ~/Daten/downloads/web/wol-0.7.1  qmake -makefile                                                                 1 ✘ 
Usage: qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets [files] as files to
                 be added to the .pro file. By default, all files with
                 known source extensions are added.
                 Note: The created .pro file probably will 
                 need to be edited. For example add the QT variable to 
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be *
   * processed as if it was in [files]. These assignments will be    *
   * processed before [files] by default.                            *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -early         All subsequent variable assignments will be
                 parsed right before default_pre.prf
  -before        All subsequent variable assignments will be
                 parsed right before [files] (the default)
  -after         All subsequent variable assignments will be
                 parsed after [files]
  -late          All subsequent variable assignments will be
                 parsed right after default_post.prf
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -qtconf file   Use file instead of looking for qt.conf
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]

Warum so kompliziert. Das Paket wol ist in dem normalem Repository.

einfach mit pacman oder pamac installieren und fertig.

pamac install wol

Selber kompilieren solltet du wirklich nichts. Das führt nur zu Problemen.

Vielen Dank für die Info

Hat funktioniert. :+1:
Ich muss mich da wohl noch deutlich mehr zurechtfinden wo es was gibt, wie ich es finde und wie ich es installiere.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.