Results 1 to 9 of 9

Thread: URGENT!!! My PC is sleeping...

  1. #1
    Seth DK
    Guest

    URGENT!!! My PC is sleeping...

    I have succesfully found out how to use WOL (Wake On Lan) to turn on a computer with Visual Basic.

    But this however only works with LAN it seems.

    I have tried changing the UDP broadcast subnet from "255.255.255.255" (LAN) to something according to the IP address of the PC I wich to wake up (was told this was possible at www.planetsourcecode.com but could not get it to work)

    PLEASE ADVICE!!!!!!!!!!!

  2. #2
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    broadcast subnet is 255.255.255.0 (or 1)
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

  3. #3
    Seth DK
    Guest
    If I just enter 255.255.255.0 then I can wake up any PC in the world connected to the net just I have the MAC address??

  4. #4
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Dont' you dare try mine

    Well, give it a shot..
    I'm bringing geeky back...

  5. #5
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    Originally posted by Seth DK
    If I just enter 255.255.255.0 then I can wake up any PC in the world connected to the net just I have the MAC address??
    nono, pfef, only on your network!
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

  6. #6
    Seth DK
    Guest
    Say the computer has IP 1.2.3.4 and is connected to the ISP 24/7 with an always-on ADSL modem.

    How should I wake the PC??

    Specifying UDP remotehost = "1.2.3.255" or "1.2.3.0" or "1.2.3.1" does not work. Or even "1.2.3.4" does not work...

    Please help me on this matter...

    Is it limited to LAN?
    If yes: why?!? Usually you can send UDP messages to other subnets as well!!

    If no: HOW DO I SOLVE THIS PROBLEM????

    Can anyone supply me with info/source codes/specific links please???

    BTW TennisMan - I don't have your MAC number so don't worry!!

  7. #7
    New Member
    Join Date
    Feb 2002
    Posts
    3
    I don't know if this is the answer you're looking for, but most ISP's routers implement a pruning function to kill broadcast messages.

  8. #8
    Seth DK
    Guest

    I have the cure

    it's been a long time since I posted this thread. And since then I have found a solution.
    An ActiveX component from www.ninstall.com that of course can be used both for ASP and VB and so on...

  9. #9
    New Member
    Join Date
    Feb 2002
    Location
    OK
    Posts
    4

    Cool Subnetting...

    You had the right idea....wrong information. The broadcast address is dependant on the way your ISP assignes addresses.

    For example:

    My DSL provider has assigned me the following addresses (hypothetically)

    64.217.108.0/29 - what this means is that they are applying a 29-bit subnet mask to the class A network address....thus allowing them to break up the class A space into millions of networks.

    Therefore...my network is 64.217.108.0....with usable addresses of 64.217.108.1 thru 64.217.108.6....with a broadcast address of 64.217.108.7

    Hope this helps....must have a good working knowledge of networking to fully understand subnetting.

Posting Permissions

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



Click Here to Expand Forum to Full Width