ramips: rt305x: add support for Edimax 3G-6200N
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index a605b22f8cc433259775e2ccefc270ceeb001650..db6e5c82f8a1dd799b4cd8b76568ede25f315bae 100644 (file)
@@ -8,6 +8,10 @@ preinit_set_mac_address() {
        . /lib/ramips.sh
 
        case $(ramips_board_name) in
+       3g-6200n)
+               mac=$(ramips_get_mac_binary factory 4)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+               ;;
        bc2 |\
        esr-9753 |\
        freestation5 |\