↓ التخطى الى المحتوى الأساسى
  1. مقالات/

مقدمة الجزء الأول من Wake on LAN

Rubén Infante Docio
الناشر
Rubén Infante Docio
مهندس برمجيات
الاستيقاظ على الشبكة المحلية - هذا المقال جزء من سلسلة.
جزء 1: هذه المقالة

أندرويد وول LAN

اليوم نبدأ سلسلة من الدروس التعليمية لتشغيل جهاز كمبيوتر لينكس آخر على شبكتنا، سواء على نفس الشبكة المحلية أو عبر الإنترنت، مثل خادم.

الأساسيات
#

WOL: Wake On LAN هي التقنية التي تسمح لنا بتشغيل جهاز كمبيوتر على الشبكة عن بعد. WAN : في هذه الحالة أشير إلى Wake on LAN عبر الإنترنت WWAN. MAC : هو العنوان الفعلي لبطاقة الشبكة، أي معرف فريد. الخادم: في هذه الحالة سيكون الكمبيوتر هو الذي نريد تشغيله عن بعد. العميل: في هذه الحالة سيكون الجهاز هو الذي سيرسل الأمر إلى الخادم لتشغيله. الخطوات

  1. قم بتكوين BIOS الخاص بالخادم بحيث عند إيقاف تشغيل الكمبيوتر، تستمع بطاقة الشبكة لبطاقة “حزمة سحرية” عند الطلب.
    1. للقيام بذلك، سندخل إلى البيوس عن طريق إعادة تشغيل الكمبيوتر والضغط على (DEL أو F2 حسب الطراز)، بمجرد البدء.
    2. سنبحث عن منطقة البيوس، حيث يتم تكوين خيارات الطاقة (الطاقة) أو الطاقة (BOOT) حسب النماذج.
    3. سنقوم بتفعيل الخيارات التي يذكر فيها الشبكة، WOL، PME (حدث إدارة الطاقة)، إلخ.
    4. سندخر ونخرج مع F10 بشكل طبيعي.
    5. إذا لم تجد هذه الخيارات، ابحث عن “تفعيل علامة العلامة التجارية_BIOS”، يمكن العثور على علامة البيوس عند إقلاع الكمبيوتر على أول شاشة تظهر.
  2. نحصل على عنوان IP الحالي للكمبيوتر الذي نريد تشغيله وذاكرة MAC لواجهة الشبكة الخاصة به
    1. نفتح محطة

    2. ندخل القيادة

      //Windows
      ipconfig /all
      //Linux
      ifconfig
      //Linux puerta de enlace
      netstat -nr|head -3|tail -1 |cut -d" " -f10
    3. نأخذ البيانات التالية من واجهة الشبكة لدينا، في حالتي eth0، كما رأينا سابقا  متغير لينكس نظام ويندوزIPOFSERVER Direc. inet: عنوان IPv4MACOFSERVERaddressHW العنوان الفيزيائيINTERFACEOFSERVEReth0Ethernet محول إيثرنت:GATEWAYالبوابة الافتراضية

  3. قم بتكوين الراوتر، حتى لو كنا قد كتبنا IP ثابت، في هذه الحالة عندما يكون مغلقا، يقوم الراوتر بتعيين عنوان IP الذي يراه مناسبا، لذا من خلال MAC سنخبره أنه حتى عندما يكون مغلقا، فإنه سيعطي نفس عنوان IP دائما، دون أخذ إعدادات النظام في الاعتبار.
    1. ربما يمكن تخطي هذه الخطوة مع أجهزة التوجيه الحالية، حيث يحاول العديد منها دائما استخدام نفس MAC لنفس عنوان IP، لكن لا ضرر من التأكد.
    2. قم بتكوين جدول ARP الثابت لخادم MAC.
      1. على سبيل المثال، على راوتري جهاز Huawei HG622 من Jazztel
        1. ندخل الراوتر عبر telnet عن طريق وضع بوابة الشبكة في .

        2. يمكننا استشارة ذلك باستخدام زر ويندوز ->cmd->ipconfig/all -> والبحث عن “بوابة” لاتصالنا.

        3. أدخل اسم المستخدم وكلمة المرور التي ستكون مسؤول ومسؤول

        4. أدخل “ش” لدخول القشرة

        5. ندخل الأوامر التالية التي حصلنا عليها في الخطوة السابقة

          //Primero para ver el formato en que debemos introducirlo
          arp
          //(sin comillas)
          arp "ipdelequiposervidor" "macdelequiposervidor" -s
      2. هذا الجزء لن يكون نفسه على جميع أجهزة التوجيه، لذا أنصحك بالبحث في جوجل عن “تعيين نفس عنوان IP دائم_router” أو “اسم جدول ARP الثابت_router”.

ملاحظة حكيمة: في السابق، لم تكن كل أجهزة الكمبيوتر مزودة بشبكة Wake على الشبكة المحلية، وفي تلك التي كانت تعمل، كان من الضروري توصيل كابل من بطاقة الشبكة إلى اللوحة الأم، والتي كان يجب أن تدعمه أيضا.

حاليا، جميع أجهزة PCS تحتوي على هذه الوظيفة

الاستيقاظ على الشبكة المحلية - هذا المقال جزء من سلسلة.
جزء 1: هذه المقالة

مقالات ذات صلة


Comentarios

  • […] WOL (Enciende tu PC remotamente) Parte 1 Introducción […]
  • […] ← Anterior Siguiente → […]
  • MatiasCG
    MatiasCG
    Buenas, gracias por tu aporte. Una pregunta, es necesario que exista un servidor? No se puede realizar un wwan si solo tengo el router y la pc que quiero encender? Saludos
    • ruben0909

      Sí claro, en este caso estoy llamo “servidor” al PC que quieres encender. En contraposición al cliente que es el que lo enciende.

      Un saludo

  • […] WOL (Enciende tu PC remotamente) Parte 1 Introducción […]
  • […] WOL (Enciende tu PC remotamente) Parte 1 Introducción […]
  • […] WOL (Enciende tu PC remotamente) Parte 1 Introducción […]
  • Jose Bonifas
    Jose Bonifas

    Hola, bo consigo asignar valor arp en router. Si se consigue, cada vez que se reinicia router se pierde el valor.

    No consigo que el pc arranque a remoto, si en la misma red.

    Un saludo.

    • Rubén Infante Docio

      Hola Jose, Al introducir el comando prueba con arp -s “ipdelequiposervidor” “macdelequiposervidor”

      Es decir, como en el post pero con la “-s” antes de la ip y la MAC.

      En caso de que tampoco funcione, siempre puedes hacer un script en bash para que se ejecute cada vez que se reinicie el router.

      Un saludo

      • Jose Bonifas
        Jose Bonifas

        Hola, Ruben, ¿como se puede hacer un script para que envie mail de notificacion?

        Un saludo.

        • Rubén Infante Docio
          Hola Jose, Pues depende un poco de cómo tengas montado el sistema. Si tu SO es un linux tendrás que hacer un script unix. Si tu SO es Windows puedes hacer un Script en Powershell. Ambos deberán ejecutarse al inicio, y enviar un email. Hay mucha información en internet sobre cómo hacer esto y aquí en el blog hay varios post que contienen scripts que hacen esto. Quizá la parte más complicada sea detectar si el pc se ha encendido mediante botón o WOL, pero ya sabés San Google es tu amigo. Quizá puedes empezar por aquí Cualquier duda me dices.
          • Jose
            Jose

            Buenas tardes, no puedo instalar el Power Shell en windows 7, ¿alguna ayuda?

            Un saludo.

  • […] Abres el puerto 32400 como se indica aquí […]
  • Lucio Macy
    Lucio Macy
    Actually when someone doesn’t understand then its up to other people that they will help, so here it happens.
  • Alena Kraegen
    Alena Kraegen
    Aw, this was an extremely nice post. Spending some time and actual effort to produce a great article… but what can I say… I put things off a lot and don’t seem to get nearly anything done.
    • Rubén Infante Docio

      Hi Alena, There are two main problems that you can have.

      1. Open the next port in the nat section of yoyr router. 6,7,8,9,11.
      2. In some computers only works if you turn off your computer properly.Not from button.
      3. Check your BIOS config. And check the instructions of your bios about that.
  • Angie O'Driscoll
    Angie O'Driscoll
    Definitely believe that which you said. Your favourite reason seemed to be at the web the easiest thing to take into account of. I say to you, I definitely get annoyed while other people consider issues that they plainly do not recognise about. You managed to hit the nail upon the highest and also defined out the whole thing with no need side effect , other folks can take a signal. Will probably be back to get more. Thanks
  • Latanya Rene
    Latanya Rene
    Hello, after reading this remarkable piece of writing i am as well delighted to share my knowledge here with friends.
  • Leonel Shipman
    Leonel Shipman
    I think the admin of this web page is in fact working hard in favor of his website, because here every material is quality based stuff.
  • Ellis Muskett
    Ellis Muskett
    Thanks for every other informative web site. The place else may just I get that kind of info written in such an ideal way? I’ve a project that I’m simply now operating on, and I’ve been at the look out for such information.
  • Houston Bellew
    Houston Bellew
    Attractive section of content. I simply stumbled upon your site and in accession capital to assert that I acquire actually loved account your blog posts. Any way I will be subscribing on your augment or even I success you get right of entry to persistently quickly.
  • Salvatore Nerli
    Salvatore Nerli
    I take pleasure in, cause I discovered just what I used to be taking a look for. You have ended my four day long hunt! God Bless you man. Have a great day. Bye
  • Sol Giffen
    Sol Giffen
    Can I just say what a relief to discover someone who genuinely understands what they are talking about on the internet. You definitely know how to bring an issue to light and make it important. More and more people ought to read this and understand this side of your story. I can’t believe you aren’t more popular because you most certainly possess the gift.
  • Whitney Walch
    Whitney Walch
    Paragraph writing is also a excitement, if you be familiar with afterward you can write if not it is complex to write.