On Friday 29 June 2007 21:00:20 James Knott wrote: > Anders Johansson wrote: > > On Friday 29 June 2007 20:35:26 James Knott wrote: > >> Anders Johansson wrote: > >>> On Friday 29 June 2007 13:13:54 James Knott wrote: > >>>> Jos van Kan wrote: > >>>>> James Knott wrote: > >>>>>> I've installed wol (wake on lan) on my system. While it works fine > >>>>>> if I supply the mac address as part of the command, it doesn't read > >>>>>> the mac from a file. I've tried both wol -f filename and wol > >>>>>> --file=filename. Even using wol<filename doesn't work. > >>>>>> > >>>>>> Any suggestions? > >>>>> > >>>>> wol $(cat [path_to_]filename_containing_mac_address) > >>>> > >>>> While that does work, I'd still like to know why the documented > >>>> methods don't. > >>> > >>> What do you have in your file? It should contain more than just your > >>> mac address > >> > >> Such as??? WOL creates a magic packet that contains the MAC address. > >> What else has to be included? Using only the MAC address from the > >> command line works fine. > > > > Your options for the file are > > > > MAC host port password > > MAC host password > > MAC host port > > MAC host > > > > MAC alone won't do, the parser expects one of the above > > The MAC alone certainly works fine when included on the command line. > Also, the items you mentioned are options that are not necessary for > basic operation.
Did it work? > For example, you'd specify host if the computer you're > issuing the command from has more than one network adapter, so that the > magic packet is sent on the right interface. The port is used if > necessary to get past some packet filter. The password would be used > with a SecureOn capable NIC. All this is described in the wol man > page. If they are required when reading from a file, they should also > be required when including the MAC as part of the file. I would suggest filing a bug report with the developer then -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
