From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XukUt-0007Gy-VY for mharc-grub-devel@gnu.org; Sat, 29 Nov 2014 11:03:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XukUl-0007F3-RZ for grub-devel@gnu.org; Sat, 29 Nov 2014 11:03:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XukUf-0001wW-9M for grub-devel@gnu.org; Sat, 29 Nov 2014 11:03:39 -0500 Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:61026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XukUf-0001wN-0a for grub-devel@gnu.org; Sat, 29 Nov 2014 11:03:33 -0500 Received: by mail-la0-f43.google.com with SMTP id ge10so2181086lab.16 for ; Sat, 29 Nov 2014 08:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=N+07Y/ZDqXt9pamo8zX3rHAp3/nScU9Qp6w6t+qWpQE=; b=Lg00BZTo0/gC+91TwY+9J4w9wpQtSYitANS9BpOWZCfP6k1iECDE8YOfdf0yXKb68E UmdlJznfT/Zl3qbRgV7jQvHdT+dkB19im8mDV4j6vkM1Qt7TVg0pNsMI0reCwVNUprnM /GTn0h5XD65F+RoXE+V2T9IhJ6unESrAovUjP9vrukfyVuXJj3OOFwk/y7n5/Y+pnPlc zjF+BqLrjwuInS5HR6jD02rk9hKA+QkUat+KLl6/BWaZsCCR15pbN9sN9+16BpecTiVf fhwLnxUhl9udMRpGRMyJEaLbSkgQ1Crrp51v8MAwa8ZMrqOAnASbaooEwNLHDfQAbOLv Wo7Q== X-Received: by 10.112.65.195 with SMTP id z3mr18708268lbs.36.1417277011960; Sat, 29 Nov 2014 08:03:31 -0800 (PST) Received: from opensuse.site (ppp91-76-15-25.pppoe.mtu-net.ru. [91.76.15.25]) by mx.google.com with ESMTPSA id wq1sm3404736lbb.24.2014.11.29.08.03.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Nov 2014 08:03:31 -0800 (PST) Date: Sat, 29 Nov 2014 19:03:29 +0300 From: Andrei Borzenkov To: Brugnara Daniele Subject: Re: Remotely choose a menu entry Message-ID: <20141129190329.64cdf9c5@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22b Cc: grub-devel@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2014 16:03:45 -0000 =D0=92 Sat, 29 Nov 2014 01:10:28 +0000 Brugnara Daniele =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi all. >=20 > 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) >=20 > If a wol can be delivered successfully, an UDP packet containing simple > datas should be enough to achieve this. >=20 > Something like this: >=20 > - 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.. >=20 > This option should be enabled in the grub.conf by the user. >=20 > What do you think about? Could this be useful? Am I missing something, li= ke > a tool that does this automagically? >=20 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).=20 > 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... >=20 > Thanks for your time. >=20 > Daniele.