Re: lug-bg: wake on lan
- Subject: Re: lug-bg: wake on lan
- From: micro@email.domain.hidden (Plamen Tonev)
- Date: Mon, 7 Jul 2003 14:28:27 +0300
On Mon, 07 Jul 2003 13:39:32 +0300
Georgi Chorbadzhiyski <gf_at_unixsol.org> wrote:
<em class="quotelev1">> Dorian Delorian wrote:
<em class="quotelev2">> > ïðîäúëæàâàé äà ñúíóâàø ...
<em class="quotelev1">>
<em class="quotelev1">> ñîôòóåðà, êîéòî òàêà óñèëåíî "òúðñèø" ñå íàìèðà ñàìî ñ äâå äóìè â google,
<em class="quotelev1">> îòãîâîðúò å dhcp, "ïðîäúëæàâàé äà òúðñèø"
<em class="quotelev1">>
Àáå òóê ñòàíà åäíà ;-))))
ßâíî ñúì áèë çàáëóäåí...÷å ICMP å äîñòàòú÷íî çà äà wake-up-íå.....ïîíå òàêèâà ñïîìåíè èìàõ...
äîêîëêîòî â ïîñëåäñòâèå âèäÿõ...å íåîáõîäèì íåçàâèñèìî êàêúâ ïàêåò (IP,IPX...) íî ñ îïðåäåëåí byte-seqience...:
WOL is based on the following principle:
When the PC shuts down, the NIC still gets power, and keeps listening on the network for a 'magic' packet to arrive. This packet must contain a certain byte-sequence, but can be encapsulated in any kind of packet (IPX, IP, anything). Take a look at the code for the magic sequence.
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.
For a more detailed description of the protocol, see the AMD white paper.
Ìèñëÿ, ÷å òóê ùå íè/Âè ñå èçáèñòðè âñè÷êî ;-)
http://gsd.di.uminho.pt/jpo/software/wakeonlan/mini-howto/
Àéäå è ëåêî ñ êîøìàðèòå ;-)
<em class="quotelev1">> ============================================================================
<em class="quotelev1">> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev1">> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
<em class="quotelev1">> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> ============================================================================
--
"Life is short - pray hard."
Man is certainly stark mad: He cannot make a flea,
yet he makes gods by the dozens. - Montaigne
--------------------------------------------------------
Public PGP key at: http://www.fadata.bg/pgp/micropgp.asc
--------------------------------------------------------
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
<hr> Attachment:
part
Description: PGP signature
|