>[...] how do I introduce a
>delay between the wake command being issued and BackupPc continuing?

Rather than a fixed delay, you might want to try using Net::Ping to poll
the client until you get a positive answer. Possibly with some sleep time
between retries, and a long(ish) timeout set to whatever you think is the
boot duration of the client plus some fudge factor to account for network
irregularities, etc. (say, 2 x the typical boot time, which you'd measure
first).

Bernardo



|---------+------------------------------------------>
|         |           [EMAIL PROTECTED]         |
|         |           Sent by:                       |
|         |           [EMAIL PROTECTED]|
|         |           ceforge.net                    |
|         |                                          |
|         |                                          |
|         |           01/17/2006 10:11 AM            |
|         |                                          |
|---------+------------------------------------------>
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                  |
  |       To:       <backuppc-users@lists.sourceforge.net>                      
                                                  |
  |       cc:                                                                   
                                                  |
  |       bcc:                                                                  
                                                  |
  |       Subject:  [BackupPC-users] Wake-on-lan                                
                                                  |
  
>-------------------------------------------------------------------------------------------------------------------------------|




I am trying to get wake-on-lan working for my installation.

I tried '$Conf{DumpPreUserCmd} = "/usr/share/wol.sh $host";' and this
didn't
work for me. Has anyone else had success with this?

I have gotten as far as implementing the Net::Wake perl module from within
BackupPC_dump perl script.

This correctly wakes the PC but I still get a 'Host not found' error
message. I assume this is because whilst the PC has woken it has not
connected to the network in time for BackupPC to find it.

In short am I approaching this the right way? If I am how do I introduce a
delay between the wake command being issued and BackupPc continuing?

Do you require the scripts I am running?

Cheers
Chris



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to