diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-11 16:13:25 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-01-11 16:13:25 +0000 |
commit | 52185b8adac058188fdff053ee561d07da6d8126 (patch) | |
tree | f7ef57b0ca9ec1758175e64d9a06223ffd7fbb5d /openwrt/target/linux/package/base-files | |
parent | 5ece0782781b924c1c5e972fbbce18cde3fc19ce (diff) |
Fixed network autoconfiguration as explained in #200, fixes #200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2912 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/base-files')
-rwxr-xr-x | openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig b/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig index 27336e112..3c4c03256 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.6/etc/init.d/S05netconfig +++ b/openwrt/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" |