1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wake On Lan script to start several PC ?

Discussion in 'Tomato Firmware' started by laurent-69, May 4, 2007.

  1. laurent-69

    laurent-69 LI Guru Member

    Wake On Lan script to start several PC ? (Solved ) !

    Hey All,

    I'm totally noob with tomato firmware and script who can help me ?

    I desired to make a script to start my 4 PC at the same time

    I know this command in init :

    cru a wakepc "0 7 * * * ether-wake -i br0 00:00:00:00:00:00"

    but it works for one PC :rolleyes:

    how to wake the others ? :blush:

    thanks in advance.
     
  2. laurent-69

    laurent-69 LI Guru Member

    Nobody ?

    For most informations : I ve do a test

    cru a wakepc "59 6 * * * ether-wake -i br0 00:00:00:00:00:00" > First PC
    "sleep5"
    cru a wakepc "0 7 * * * ether-wake -i br0 00:00:00:00:00:00" > Sec PC

    and surprise ! second PC wake but not the first :confused:

    same but first PC wake with :

    cru a wakepc "0 7 * * * ether-wake -i br0 00:00:00:00:00:00 , 00:00:00:00:00:00"

    and all pc wake up via the WOL in Tools ( web page of router )
     
  3. laurent-69

    laurent-69 LI Guru Member

    Problem solved :biggrin:

    for multiple Wake use this command in init :

    cru a wakepc "* * * * * ether-wake -i br0 00:00:00:00:00:00; ether-wake -i br0 00:00:00:00:00:00"

    Stars are :
    minutes, hour, day of month, month, day of the week ( 0= sunday)

    00:00:00:00:00:00 = MAC Adress of network card

    and between each MAC addresses put a ; and a space

    that's all and it work fine.
     

Share This Page