Mailinglist Archive: opensuse (2442 mails)

< Previous Next >
Re: [opensuse] WOL won't use files
  • From: James Knott <james.knott@xxxxxxxxxx>
  • Date: Fri, 29 Jun 2007 15:03:35 -0400
  • Message-id: <46855787.6080909@xxxxxxxxxx>
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
What do you have in your file? It should contain more than just your mac
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. 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.

That should read "when including the MAC as part of the command.

Use <>
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >