[OpenWrt-Devel] OpenWrt: read label MAC address for FRITZ!WLAN Repeater 300E

Adrian Schmutzler mail at adrianschmutzler.de
Wed Nov 13 07:14:37 EST 2019


> Hey Adrian,
> 
> all mac-addresses can be found in the urlader key value store.
> 
> maca                  24:65:11:AE:CB:6B
> macb                  24:65:11:AE:CB:6C
> macwlan               24:65:11:AE:CB:6D
> macdsl                24:65:11:AE:CB:6E
> 
> Following the fritz_tffs call in 02_network it will be:
> 
> lan=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
> wlan=$(fritz_tffs -n macwlan -i $(find_mtd_part "tffs (1)"))
> 
> FYI, the label mac is macwlan.
> 
> Does that answer your question?

Thanks, that's exactly what I needed (and easier than I thought).

Already applied it in https://github.com/openwrt/openwrt/commit/d421a8b9448968de0e3265f5beb469c210a909ab

Adrian 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191113/d010404b/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list