case $(ramips_board_name) in
3g-6200n |\
+ 3g-6200nl |\
3g300m | \
+ w150m | \
mzk-w300nh2 |\
wl-330n |\
wl-330n3g)
;;
bc2 |\
broadway |\
+ d105 |\
dir-620-a1 |\
esr-9753 |\
freestation5 |\
rt-n56u |\
sl-r7205)
mac=$(mtd_get_mac_binary factory 4)
- mac=$(maccalc or "$mac" "02:00:00:00:00:00")
+ mac=$(macaddr_setbit_la "$mac")
ifconfig eth0 hw ether $mac 2>/dev/null
;;
dir-300-b1 |\
;;
dir-645)
mac=$(mtd_get_mac_ascii nvram lanmac)
- mac=$(maccalc or "$mac" "02:00:00:00:00:00")
+ mac=$(macaddr_setbit_la "$mac")
ifconfig eth0 hw ether $mac 2>/dev/null
;;
dap-1350)
w306r-v20 |\
w502u |\
wr6202 |\
+ wnce2001 |\
xdxrn502j)
mac=$(mtd_get_mac_binary factory 40)
ifconfig eth0 hw ether $mac 2>/dev/null