From: "Anton V. Boyarshinov" <boyarsh@ru.echo.fr>
To: community@altlinux.ru
Subject: Re: [Comm] Remote shutdown
Date: Thu, 6 Mar 2003 17:35:33 +0300
Message-ID: <20030306143033.778982B51B@mail.ru.echo.fr> (raw)
In-Reply-To: <Pine.LNX.4.44.0303061741070.704-100000@tony.localnet>
On Thu, 6 Mar 2003 17:44:53 +0300 (MSK) Antonio
wrote:
> On Thu, 6 Mar 2003, Roman Grigoriev wrote:
>
> > Вот возникла у меня тут задача по дистанционному включению и
> > выключению компьютеров работающих под линуксом в сети
> > Причем надо написать программу на оффтопике чтобы
> > пользователь имел всего две кнопки ВКЛ и ВЫКЛ. со включением
> > вроде понятно смотрим езернет адреса сетевых карт и шлем
> > магический пакет и машина включена ( соответственно на машине
> > ставим автологин). С этим все понятно но вот как быть с
> > выключением? оно поятно есть например secureCRT ну и там
> > делаем ремутшутдаун. но так нельзя надо запрограммировать
> > чтоб при нажатии кнопки оно выключалось
>
> Почему-то я более чем уверен, что на фрешмите подобное есть уже
> очень давно.
>
> В принципе схема несложная: на линуксе сидит демон, слушает
> некий порт. По приходу некоего сообщения на этот порт (после
> проверки его валидности) дергает команду shutdown.
И имя этого демона: sshd ;)
Антон
--
mailto:boyarsh@mail.ru
mailto:boyarsh@ru.echo.fr
17:32:00 up 1 day, 1:02, 11 users, load average: 0.01, 0.04,
0.02
next prev parent reply other threads:[~2003-03-06 14:35 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-06 9:28 [Comm] Локаль Андрей Новосёлов
2003-03-06 10:10 ` Yura Kalinichenko
2003-03-06 13:55 ` Андрей Новосёлов
2003-03-06 14:04 ` [Comm] Remote shutdown Roman Grigoriev
2003-03-06 14:13 ` Dmytro O. Redchuk
2003-03-06 14:22 ` Roman Grigoriev
2003-03-06 14:34 ` Dmytro O. Redchuk
2003-03-06 14:44 ` Antonio
2003-03-06 14:35 ` Anton V. Boyarshinov [this message]
2003-03-07 8:50 ` Roman Grigoriev
2003-03-07 9:05 ` Anton V. Boyarshinov
2003-03-07 9:22 ` Roman Grigoriev
2003-03-07 9:32 ` Anton V. Boyarshinov
2003-03-07 9:47 ` Padukov Vladimir
2003-03-07 10:32 ` Mike Lykov
2003-03-07 12:01 ` Dmitry S Kiselev
2003-03-07 12:10 ` [Comm] " Sergey Vlasov
2003-03-07 12:37 ` Dmitry S Kiselev
2003-03-07 12:52 ` Sergey Vlasov
2003-03-07 14:24 ` Roman Grigoriev
2003-03-11 11:36 ` Anton V. Boyarshinov
2003-03-06 14:42 ` [Comm] Локаль Yura Kalinichenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030306143033.778982B51B@mail.ru.echo.fr \
--to=boyarsh@ru.echo.fr \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git