PDA

Bekijk de volledige versie : Detect network client and sent wake-on-lan?



persa
06-12-2006, 16:18
I have a network with a PC acting as media server to an XBox 360.

I would like to make the Asus WL 500 GX detect whenever the XBox 360 is connecting to the WLAN interface and then send out a wake-on-lan signal to the Media Center PC...

Would this be possible to implement? Is there some way to trigger and run a script when a WLAN client connects to the network?

I am currently running Olegs firmware 1.9.2.7-7b and the PC connects to the router by cable while the XBox 360 connects by WLAN.

/Per

pfugl
07-12-2006, 15:12
One way to do it, could be:
Set up DHCP to issue a fixed IP address for the X-box.
Use a script in an endless loop to do a ping of the xbox - f.ex. every 10 seconds.
When there is a ping response from the xbox, issue the wake-on-lan command.
Not very elegant I admit, but useable.
/Peter

persa
08-12-2006, 07:46
Any practical tips on how to construct such a script?