DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2006-11-28 21:36:08

art
Member
From: Germany
Registered: 2006-11-24
Posts: 8

ether-wake

Hi all.

Today I compiled a ppc version of ether-wake, find it below.
This might come in handy if you want to have the DSMG600 run continuously e.g. as a web server that can trigger your normal PC to come up (e.g. via a web interface).

Just find out the mac address of the box you would like to power on (that's the "Physical address" windows ipconfig /all will show. For Linux ifconfig will do the same) and issue 'ether-wake XX:XX:XX:XX:XX:XX' on the DSM with the mac address filled in for the XXs.
You can also find the address of a remote computer you had recently contact with. Just issue 'arp -a' (both Linux+Win) and find the mac by searching for the IP. If you don't find it, ping the machine and retry.

The target machine must support the eatherwake feature and it eventually must be enabled in the BIOS first.
I started ether-wake on the DSM and sniffed on the interface (by default it will send on eth0).
Looks fine, just as if I used it on my Linux box, however I wasn't able so far to check if the target machine will indeed come up.

If it works for you, it'd be nice if you dropped me a short note.

Art

Last edited by art (2006-11-28 21:37:08)

Offline

 

#2 2006-11-28 22:19:24

art
Member
From: Germany
Registered: 2006-11-24
Posts: 8

Re: ether-wake

Update: Checked it and target really powered on.
Below is a php script for a basic web interface.
Use at your own risk - no authentication aor whatsoever - everybody will be able to fire up your machines in case of misconfiguration.

Last edited by art (2006-11-28 22:19:51)

Offline

 

#3 2006-11-29 08:41:27

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: ether-wake


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB