diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-12 20:25:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-12 20:25:30 +0000 |
commit | cc8b4b8143480d5343dc0ae553767527d6a2e0c7 (patch) | |
tree | 67f0d0a138cac58a6a5b768e74b5416fcb3ddadf /target/linux/x86/base-files/etc/config | |
parent | 55fe29b1b9bf4582d725a2436ee389a39d650cf1 (diff) | |
download | upstream-cc8b4b8143480d5343dc0ae553767527d6a2e0c7.tar.gz upstream-cc8b4b8143480d5343dc0ae553767527d6a2e0c7.tar.bz2 upstream-cc8b4b8143480d5343dc0ae553767527d6a2e0c7.zip |
x86: remove old soekris config hacks, install a more appropriate default /etc/config/network with lan+wan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42888 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/base-files/etc/config')
-rw-r--r-- | target/linux/x86/base-files/etc/config/network | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/x86/base-files/etc/config/network b/target/linux/x86/base-files/etc/config/network new file mode 100644 index 0000000000..c9953a0249 --- /dev/null +++ b/target/linux/x86/base-files/etc/config/network @@ -0,0 +1,26 @@ +# Copyright (C) 2006 OpenWrt.org + +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 type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + option ip6assign 60 + +config interface wan + option ifname eth1 + option proto dhcp + +config interface wan6 + option ifname eth1 + option proto dhcpv6 + +config globals globals + option ula_prefix auto |