summaryrefslogtreecommitdiffstats
path: root/target/linux/package/openwrt/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-26 15:52:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-26 15:52:12 +0000
commit85fa7a0ac5527d54fe742e5df002d11d3a83699a (patch)
treecc27fd3cfca0cccad6db8cbd6ffe811e5adea94a /target/linux/package/openwrt/files
parent67881f7caf65c39557e3ee656fd9368aec200b65 (diff)
clean up board-dependent files, add pppoatm support, add proper config examples
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1754 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/openwrt/files')
-rw-r--r--target/linux/package/openwrt/files/ar7/etc/config/network31
-rw-r--r--target/linux/package/openwrt/files/ar7/etc/network.overrides (renamed from target/linux/package/openwrt/files/network.overrides.ar7)0
-rw-r--r--target/linux/package/openwrt/files/brcm/etc/config/network18
-rwxr-xr-xtarget/linux/package/openwrt/files/brcm/etc/init.d/S05nvram (renamed from target/linux/package/openwrt/files/S05nvram.brcm)0
-rw-r--r--target/linux/package/openwrt/files/brcm/etc/network.overrides (renamed from target/linux/package/openwrt/files/network.overrides.brcm)0
-rw-r--r--target/linux/package/openwrt/files/soekris/etc/config/network10
-rw-r--r--target/linux/package/openwrt/files/soekris/etc/network.overrides (renamed from target/linux/package/openwrt/files/network.overrides.soekris)0
7 files changed, 59 insertions, 0 deletions
diff --git a/target/linux/package/openwrt/files/ar7/etc/config/network b/target/linux/package/openwrt/files/ar7/etc/config/network
new file mode 100644
index 000000000..785ad05ee
--- /dev/null
+++ b/target/linux/package/openwrt/files/ar7/etc/config/network
@@ -0,0 +1,31 @@
+# Network configuration file
+# Uncomment the following statements to change the network configuration
+
+## LAN configuration
+# lan_ifame="br0"
+# lan_proto="static"
+# lan_ipaddr="192.168.1.1"
+# lan_netmask="255.255.255.0"
+# lan_gateway=""
+# lan_dns=""
+
+## WAN configuration (PPPoE)
+# wan_type=pppoe
+# wan_ifname=ppp0
+# pppoe_atm=1
+# pppoe_ifname=nas0
+# atm_vpi=8
+# atm_vci=35
+# ppp_username=my_username
+# ppp_passwd=my_passwd
+# ppp_mtu=1492
+
+## WAN configuration (PPPoA)
+# wan_type=pppoa
+# wan_ifname=ppp0
+# atm_vpi=8
+# atm_vci=35
+# ppp_username=my_username
+# ppp_passwd=my_passwd
+# ppp_mtu=1492
+
diff --git a/target/linux/package/openwrt/files/network.overrides.ar7 b/target/linux/package/openwrt/files/ar7/etc/network.overrides
index 9c0e81405..9c0e81405 100644
--- a/target/linux/package/openwrt/files/network.overrides.ar7
+++ b/target/linux/package/openwrt/files/ar7/etc/network.overrides
diff --git a/target/linux/package/openwrt/files/brcm/etc/config/network b/target/linux/package/openwrt/files/brcm/etc/config/network
new file mode 100644
index 000000000..6f09a502a
--- /dev/null
+++ b/target/linux/package/openwrt/files/brcm/etc/config/network
@@ -0,0 +1,18 @@
+# Network configuration file
+# Uncomment the following statements to override the default or nvram config
+
+## LAN configuration
+# lan_ifame="br0"
+# lan_proto="static"
+# lan_ipaddr="192.168.1.1"
+# lan_netmask="255.255.255.0"
+# lan_gateway=""
+# lan_dns=""
+
+## WAN configuration (PPPoE)
+# wan_type=pppoe
+# wan_ifname=ppp0
+# pppoe_ifname=vlan1
+# ppp_username=my_username
+# ppp_passwd=my_passwd
+# ppp_mtu=1492
diff --git a/target/linux/package/openwrt/files/S05nvram.brcm b/target/linux/package/openwrt/files/brcm/etc/init.d/S05nvram
index 0d1300b96..0d1300b96 100755
--- a/target/linux/package/openwrt/files/S05nvram.brcm
+++ b/target/linux/package/openwrt/files/brcm/etc/init.d/S05nvram
diff --git a/target/linux/package/openwrt/files/network.overrides.brcm b/target/linux/package/openwrt/files/brcm/etc/network.overrides
index 66f1abd24..66f1abd24 100644
--- a/target/linux/package/openwrt/files/network.overrides.brcm
+++ b/target/linux/package/openwrt/files/brcm/etc/network.overrides
diff --git a/target/linux/package/openwrt/files/soekris/etc/config/network b/target/linux/package/openwrt/files/soekris/etc/config/network
new file mode 100644
index 000000000..8383edbb5
--- /dev/null
+++ b/target/linux/package/openwrt/files/soekris/etc/config/network
@@ -0,0 +1,10 @@
+# Network configuration file
+# Uncomment the following statements to override the default or nvram config
+
+## LAN configuration
+# lan_ifame="br0"
+# lan_proto="static"
+# lan_ipaddr="192.168.1.1"
+# lan_netmask="255.255.255.0"
+# lan_gateway=""
+# lan_dns=""
diff --git a/target/linux/package/openwrt/files/network.overrides.soekris b/target/linux/package/openwrt/files/soekris/etc/network.overrides
index e857d5b5f..e857d5b5f 100644
--- a/target/linux/package/openwrt/files/network.overrides.soekris
+++ b/target/linux/package/openwrt/files/soekris/etc/network.overrides