ramips: rt305x: add support for Edimax 3G-6200N
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index a605b22..db6e5c8 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 |\