All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Brugnara Daniele <daniele@brugnara.me>
Cc: grub-devel@gnu.org
Subject: Re: Remotely choose a menu entry
Date: Sat, 29 Nov 2014 19:03:29 +0300	[thread overview]
Message-ID: <20141129190329.64cdf9c5@opensuse.site> (raw)
In-Reply-To: <CAODAU+pn9LOJV=j+QmgqzytZY8wmWxRQwJ_y1ToV_3bQnSO5iA@mail.gmail.com>

В Sat, 29 Nov 2014 01:10:28 +0000
Brugnara Daniele <daniele@brugnara.me> пишет:

> Hi all.
> 
> I'm thinking about a system that boots with a wol packet. Who sends this
> packet in 99% of cases, is far away from that computer and it could be
> useful to boot into a different system instead of the default one. (please
> keep in mind that changing the default option in grub is not a option for
> this specific use case)
> 
> If a wol can be delivered successfully, an UDP packet containing simple
> datas should be enough to achieve this.
> 
> Something like this:
> 
> - MAC: the destination device mac address
> - choice: a number (can be empty)
> - commandLine: a full commandline (a choice or this..)
> - more? I don't know for now..
> 
> This option should be enabled in the grub.conf by the user.
> 
> What do you think about? Could this be useful? Am I missing something, like
> a tool that does this automagically?
> 

Yes, it could probably be implemented as a command that loops listening
for magic packet and then sets default menu option. Of course, you
would need to consider security aspects (who is allowed to send
packet, how it is authenticated etc). 

> I've read about an eth-to-serial but it's not what I want.
> PXE or bootp is not an option here. I don't want to manage another
> server...
> 
> Thanks for your time.
> 
> Daniele.



  reply	other threads:[~2014-11-29 16:03 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-29  1:10 Remotely choose a menu entry Brugnara Daniele
2014-11-29 16:03 ` Andrei Borzenkov [this message]
2014-11-29 16:16   ` Brugnara Daniele
2014-12-01  8:19     ` Parmeshwr_Prasad
2014-12-01 10:37       ` Andrei Borzenkov
2014-12-01 10:43         ` Parmeshwr_Prasad
2014-12-01 11:29           ` Andrei Borzenkov
2014-12-01 11:30             ` Parmeshwr_Prasad
2014-12-01 23:13     ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-12-02  6:22       ` Parmeshwr_Prasad
2014-12-02 16:22 ` Autopilot, a module for remotely doing things Brugnara Daniele
2014-12-03  7:42   ` Andrei Borzenkov
2014-12-03  8:18     ` Brugnara Daniele
2014-12-03  8:31       ` Andrei Borzenkov
2014-12-03 17:00         ` Brugnara Daniele
2014-12-03 18:03           ` Alan Perry
2014-12-03 20:03             ` Brugnara Daniele
2014-12-03 20:34               ` Brugnara Daniele
2014-12-04  6:26                 ` Andrei Borzenkov
2014-12-04  3:41               ` Andrei Borzenkov
2014-12-07 16:41   ` Vladimir 'φ-coder/phcoder' Serbinenko
  -- strict thread matches above, loose matches on Subject: below --
2014-12-01 12:03 Remotely choose a menu entry Brugnara Daniele
2014-12-01 16:43 ` Jonathan McCune
2014-12-01 18:59   ` Brugnara Daniele

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=20141129190329.64cdf9c5@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=daniele@brugnara.me \
    --cc=grub-devel@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.