aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-01-11 16:13:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-01-11 16:13:25 +0000
commita0f7416c539ce302eb9f6bd61bbe02604c715a4d (patch)
treebe2b836f6daefd7e7bf717666906a27d4c2e35ec /target/linux
parentce4cde8a938e1aca30e6640f8b244bddce1db5cf (diff)
downloadupstream-a0f7416c539ce302eb9f6bd61bbe02604c715a4d.tar.gz
upstream-a0f7416c539ce302eb9f6bd61bbe02604c715a4d.tar.bz2
upstream-a0f7416c539ce302eb9f6bd61bbe02604c715a4d.zip
Fixed network autoconfiguration as explained in #200, fixes #200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2912 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
index 27336e112e..3c4c032563 100755
--- a/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
+++ b/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig
@@ -57,7 +57,7 @@ END {
# WAP54G
if ((nvram["boardnum"] == "2") || \
(nvram["boardnum"] == "1024")) {
- c["lan_ifnames"]="eth0 eth1"
+ c["lan_ifnames"]="eth1 eth2"
c["wan_ifname"]=""
}
@@ -78,6 +78,7 @@ END {
print "# lan_gateway=\"192.168.1.1\""
print ""
+ p("unused_ifnames")
print ""
print "#### WAN configuration"