Mac Help Forums


Reply
Thread Tools Display Modes

WakeOnLan/Java commands on Mac OS 9

 
ToasterKing
Guest
Posts: n/a
 
      8th October 2003
Hi there.

I'd like to wake up several PCs via Ethernet from a Macintosh running
Mac OS 9.1 using Wake-On-Lan (WoL) magic packets. Unfortunately, I
haven't been able to find any software which runs on Mac OS 9 (or
Carbon) which will do this. I have found a Java implementation of
Wake-On-Lan on http://www.sourceforge.net which I would like to try,
but it requires to be invoked using a command line. How, in Mac OS 9,
can I execute the equivalent of a command like

java -jar wakeonlan.jar -i 192.168.0.255 00:50:95:10:95:F5

The Apple Applet Runner that comes with Mac OS Runtime for Java will
only directly open HTML files. Thanks for any tips.

--
<<Please remove the word "SPLAT" from either below address to use it.>>
Email: private.php?do=newpm&u=
Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
 
Reply With Quote
 
 
 
 
Tom Stiller
Guest
Posts: n/a
 
      8th October 2003
In article <081020031631074788%(E-Mail Removed) >,
ToasterKing <(E-Mail Removed)> wrote:

> Hi there.
>
> I'd like to wake up several PCs via Ethernet from a Macintosh running
> Mac OS 9.1 using Wake-On-Lan (WoL) magic packets. Unfortunately, I
> haven't been able to find any software which runs on Mac OS 9 (or
> Carbon) which will do this. I have found a Java implementation of
> Wake-On-Lan on http://www.sourceforge.net which I would like to try,
> but it requires to be invoked using a command line. How, in Mac OS 9,
> can I execute the equivalent of a command like
>
> java -jar wakeonlan.jar -i 192.168.0.255 00:50:95:10:95:F5
>
> The Apple Applet Runner that comes with Mac OS Runtime for Java will
> only directly open HTML files. Thanks for any tips.


I can't speak to the Java issue, but the Macintosh Programmer's
Workbench (MPW) contains a shell which can issue commands with line
arguments. For what's worth, it can also compile and run a simple
application to do the WOL job. There's also MacPerl, but I prefer
issuing WOL commands via MPW on my old Q630 running MacOS 7.6.1.

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
 
Reply With Quote
 
 
 
 
ToasterKing
Guest
Posts: n/a
 
      9th October 2003
In article
<tomstiller-(E-Mail Removed)>, Tom
Stiller <(E-Mail Removed)> wrote:

> I can't speak to the Java issue, but the Macintosh Programmer's
> Workbench (MPW) contains a shell which can issue commands with line
> arguments. For what's worth, it can also compile and run a simple
> application to do the WOL job. There's also MacPerl, but I prefer
> issuing WOL commands via MPW on my old Q630 running MacOS 7.6.1.


Thanks, Tom, for the information. If I manage to locate a copy of MPW,
I'll give it a shot. It's nice to know you're still putting an old
Quadra to good use. They don't make 'em like that anymore! BTW, how
stable is 7.6.1 on the Q630? I had more stability problems on my P575
and Q700 with System 7.5.5 and Mac OS 8.0/8.1 than I should have, but
it was probably that I was using semi-modern software written by
programmers who aren't very concerned about testing on 68K machines
anymore.

Thanks,
TK

--
<<Please remove the word "SPLAT" from either below address to use it.>>
Email: private.php?do=newpm&u=
Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
 
Reply With Quote
 
Tom Stiller
Guest
Posts: n/a
 
      9th October 2003
In article <081020032350265966%(E-Mail Removed) >,
ToasterKing <(E-Mail Removed)> wrote:

> In article
> <tomstiller-(E-Mail Removed)>, Tom
> Stiller <(E-Mail Removed)> wrote:
>
> > I can't speak to the Java issue, but the Macintosh Programmer's
> > Workbench (MPW) contains a shell which can issue commands with line
> > arguments. For what's worth, it can also compile and run a simple
> > application to do the WOL job. There's also MacPerl, but I prefer
> > issuing WOL commands via MPW on my old Q630 running MacOS 7.6.1.

>
> Thanks, Tom, for the information. If I manage to locate a copy of MPW,
> I'll give it a shot. It's nice to know you're still putting an old
> Quadra to good use. They don't make 'em like that anymore! BTW, how
> stable is 7.6.1 on the Q630? I had more stability problems on my P575
> and Q700 with System 7.5.5 and Mac OS 8.0/8.1 than I should have, but
> it was probably that I was using semi-modern software written by
> programmers who aren't very concerned about testing on 68K machines
> anymore.


You may still be able to get the MPW from the Apple Develpoer's site
<http://developer.apple.com/>. You may have to join the Developer
Group, but there is no cost.

I find 7.6.1 to be more stable than 7.5.x was. I never tried 8.x on
the Q630 because the LaserWriter drivers that shipped with it were
incompatible with some of the software that I used regularly. I do see
some of the same problems with newer software but, since my main
machine is an iMac running Jaguar, it's not an inconvenience.

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF
 
Reply With Quote
 
clvrmnky
Guest
Posts: n/a
 
      9th October 2003
ToasterKing wrote:
> I'd like to wake up several PCs via Ethernet from a Macintosh running
> Mac OS 9.1 using Wake-On-Lan (WoL) magic packets. Unfortunately, I
> haven't been able to find any software which runs on Mac OS 9 (or
> Carbon) which will do this. I have found a Java implementation of
> Wake-On-Lan on http://www.sourceforge.net which I would like to try,
> but it requires to be invoked using a command line. How, in Mac OS 9,
> can I execute the equivalent of a command like
>

Does Perl run on this machine? If so, take a look at
http://gsd.di.uminho.pt/jpo/software/wakeonlan/. I use this from
OpenBSD to handle a stable of Macs.

 
Reply With Quote
 
ToasterKing
Guest
Posts: n/a
 
      12th October 2003
In article <DKkhb.90347$(E-Mail Removed)>, clvrmnky
<(E-Mail Removed)> wrote:

> ToasterKing wrote:
> > I'd like to wake up several PCs via Ethernet from a Macintosh running
> > Mac OS 9.1 using Wake-On-Lan (WoL) magic packets. Unfortunately, I
> > haven't been able to find any software which runs on Mac OS 9 (or
> > Carbon) which will do this. I have found a Java implementation of
> > Wake-On-Lan on http://www.sourceforge.net which I would like to try,
> > but it requires to be invoked using a command line. How, in Mac OS 9,
> > can I execute the equivalent of a command like
> >

> Does Perl run on this machine? If so, take a look at
> http://gsd.di.uminho.pt/jpo/software/wakeonlan/. I use this from
> OpenBSD to handle a stable of Macs.


Thanks for the information. Perl does not run on this Mac; in fact,
I'd have no idea how to run Perl on Mac OS 9, or really what to do once
I had it running. I've hacked a few Perl scripts once, learning as I
went, but that was all, and long ago.

--
<<Please remove the word "SPLAT" from either below address to use it.>>
Email: private.php?do=newpm&u=
Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
 
Reply With Quote
 
ToasterKing
Guest
Posts: n/a
 
      12th October 2003
In article
<tomstiller-(E-Mail Removed)>, Tom
Stiller <(E-Mail Removed)> wrote:

> You may still be able to get the MPW from the Apple Develpoer's site
> <http://developer.apple.com/>. You may have to join the Developer
> Group, but there is no cost.


Thanks Tom. I was able to download and install MPW. FYI, all I did
was search ADC for "MPW" and found the installer. Apple does keep
their knowledgebase and support areas so much simpler and easier to
search than M$ does. Now I just need to set aside some time to learn
how to use MRJ from the command shell.

--
<<Please remove the word "SPLAT" from either below address to use it.>>
Email: private.php?do=newpm&u=
Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
 
Reply With Quote
 
Thomas Engelmeier
Guest
Posts: n/a
 
      17th October 2003
In article <121020030050384885%(E-Mail Removed) >,
ToasterKing <(E-Mail Removed)> wrote:

> Now I just need to set aside some time to learn
> how to use MRJ from the command shell.


You just need to install the (MRJ SDK) MPW tools and just can type java
<commandlineoptions>

--
This address is valid in its unmodified form but expires soon.

 
Reply With Quote
 
ToasterKing
Guest
Posts: n/a
 
      19th October 2003
In article <bmout2$p7ure$(E-Mail Removed)>, Thomas
Engelmeier <(E-Mail Removed)> wrote:

> In article <121020030050384885%(E-Mail Removed) >,
> ToasterKing <(E-Mail Removed)> wrote:
>
> > Now I just need to set aside some time to learn
> > how to use MRJ from the command shell.

>
> You just need to install the (MRJ SDK) MPW tools and just can type java
> <commandlineoptions>


Thanks a lot -- what a simple answer! I'll let you know how it works
out.

--
<<Please remove the word "SPLAT" from either below address to use it.>>
Email: private.php?do=newpm&u=
Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
 
Reply With Quote
 
ToasterKing
Guest
Posts: n/a
 
      19th October 2003
In article <bmout2$p7ure$(E-Mail Removed)>, Thomas
Engelmeier <(E-Mail Removed)> wrote:

> In article <121020030050384885%(E-Mail Removed) >,
> ToasterKing <(E-Mail Removed)> wrote:
>
> > Now I just need to set aside some time to learn
> > how to use MRJ from the command shell.

>
> You just need to install the (MRJ SDK) MPW tools and just can type java
> <commandlineoptions>


Thanks a lot -- I can execute commands in MPW passed to Java classes
now. The only problem is that whenever I try to run this Java applet
(wakeonlan.jar), MPW Shell unexpectedly quits with a type 2 error
(address error). Without an error, I'm not really sure what's wrong.
Since you have experience using MRJ in MPW, maybe you're familiar with
this problem? I know that Java/MRJ is not really fault-tolerant and as
such the cause could be most anything, but maybe you have some leads?

Thanks,
TK

--
<<Please remove the word "SPLAT" from either below address to use it.>>
Email: private.php?do=newpm&u=
Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac OS X: Speech Recognition - computer does not respond to spoken commands Newsbot Apple News 0 8th November 2006 08:01 PM
Mac OS X 10.4: Speech Commands window is empty Newsbot Apple News 0 7th November 2006 07:53 PM
AT commands for Mac Mini sawney beane Communication 3 16th May 2006 10:46 PM
Mac basics (e.g. keystroke commands in MAC, pstock Mac 3 24th March 2006 07:41 AM
WakeOnLan/Java commands on Mac OS 9 ToasterKing Programmer Help 8 19th October 2003 09:19 PM


All times are GMT +1. The time now is 06:11 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
iMac user running Logic 9, slow and sluggish across the board...
EddieBanda (4 Hours Ago, 02:08 AM)

Equals sign won't type
frisbeecat (5 Hours Ago, 01:01 AM)

help with external hard drive transfer
Marilyn (6 Hours Ago, 11:19 PM)

mulitple file copy from failing drive
lbpd716 (7 Hours Ago, 10:55 PM)

Corrupted HD after force quitting XCode installer
geoffreyiy (1 Day Ago, 04:30 AM)