Koozali.org: home of the SME Server

Wake on Lan, server manager extenstion.

Damien Ryan

Wake on Lan, server manager extenstion.
« on: August 24, 2003, 08:52:12 AM »
Hi All,

I'm thinking of writing an extension to the server manager that does the following:

1. Brings up a list of all computers in the /var/lib/dhcp/dhcpd.leases file
ie all computers that have recently been attached to the network with IP addresses, computer names etc lease details etc.
2. Pings each IP address in dhcpd.leases file to establish which machines
are on.
3. allows you to send a magic wake-up packet to individual/all machines that it cannot ping in order to wake them up remotely.

The idea being to allow easier remote access.
I can do all this from the command line at the moment, but it is a bit fiddly
and I like the idea of doing from a web interface.

4. (Here is where it gets a bit out of my depth)
another possibility would be to have the ability to execute a file on the
remote machines (batch update win XP critical updates perhaps).
But as I don't have the foggiest how to execute programs on remote machines
(clearly I need the help of some virus writers ;-). I might be leaving this till later.

I'm looking for some comments as to :
Would you find an extension like this useful ?
Are there similiar extensions already available ?
Can you offer any help (advise testing programming etc) ?

thanks

Damien

Dan Williams

Re: Wake on Lan, server manager extenstion.
« Reply #1 on: August 25, 2003, 08:11:03 PM »
Hi,
I think this is a good idea.
Is there a way to determine what computers are attatched to the network that have "STATIC" ips?
In my case there are clients that are static, if a visio is not available, is there a way to do this?
Dan

Dan Williams

Re: Wake on Lan, server manager extenstion.
« Reply #2 on: August 25, 2003, 08:57:51 PM »
Figure this out,
Using NMAP from Putty command line I did this:
nmap XX.XX.XX.2-50 -sP

This scans all IPs from .2 thru .50 and gives the exact output I am after.
Dan

Damien Ryan

Re: Wake on Lan, server manager extenstion.
« Reply #3 on: August 26, 2003, 04:19:01 AM »
Nmap doesn't seem to be in e-smith.

Perhaps a panel where you record all the static IPs that you use.

Damien