Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 2008-03-05 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)


wakeonlan - Perl script to wake up computers


wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]


This script sends 'magic packets' to wake-on-lan enabled ethernet adapters and motherboards, in order to switch on the called PC. Be sure to connect the NIC with the motherboard if neccesary, and enable the WOL function in the BIOS.

The 'magic packet' consists of 6 times 0xFF followed by 16 times the hardware address of the NIC. This sequence can be encapsulated in any kind of packet. This script uses UDP packets.


Displays the help information.
Displays the script version.
-i ip_address
Destination IP address. Unless you have static ARP tables you should use some kind of broadcast address (the broadcast address of the network where the computer resides or the limited broadcast address). Default: (the limited broadcast address).
-p port
Destination port. Default: 9 (the discard port).
-f file
File with hardware addresses of wakeable computers. For an example check the file lab001.wol in the examples subdirectory.


Using the limited broadcast address (
     $ wakeonlan 01:02:03:04:05:06
     $ wakeonlan 01:02:03:04:05:06 01:02:03:04:05:07

Using a subnet broadcast address:

     $ wakeonlan -i 01:02:03:04:05:06

Using another destination port:

     $ wakeonlan -i -p 1234 01:02:03:04:05:06

Using a file as source of hardware and IP addresses:

     $ wakeonlan -f examples/lab001.wol
     $ wakeonlan -f examples/lab001.wol 01:02:03:04:05:06


Jose Pedro Oliveira <> maintaining and expanding original work done by Ico Doornekamp <>. Copyright (c) 2000-2005 Jose Pedro Oliveira.

This is free software. You may modify it and distribute it under Perl's Artistic Licence. Modified versions must be clearly indicated.


For more information regarding this script and Wakeonlan technology just check the following address
Des Hauts et des Bas sur la N7

Oyez ma complainte. C'est la vie d'un rocker!
"La salle cassée: mitard. Qu'Otto, nonobstant sa
Dèche, y rende plinthes; en temps de remords. Cour
Vaillant n'a pas deux sangs!". Le juge me tança.

Avec Maggy, tard, j'écris un morceau
Pour encaisser six cent mille baths/heure des
Minettes débridées aux petits verres mis sots
Aux petits vermisseaux mis nets, debs ridés.

Mi, le batteur débourre en caisse et s'y sent.
Je crie à mort (saut!) avec ma guitare,
Le jus! je me tend! ça va, y'en a pas deux cent !

Entend deux remorqueurs, déchirante plainte!
Qu'automne aux snobs tend. Sale, ah, sale cas, c'est mythe hard.
Cela vide un gros coeur! Oh yé! Macon, plaintes!
Otto Rivers

Ó Emord Nilap : Ups & Downs on Route 69

-- Acquistapace, Denis