How to set mac address change forever?

96boards

#1

Could anyone teach me how to set mac address change forever in bubblegum 96 Debian OS?Thanks!


#2

Is the current MAC hard coded (same on all boards)? If so, what is it?


#3

set command : sudo ifconfig
I get information like this:
enx00e09c100ec1 Link encap:Ethernet HWaddr 00:e0:9c:10:0e:c1
inet addr:192.168.4.33 Bcast:192.168.4.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:9cff:fe10:ec1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:194029 errors:0 dropped:0 overruns:0 frame:0
TX packets:984 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35757562 (34.1 MiB) TX bytes:148560 (145.0 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 94:a1:a2:75:0e:72
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

enx00e09c100ec1 is USB network device,and I want to set differnet mac address to every bubblegum 96 board.
Could you give me some useful point?Thanks!


#4

Firstly, sorry it took so long to get back on this. I’m afraid a bot blocked you for “typing too fast” and I didn’t spot it until today (copy 'n paste is useful but it is also a signature move of spammers).

The wlan0 should already be unique for each board (94:a1:a2:75:0e:72 is issued by Ampak who make the wlan0 module).

You mean that you want to modify the MAC address on the USB adapter you have? I’ve never tried it but I think you can do that via the interfaces file: https://en.wikibooks.org/wiki/Changing_Your_MAC_Address/Linux