Fixed network autoconfiguration as explained in #200, fixes #200
[openwrt.git] / target / linux / package / base-files / files / brcm-2.6 / etc / init.d / S05netconfig
index 27336e1..3c4c032 100755 (executable)
@@ -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"
This page took 0.029944 seconds and 4 git commands to generate.