aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-04-09 08:03:08 +0000
committerSteven Barth <cyrus@openwrt.org>2013-04-09 08:03:08 +0000
commitea94d66b0fdb6a6853cd9ce8804c549fee6b553d (patch)
treeb1b411b81ea09041863013583c3a7e37e5b774f8 /target/linux/x86
parent3e4b2af125af9d775fef7ce09820bd9199005e14 (diff)
downloadupstream-ea94d66b0fdb6a6853cd9ce8804c549fee6b553d.tar.gz
upstream-ea94d66b0fdb6a6853cd9ce8804c549fee6b553d.tar.bz2
upstream-ea94d66b0fdb6a6853cd9ce8804c549fee6b553d.zip
Adapt default network configuration for IPv6
SVN-Revision: 36278
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/alix2/base-files/etc/config/network8
-rw-r--r--target/linux/x86/base-files/etc/defconfig/net4801/network8
-rw-r--r--target/linux/x86/geos/base-files/etc/config/network9
-rw-r--r--target/linux/x86/net5501/base-files/etc/config/network8
-rw-r--r--target/linux/x86/olpc/base-files/etc/config/network5
-rw-r--r--target/linux/x86/rdc/base-files/etc/config/network8
6 files changed, 46 insertions, 0 deletions
diff --git a/target/linux/x86/alix2/base-files/etc/config/network b/target/linux/x86/alix2/base-files/etc/config/network
index b46423fe15..9d70100add 100644
--- a/target/linux/x86/alix2/base-files/etc/config/network
+++ b/target/linux/x86/alix2/base-files/etc/config/network
@@ -14,7 +14,15 @@ config interface lan
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+ option ip6assign 64
config interface wan
option ifname eth0
option proto dhcp
+
+config interface wan6
+ option ifname @wan
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto
diff --git a/target/linux/x86/base-files/etc/defconfig/net4801/network b/target/linux/x86/base-files/etc/defconfig/net4801/network
index ff7b42d875..4cbae10900 100644
--- a/target/linux/x86/base-files/etc/defconfig/net4801/network
+++ b/target/linux/x86/base-files/etc/defconfig/net4801/network
@@ -10,7 +10,15 @@ config interface lan
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+ option ip6assign 64
config interface wan
option ifname eth0
option proto dhcp
+
+config interface wan6
+ option ifname @wan
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto
diff --git a/target/linux/x86/geos/base-files/etc/config/network b/target/linux/x86/geos/base-files/etc/config/network
index f49838318b..c9c12e3ce9 100644
--- a/target/linux/x86/geos/base-files/etc/config/network
+++ b/target/linux/x86/geos/base-files/etc/config/network
@@ -12,6 +12,7 @@ config interface lan
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+ option ip6assign 64
config atm-bridge
option unit 0
@@ -28,6 +29,14 @@ config interface wan
# clone your eth0 address here
# option macaddr '00:0A:FA:22:00:80'
+config interface wan6
+ option ifname @wan
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto
+
+
# 2nd interface on Geos2
#config interface wan
# option proto pppoa
diff --git a/target/linux/x86/net5501/base-files/etc/config/network b/target/linux/x86/net5501/base-files/etc/config/network
index c0b6230d58..37b73d1e59 100644
--- a/target/linux/x86/net5501/base-files/etc/config/network
+++ b/target/linux/x86/net5501/base-files/etc/config/network
@@ -12,7 +12,15 @@ config interface lan
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+ option ip6assign 64
config interface wan
option ifname eth0
option proto dhcp
+
+config interface wan6
+ option ifname @wan
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto
diff --git a/target/linux/x86/olpc/base-files/etc/config/network b/target/linux/x86/olpc/base-files/etc/config/network
index faa8f0e782..dc0bee1ee7 100644
--- a/target/linux/x86/olpc/base-files/etc/config/network
+++ b/target/linux/x86/olpc/base-files/etc/config/network
@@ -9,3 +9,8 @@ config interface loopback
config interface wlan
option ifname eth0
option proto dhcp
+
+config interface wlan6
+ option ifname @wlan
+ option proto dhcpv6
+ option reqprefix no
diff --git a/target/linux/x86/rdc/base-files/etc/config/network b/target/linux/x86/rdc/base-files/etc/config/network
index 44c57940e2..2632d88e3f 100644
--- a/target/linux/x86/rdc/base-files/etc/config/network
+++ b/target/linux/x86/rdc/base-files/etc/config/network
@@ -12,7 +12,15 @@ config interface lan
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+ option ip6assign 64
config interface wan
option ifname eth0
option proto dhcp
+
+config interface wan6
+ option ifname @wan
+ option proto dhcpv6
+
+config globals globals
+ option ula_prefix auto