From 547d4b1d9fd3e4ea2ea18fbf76823afac0279398 Mon Sep 17 00:00:00 2001 From: Karsten Merker Date: Thu, 1 May 2014 19:36:21 +0000 Subject: installation-guide: Add a "Setting the ethernet MAC address in u-boot" subsection in the "Pre-Installation Hardware and Operating System Setup" section. --- debian/changelog | 5 +++-- en/preparing/bios-setup/arm.xml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index bc283a550..1f602297a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,8 +20,9 @@ installation-guide (201312xx) UNRELEASED; urgency=low * Disable the references to the Thecus N2100 and the GLAN Tank in the "Where to Find Installation Images" section. Both are Intel iop32-based systems which are not supported in Jessie anymore. - * Add an "ARM firmware" subsection in the "Pre-Installation Hardware - and Operating System Setup" section. + * Add an "ARM firmware" and a "Setting the ethernet MAC address + in u-boot" subsection in the "Pre-Installation Hardware and + Operating System Setup" section. * Remove ia64, s390 and sparc from the supported architecture list for Jessie. * Update several common entities for Jessie. diff --git a/en/preparing/bios-setup/arm.xml b/en/preparing/bios-setup/arm.xml index 24c2a0818..0db9a1ce2 100644 --- a/en/preparing/bios-setup/arm.xml +++ b/en/preparing/bios-setup/arm.xml @@ -27,3 +27,44 @@ product-independend instructions for ARM-based systems. + + + Setting the ethernet MAC address in u-boot + + The MAC address of every ethernet interface should normally be + globally unique, and it technically has to be unique within its + ethernet broadcast domain. To achieve this, the manufacturer usually + allocates a block of MAC addresses from a centrally-administered + pool (for which a fee has to be paid) and preconfigures one of these + addresses on each item sold. + + + In the case of development boards, sometimes the manufacturer wants to + avoid paying these fees and therefore provides no globally unique + addresses. In these cases the users themselves have to define MAC + addresses for their systems. When no MAC address is defined for an + ethernet interface, some network drivers generate a random MAC address + that can change on every boot, and if this happens, network access + would be possible even when the user has not manually set an address, + but e.g. assigning semi-static IP addresses by DHCP based on the MAC + address of the requesting client would obviously not work reliably. + + + To avoid conflicts with existing officially-assigned MAC addresses, + there is an address pool which is reserved for so-called + locally administered addresses. It is defined by + the value of two specific bits in the first byte of the address (the + article "MAC address" in the English language Wikipedia gives a + good explanation). In practice this means that e.g. any address starting + with hexadecimal ca (such as caffee123456) can be used as a locally + administered address. + + + On systems using u-boot as system firmware, the ethernet MAC address + is placed in the ethaddr environment variable. + It can be checked at the u-boot command prompt with the command + printenv ethaddr and can be set with the command + setenv ethaddr caffee123456. After setting the value, + the command saveenv makes the assignment permanent. + + -- cgit v1.2.3