… because the life is too short !!!


Turn on Your PC Through Network

You can easily turn on our PC from another PC within a network. I use a software named PCnet Magic Packet Utility to turn on my PC from a remote machine. It can only be done if the network cards & motherboards are Wake on LAN (WOL) complaint. You can easily check whether your motherboard is WOL compatible or not. When you shuts down your PC but power isn’t disconnected, if the led of the LAN card is blinked then it means that the LAN (also called NIC) card can receive magic packet from network. The led may not blinked if the option named “Wake on ARP/PING” or like that (cos it varies for vendor) of the LAN card is disabled. Then you need to check in BIOS settings of your motherboard. If there have any option like “Wake On by PME/Wake on LAN” or something like that it means your computer is compatible for WOL. The software I’ve used can be download from here.

 

Working Principle:

When the PC shuts down, the NIC still gets power, and keeps listening on the network for a ‘magic’ packet to arrive. This program uses UDP for sending the packet. The complete UDP packet, sent over an ethernet interface, looks something like this:.

[ethernet header][IP header][UDP header][Magic sequence][CRCS]

The only goal of the script is to send this packet over the network. It expects no returning data, since the NIC only listens, and does not reply anything.

Wake-up frame:

A Wake-up frame is a special data packet containing the Ethernet address of the remote network card. Somewhere in this frame should exist a byte stream (magic sequence) composed by, at the least, 16 times the repetition of the Ethernet address and preceded by a synchronization stream of 6 bytes of FFh.

Magic Sequence:

If the Ethernet address of a target computer is 01:02:03:04:05:06 (6 bytes), then the LAN controller of that machine should be looking for the following sequence:

FFFFFFFFFFFF010203040506010203040506010203040506010203040506
010203040506010203040506010203040506010203040506010203040506
010203040506010203040506010203040506010203040506010203040506
010203040506010203040506

For detailed information please visit here.

4 Responses to “Turn on Your PC Through Network”

  1. Shuman Says:

    Nice post.
    This is helpful for me. Because of we use shared network. One of the pc is used for internet server. So when the server pc is off, I can’t use internet.
    If I use this software I can start the server PC remotely.

    Thanks

  2. Md Shahed Hossain Says:

    আপনার ব্লগের এই অংশটি আমার খুব ভাল লেগেছে। কিন্ত আমাদের পিসি গুলোতে আমরা সাধারনত বিল্ট ইন ল্যান্ড কার্ড ব্যবহার করে থাকি সেই ধরনের মোডেম গুলো কি এই কজের জন্য পারফেক্ট। আর যদি আমি এই ধরনের মোডেম ব্যাহার করতে চাই সেক্ষেত্রে এই ধরনের মোডেম এর প্রাইজ কেমন পরবে একটু বিস্তারিত জানাবেন কি? জানালে কৃতার্থ হবো।

    ধন্যবাদান্তে
    মোঃ সাহেদ হোসাইন

  3. Md.Istiak mehedi Says:

    Thnx for ur nice topic and work. I hope u will better in future and hope we get more and more valuable work from u.

    From
    Shironumhin……………..Where no person,no love…..

  4. rubel Says:

    it’s a very nice subject to learn many new vision to all of them. i hope u should give us new subject and good luck to u

≡ Leave a Reply