From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ua9zh-0004j8-Tm for mharc-grub-devel@gnu.org; Wed, 08 May 2013 15:25:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua9ze-0004eR-GM for grub-devel@gnu.org; Wed, 08 May 2013 15:25:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ua9zd-0001ON-1g for grub-devel@gnu.org; Wed, 08 May 2013 15:25:38 -0400 Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:60604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ua9zZ-0001NA-BN; Wed, 08 May 2013 15:25:33 -0400 Received: by mail-la0-f54.google.com with SMTP id fd20so2110021lab.27 for ; Wed, 08 May 2013 12:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=xrY7vINr6uQsAXB2Jcc9kUi0drIlwBCnq7alch10IKU=; b=PcKM4hUqGN52gI+hItBpBfashDHm0pKPijgdCecTriKgq2IVPiSwD2qZubLW1qihss +fAc4KPqaLHwQMtbr3R0vRuwOv7FQnqxBduOWblE5GGoWprd1QYqjMfxQ8o2TMyVX3Yx MExlmCkuC8ntubjoNCfZbj1aXXg+tRjBUSvRN1viFGlJcqu7ZSuM48Eekcht8WFuybSP bBmWUTVvCAKntV+rndyCZMJ0Gyj0fgu0rFTF8Dd31MXzEZX0Ft99EqsmHxWb9LcKcsUe Yf12zA0TUAGrtFFuyWsYewtyPUSev48TglT1PsLrX8ZjqULeCzSkq9mDp19w4I8cE93j 3MlQ== X-Received: by 10.112.125.232 with SMTP id mt8mr979817lbb.55.1368041131384; Wed, 08 May 2013 12:25:31 -0700 (PDT) Received: from opensuse.site ([94.29.72.160]) by mx.google.com with ESMTPSA id pm9sm151703lbb.8.2013.05.08.12.25.30 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 08 May 2013 12:25:30 -0700 (PDT) Date: Wed, 8 May 2013 23:25:29 +0400 From: Andrey Borzenkov To: Rigoberto Corujo Subject: Re: Obtaining the MAC address of the boot NIC for a PXE boot Message-ID: <20130508232529.45088742@opensuse.site> In-Reply-To: <1368034067.35751.YahooMailNeo@web120203.mail.ne1.yahoo.com> References: <1367240132.58582.YahooMailNeo@web120204.mail.ne1.yahoo.com> <20130501185934.3f2b9c28@opensuse.site> <1368034067.35751.YahooMailNeo@web120203.mail.ne1.yahoo.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::236 Cc: "help-grub@gnu.org" , "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: Wed, 08 May 2013 19:25:40 -0000 ÷ Wed, 8 May 2013 10:27:47 -0700 (PDT) Rigoberto Corujo ÐÉÛÅÔ: > > Thank you very much, Andrey. šThis worked. šI did have to add the following lines to "grub-core/Makefile.core.am" to get a "eval.mod" generated, but I'm sure that it's probably because I missed an important step that would have automatically generated it. > In the meantime Vladimir pushed different implementation that provides net_default_mac: `net_default_interface' Initially set to name of network interface that was used to load grub. Read-write, although setting it affects only interpretation of `net_default_ip' and `net_default_mac' `net_default_ip' The IP address of default interface. Read-only. This is alias for the `net_${net_default_interface}_ip'. `net_default_mac' The default interface's MAC address. Read-only. This is alias for the `net_${net_default_interface}_mac'. Could you verify that it works for you? Also if you would comment on documentation in Network section from user's perspective.