Professional Web Applications Themes

WakeOnLan/Java commands on Mac OS 9 - Mac Programming

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 ...

  1. #1

    Default WakeOnLan/Java commands on Mac OS 9

    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: mailto:com
    Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
    ToasterKing Guest

  2. #2

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article <081020031631074788%com>,
    ToasterKing <com> 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.

    --
    Tom Stiller

    PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
    7BDA 71ED 6496 99C0 C7CF
    Tom Guest

  3. #3

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article
    <comcast.giganews.com>, Tom
    Stiller <net> wrote:
     

    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: mailto:com
    Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
    ToasterKing Guest

  4. #4

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article <081020032350265966%com>,
    ToasterKing <com> wrote:
     
    >
    > 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.[/ref]

    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
    Tom Guest

  5. #5

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article
    <comcast.giganews.com>, Tom
    Stiller <net> wrote:
     

    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: mailto:com
    Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
    ToasterKing Guest

  6. #6

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article <121020030050384885%com>,
    ToasterKing <com> wrote:
     

    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.

    Thomas Guest

  7. #7

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article <bmout2$p7ure$news.uni-berlin.de>, Thomas
    Engelmeier <com> wrote:
     
    >
    > You just need to install the (MRJ SDK) MPW tools and just can type java
    > <commandlineoptions>[/ref]

    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: mailto:com
    Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
    ToasterKing Guest

  8. #8

    Default Re: WakeOnLan/Java commands on Mac OS 9

    In article <bmout2$p7ure$news.uni-berlin.de>, Thomas
    Engelmeier <com> wrote:
     
    >
    > You just need to install the (MRJ SDK) MPW tools and just can type java
    > <commandlineoptions>[/ref]

    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: mailto:com
    Visit ToasterKingdom at http://SPLATtoasterking.tripod.com/
    ToasterKing Guest

  9. #9

    Default Re: WakeOnLan/Java commands on Mac OS 9

    ToasterKing <com> wrote:
     

    Guessing does not help. Download and install MacsBug from
    developer.apple.com, and whenever the crash occurs type "sc6" <return>
    and "g" <return>.

    Regards,
    Tom_E

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

    Thomas Guest

Similar Threads

  1. #25651 [Bgs]: mixing --with-java and --enable-debug pull out java
    By fperez at tuzsa dot es in forum PHP Development
    Replies: 0
    Last Post: September 26th, 06:26 AM
  2. Replies: 0
    Last Post: August 8th, 11:18 AM
  3. Java Script error (error 3) when trying to access Commands
    By Pvt. Grover in forum Macromedia Dreamweaver
    Replies: 2
    Last Post: August 7th, 09:27 PM
  4. Call CLI Commands from Java
    By Janick in forum IBM DB2
    Replies: 0
    Last Post: August 4th, 10:55 AM
  5. Replies: 0
    Last Post: August 2nd, 08:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139