From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XwNIQ-0005gy-Ih for mharc-grub-devel@gnu.org; Wed, 03 Dec 2014 22:41:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwNIJ-0005gA-PU for grub-devel@gnu.org; Wed, 03 Dec 2014 22:41:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwNIE-0005Cb-NI for grub-devel@gnu.org; Wed, 03 Dec 2014 22:41:31 -0500 Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:36203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwNIE-0005CV-Fj for grub-devel@gnu.org; Wed, 03 Dec 2014 22:41:26 -0500 Received: by mail-lb0-f182.google.com with SMTP id f15so14724540lbj.13 for ; Wed, 03 Dec 2014 19:41:25 -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=zQE0/A368TTwdAtT0Rac0XPxIrNxubya44xRnAIor8U=; b=lbEebwwj26rDIR9sHct9Rh3B3c4AVvRYR2g5VZl6G4yi+2pQNMXlxgGkChH+ixoN/L WAbR3UaTOwO3sO7If3JtdgvX/UoXfmggtPiSFTk3DW3h2k14xKS+l6gqjzelebejf84t b9hqLYJuhznuk97kUPZmxcWqN+zcJtj9BOZO3Cc1XwSJW+hRDv6BWGeaXowFtLPXScwd +91MhhM4VZqhuhpVOT0AKq88MiKl766avF8qz4ov2S8exzhIKbLoWM2Tg4Gu73zNhlPD xDG61OaINnRKetfRqQimrkQVIjfRAX4mc5ka2nhpqHxS08iGSDjzCcVJ6xiVQg4Y8CWC bkeQ== X-Received: by 10.152.37.38 with SMTP id v6mr7391972laj.10.1417664485655; Wed, 03 Dec 2014 19:41:25 -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 j2sm6947690lbp.16.2014.12.03.19.41.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Dec 2014 19:41:24 -0800 (PST) Date: Thu, 4 Dec 2014 06:41:22 +0300 From: Andrei Borzenkov To: Brugnara Daniele Subject: Re: Autopilot, a module for remotely doing things Message-ID: <20141204064122.4dc46d72@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:c04::236 Cc: Alan Perry , 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: Thu, 04 Dec 2014 03:41:37 -0000 =D0=92 Wed, 03 Dec 2014 20:03:04 +0000 Brugnara Daniele =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Do I have to initialize the network or grub does it self?=20 If grub is PXE booted, networking is already loaded and at boot interface is set up. If grub is loaded from disk, you have to do it yourself. net_bootp would try to autoconfigure all available adapters via DHCP. See also grub info for description. > I suppose that > calling *net_ls_cards* something should be printed out but this is not tr= ue > in my case. > *FOR_NET_CARDS* macro doesn't output any cards. > In the source code, I've found that there is a function *grub_net_card_re= gister > *and for what I have understood, this should be called somewhere. I think > that this is done by the modules: *efinet, emunet, ofnet, ubootnet *and* > pxe*. I'm trying to insmod-ding *ofnet* but with no fortune. > If I'm doing something stupid, please tell me. I don't want to waste your > time. >=20 > Thanks. >=20 >=20 >=20 >=20 > On Wed Dec 03 2014 at 7:03:19 PM Alan Perry wrote: >=20 > > > > > > > On Dec 3, 2014, at 9:00 AM, Brugnara Daniele > > wrote: > > > > > > source (http,http://192.168.1.70:1273)/ > > > source (http:http://192.168.1.70:1273)/ > > > source (http,192.168.1.70,1273)/ > > > source (http:192.168.1.70:1273:/) > > > [...] > > > > > > > > > > The syntax for a net device is (, ). in y= our > > case would be 'http'. would be 192.168.1.170. The http module= is > > hard-coded to use port 80. > > > > I am in the process of extending the syntax to allow the port to be > > specified (with syntax (, , )). Working through= a > > bug in my code. > > > > alan > > > >