[OpenWrt-Devel] MAC address on ramips?
Russell Senior
russell at personaltelco.net
Sat Jul 26 07:01:41 EDT 2014
We are playing with the AsiaRF AWM002 and AWM003 boards and recently
discovered that the MAC addresses are the same across all of the
boards we have. Initially, these seemed to be populated from the
"factory" flash partition. Here is a hexdump -C of /dev/mtd2:
00000000 50 53 00 01 00 0c 43 30 50 f8 ff ff ff ff ff ff |PS....C0P.......|
00000010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000020 ff ff ff ff ff ff ff ff 00 0c 43 30 50 77 00 0c |..........C0Pw..|
00000030 43 30 50 66 11 ff 24 28 ff ff 21 01 55 77 a8 aa |C0Pf..$(..!.Uw..|
00000040 8c 88 ff ff 0c 00 00 00 00 00 00 00 00 00 ff ff |................|
00000050 ff ff 0b 0b 0b 0b 0b 0b 0b 0b 0b 0b 0c 0c 0c 0c |................|
00000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 21 00 |..............!.|
00000070 00 00 00 00 00 00 03 90 ff ff ff ff ff ff ff ff |................|
00000080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000000d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 66 66 |..............ff|
000000e0 cc aa 88 66 cc aa 88 66 cc aa 88 66 cc aa 88 66 |...f...f...f...f|
000000f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000120 81 09 1c 13 4f 15 4f 15 03 1d 07 1d ff ff ff ff |....O.O.........|
00000130 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00010000
There are three portions, at offset 0x4 (wlan0), 0x28 (eth0) and 0x2e,
that look like Ralink mac addresses. More recently, in the last week
or so, the ethernet macs seem to have switched to 00:11:22:33:44:55
(and increments) as set in /etc/config/network stanzas. Can someone
please explain what the idea/intention is here?
Ultimately we may need to rewrite the factory partition to provide
unique macaddrs for our project, if that's indeed where they ought to
be coming from.
Thanks!
--
Russell Senior, President
russell at personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list