[PATCH 10/11] defaultenv: place eth0.ethaddr more visibly

Wolfram Sang w.sang at pengutronix.de
Sun Sep 25 16:54:13 EDT 2011


The config file looks like you just need to set ethaddr when you do
static IP. This is misleading, so put the setting to a more prominent
place.

Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
---
 defaultenv/config |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/defaultenv/config b/defaultenv/config
index c2fe6ce..0aaead5 100644
--- a/defaultenv/config
+++ b/defaultenv/config
@@ -3,6 +3,9 @@
 machine=FIXME
 #user=
 
+# Enter MAC address here if not retrieved automatically
+#eth0.ethaddr=de:ad:be:ef:00:00
+
 # use 'dhcp' to do dhcp in barebox and in kernel
 # use 'none' if you want to skip kernel ip autoconfiguration
 ip=dhcp
@@ -12,7 +15,6 @@ ip=dhcp
 #eth0.netmask=a.b.c.d
 #eth0.serverip=a.b.c.d
 #eth0.gateway=a.b.c.d
-#eth0.ethaddr=de:ad:be:ef:00:00
 
 # can be either 'tftp', 'nfs', 'nand', 'nor' or 'disk'
 kernel_loc=tftp
-- 
1.7.5.4




More information about the barebox mailing list