This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

wol with script from astaro?

hi guys!

again a strange question from me...
is it possible to launch a (e.g. perl) script via ssh on the asl, that broadcasts the magic paket over my network, so that all or certain machines will boot up?

it would be *very* helpfull for me

thanks in advance
guybrush


This thread was automatically locked due to age.
Parents
  • Does ping not do the trick?

    Easiest thing would be to get a statically compiled linux executable that sends the WOL packet, and put it on your ASL box.
    BUT I'm not sure if the packetfilter would allow the packet, as it's probably not TCP or UDP. Maybe you can create some rules to allow it.

    Barry
  • @secapp:
    no, pxe is something different. is uses dhcp (i have static adresses), and provides the clients with a boot image or something similar.
    never needed that...

    @barrygould:

    no, ping is not enough.
    thats a special udp paket (makes adding a rule an easy task), wich contains 6 times the sequence FFh and 16 (or 14) times the NICs mac-adress (done through sending the packet to the broadcast adress or static mac-entries...)
    my internal ip is 10.100.1.1, so a rule from 10.100.1.1 to internal(network) should do the job...

    is it possible to execute your own perl script oder executeables on an astaro-box (never tried and never needed) or does the astaro prevents this?

    greetz
    Guybrush
Reply
  • @secapp:
    no, pxe is something different. is uses dhcp (i have static adresses), and provides the clients with a boot image or something similar.
    never needed that...

    @barrygould:

    no, ping is not enough.
    thats a special udp paket (makes adding a rule an easy task), wich contains 6 times the sequence FFh and 16 (or 14) times the NICs mac-adress (done through sending the packet to the broadcast adress or static mac-entries...)
    my internal ip is 10.100.1.1, so a rule from 10.100.1.1 to internal(network) should do the job...

    is it possible to execute your own perl script oder executeables on an astaro-box (never tried and never needed) or does the astaro prevents this?

    greetz
    Guybrush
Children