From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XvPBX-0003T3-2u for mharc-grub-devel@gnu.org; Mon, 01 Dec 2014 06:30:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvPAu-0003MO-Vu for grub-devel@gnu.org; Mon, 01 Dec 2014 06:30:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XvPAP-00027K-Ou for grub-devel@gnu.org; Mon, 01 Dec 2014 06:29:52 -0500 Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:48965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XvPAP-00027E-L0 for grub-devel@gnu.org; Mon, 01 Dec 2014 06:29:21 -0500 Received: by mail-qa0-f41.google.com with SMTP id f12so7063512qad.0 for ; Mon, 01 Dec 2014 03:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=it8r9tIg7u3XQ43Do/mDsYspwR90DkKiR2LCw5paDvQ=; b=x2zEu9JMKzeQiWcgpvf6BEaH8TPQmgJMCMMLL21treEM3pUx+72nxhhY1v8lSLH47w oI7xoFnTXMxPs4M5SkgbAJ1eq8GA4D5gkCpso0W0EypyW9RxPD/e7o4mE1/+OrL5+Xrt VZeG73zHq0Qq1EacDqlni0FS83z0/rHD1oXImU82rO490giq36x9HR3aoHnTRW46M+5g f6YpTLfG1xCb+UJCehTOgQ8xR6OND9h9LtzUaWJMs+7gNHFSLb5unmjjzjl5lod4Pzm6 AB/iJJmlwadbwLxylagNDKhNwUFRozsCTioJUUzyOeP+S8iVItt2JmgdgqFhjICL9wwv dojQ== MIME-Version: 1.0 X-Received: by 10.224.34.133 with SMTP id l5mr12206641qad.44.1417433361308; Mon, 01 Dec 2014 03:29:21 -0800 (PST) Received: by 10.140.225.197 with HTTP; Mon, 1 Dec 2014 03:29:21 -0800 (PST) In-Reply-To: References: <20141129190329.64cdf9c5@opensuse.site> Date: Mon, 1 Dec 2014 14:29:21 +0300 Message-ID: Subject: Re: Remotely choose a menu entry From: Andrei Borzenkov To: Parmeshwr_Prasad@dell.com 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: 2607:f8b0:400d:c00::229 Cc: The development of GNU GRUB 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: Mon, 01 Dec 2014 11:30:29 -0000 On Mon, Dec 1, 2014 at 1:43 PM, wrote: > > If you wanted system to boot with wol package then it should get kernel a= nd initrd from somewhere. > What is your final goal? How you will get all required binaries ? > Are you asking me? I'm not a topic starter. > Regards > Parmeshwr > > -----Original Message----- > From: Andrei Borzenkov [mailto:arvidjaar@gmail.com] > Sent: Monday, December 01, 2014 4:08 PM > To: Prasad, Parmeshwr > Cc: The development of GNU GRUB > Subject: Re: Remotely choose a menu entry > > On Mon, Dec 1, 2014 at 11:19 AM, wrote: >> Is your idea is to send kernel+grub+initramfs through magic packet ? > > No. > >> >> if yes then lot of wol design should change first. >> >> >> >> Regards >> >> Parmeshwr >> >> >> >> From: grub-devel-bounces+parmeshwr_prasad=3Ddell.com@gnu.org >> [mailto:grub-devel-bounces+parmeshwr_prasad=3Ddell.com@gnu.org] On >> Behalf Of Brugnara Daniele >> Sent: Saturday, November 29, 2014 9:47 PM >> To: Andrei Borzenkov; Brugnara Daniele >> Cc: grub-devel@gnu.org >> Subject: Re: Remotely choose a menu entry >> >> >> >> I am thinking about a secret key known from both sender and receiver >> and encode/decode the packet using this, a strong algorithm, of course. >> >> Il giorno Sab 29 Nov 2014 17:03 Andrei Borzenkov >> ha >> scritto: >> >> =D0=92 Sat, 29 Nov 2014 01:10:28 +0000 >> Brugnara Daniele =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> >>> 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.