[opensuse] WOL won't use files
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
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
Any suggestions?
wol $(cat [path_to_]filename_containing_mac_address) -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2007-06-29 at 09:12 +0200, 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
Any suggestions? wol $(cat [path_to_]filename_containing_mac_address)
or
wol -
Roger Oberholtzer wrote:
On Fri, 2007-06-29 at 09:12 +0200, 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
Any suggestions?
wol $(cat [path_to_]filename_containing_mac_address)
or
wol -
Actually, that one doesn't work. Apparantly wol is busted, in that it doesn't do what it's help claims it does. I guess I'll have to fire a note off to the author. tnx jk -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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. tnx jk -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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. 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 have created a file called "netfinity". It's contents are the MAC
address of my server or 00:02:55:47:E0:7B.
If I issue the command "wol 00:02:55:47:E0:7B", the server boots up. If
I use wol -f netfinity or wol --file=netfinity or wol
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
> 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. 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 OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
> 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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
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
> >> 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?
Yes, wol <mac address> works fine. It just won't read the address from a file, using the methods described in the MAN page. Here's an what happens with the MAC as part of the command jknott@linux:~ $ wol 00:02:55:47:E0:7B Waking up 00:02:55:47:E0:7B... If I use wol -f netfinity, I don't get that "Waking up" line and the computer doesn't start. In fact, there is no response at all.
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
I plan to. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 29 June 2007 21:12:12 James Knott wrote:
Did it work?
Yes, wol <mac address> works fine. It just won't read the address from a file, using the methods described in the MAN page.
That's not what I asked you. Did it work, when you tried, using the file format I gave you? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
On Friday 29 June 2007 21:12:12 James Knott wrote:
Did it work?
Yes, wol <mac address> works fine. It just won't read the address from a file, using the methods described in the MAN page.
That's not what I asked you.
Did it work, when you tried, using the file format I gave you?
No. I added the IP address and while wol said it was waking up the computer, nothing happened. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
James Knott
-
Jos van Kan
-
Roger Oberholtzer