AminetAminet
Search:
84736 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/net/hpwake.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Wake On LAN client for Amiga
Author: wann at kcm-01.ik.mb.uni-siegen.de
Type:comm/net
Architecture:m68k-amigaos
Date:2002-07-25
Requires:ixemul
Download:comm/net/hpwake.lha - View contents
Readme:comm/net/hpwake.readme
Downloads:691

While there is no power management for the Amiga (yet), it is still
possible to control other machines which do feature it.

This is a client for the Wake On LAN protocol found in newer ethernet cards and
motherboards. When properly configured, such a machine can keep its ethernet
card powered up waiting for a specific packet to arrive while the rest of the
computer is powered down. On receiving this packet the ethernet card activates
the 'soft on' of ATX/WOL motherboards and powers the entire machine up. This
program generates this packet.

Usage: hpwake <ethernet MAC address>

Get the MAC address from the machine while it is running using arp (firstly,
contact the machine in some way (ping) to cause an initial address query to store
the MAC address in the local arp tables). e.g., with Miami:

41.Ram Disk:> miamiping avan
PING loki (192.168.1.13): 56 data bytes
64 bytes from 192.168.1.13: icmp_seq=0 ttl=255 time=2.7 ms

--- avan ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 2.7/2.699/2.7 ms

41.Ram Disk:> miamiarp -a
nuke (192.168.1.1) at (incomplete) permanent
mono (192.168.1.6) at 00:60:30:00:47:C3
rhic (192.168.1.11) at 02:40:95:50:0F:3A
avan (192.168.1.13) at 00:40:95:00:09:CD
loki (192.168.1.14) at 00:40:95:10:0A:EC
...

To test this, enable WOL on the target machine (BIOS & ethernet card
configuration), ensure the WOL wire is connected, put the machine into 'soft
off' (shutdown on Windows, shutdown -h on unix) and run hpwake:

41.Ram Disk:> hpwake 00:40:95:00:09:CD

... will bring the machine 'avan', listed above, out of power down.



The source is a straight compile with gcc (hence needs ixemul) from a wake
program intended for HP-UX. It appears to be freeware. Anyone with gcc can make
their own binary, this Aminet upload is for the convenience of those who don't
have gcc.


Contents of comm/net/hpwake.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4023    7808  51.5% -lh5- d334 Jul 23  2002 hpwake
[generic]                 1258    3496  36.0% -lh5- c027 Jul 23  2002 hpwake.c
[generic]                 1091    2034  53.6% -lh5- 99aa Jul 23  2002 hpwake.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    6372   13338  47.8%            Jul 25  2002
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>