summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-02-28 22:59:03 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2018-02-28 22:59:03 +0100
commit9efd6294a9b24873639a09632974c873d61f04f9 (patch)
treeb2c79048cca982b824cb657fa8a99e994eaf480a
parent7482f1af30eb5e40de00cd80e7b20c321c90d519 (diff)
Configure lan interface with dhcp client
-rw-r--r--files/etc/config/network10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/etc/config/network b/files/etc/config/network
new file mode 100644
index 0000000..6d5e787
--- /dev/null
+++ b/files/etc/config/network
@@ -0,0 +1,10 @@
+
+config interface 'loopback'
+ option ifname 'lo'
+ option proto 'static'
+ option ipaddr '127.0.0.1'
+ option netmask '255.0.0.0'
+
+config interface 'lan'
+ option ifname 'eth0'
+ option proto 'dhcp'