ar71xx: fix WNDR3x00 model detection
[openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / network
index 489057d..f78f9bf 100755 (executable)
@@ -60,6 +60,18 @@ ramips_setup_macs()
                lan_mac=$(ramips_get_mac_binary factory 4)
                wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
                ;;
                lan_mac=$(ramips_get_mac_binary factory 4)
                wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
                ;;
+
+       dir-300-b1 |\
+       dir-300-b2 |\
+       dir-600-b1)
+               lan_mac=$(ramips_get_mac_binary devdata 16388)
+               wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
+               ;;
+
+       nbg-419n)
+                lan_mac=$(ramips_get_mac_binary factory 4)
+                wan_mac=$(ramips_get_mac_binary factory 40)
+               ;;
        esac
 
        [ -n $lan_mac ] && ucidef_set_interface_macaddr lan $lan_mac
        esac
 
        [ -n $lan_mac ] && ucidef_set_interface_macaddr lan $lan_mac
This page took 0.021833 seconds and 4 git commands to generate.