summaryrefslogtreecommitdiffstats
path: root/defaultenv/defaultenv-2-base/network/eth0
diff options
context:
space:
mode:
Diffstat (limited to 'defaultenv/defaultenv-2-base/network/eth0')
-rw-r--r--defaultenv/defaultenv-2-base/network/eth016
1 files changed, 16 insertions, 0 deletions
diff --git a/defaultenv/defaultenv-2-base/network/eth0 b/defaultenv/defaultenv-2-base/network/eth0
new file mode 100644
index 0000000..7e731ca
--- /dev/null
+++ b/defaultenv/defaultenv-2-base/network/eth0
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# ip setting (static/dhcp)
+ip=dhcp
+global.dhcp.vendor_id=barebox-${global.hostname}
+
+# static setup used if ip=static
+ipaddr=
+netmask=
+gateway=
+serverip=
+
+# MAC address if needed
+#ethaddr=xx:xx:xx:xx:xx:xx
+
+# put code to discover eth0 (i.e. 'usb') to /env/network/eth0-discover