Skip to content

Commit

Permalink
ramips: update WLAN MAC address of JCG Y2
Browse files Browse the repository at this point in the history
MAC addresses on OEM firmware:
  04:xx:xx:xx:xx:c8  factory 0x4     wlan2g
  06:xx:xx:xx:xx:c8  [not on flash]  wlan5g

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
  • Loading branch information
aiamadeus authored and mans0n committed Mar 13, 2022
1 parent 285e636 commit 7fa227e
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -43,6 +43,10 @@ case "$board" in
[ "$PHYNBR" = "1" ] && \
macaddr_setbit_la "$(mtd_get_mac_binary Factory 0x4)" > /sys${DEVPATH}/macaddress
;;
jcg,y2)
[ "$PHYNBR" = "1" ] && \
macaddr_setbit_la "$(mtd_get_mac_binary factory 0x4)" > /sys${DEVPATH}/macaddress
;;
linksys,e5600|\
linksys,ea6350-v4|\
linksys,ea7300-v1|\
Expand Down

0 comments on commit 7fa227e

Please sign in to comment.