Permanent MAC Address modification

Post Reply
MJBLACKEND1
Posts: 2
Joined: Tue Apr 16, 2013 10:17 pm
languages_spoken: english
ODROIDs: ODROID-U2
Has thanked: 0
Been thanked: 0
Contact:

Permanent MAC Address modification

Post by MJBLACKEND1 »

I downloaded Android beta 1.5 jelly bean image for ODROID-U2, i burn it to an SD Card using win32 imager, at first boot the Ethernet takes a MAC address randomly and keep it on the image even if i put the same SD card in another device the MAC address will stay the same, Am trying to take an image from the SD card(using HDDRawCopy1.02) after doing my changes(Installing applications and modify settings) to apply the same image for a multiple devices in the same network keeping the same MAC will cause a network problem, So i need a way to refresh the MAC address randomly as it happened the first time i implement the image, Is there is a way to change the MAC address Permanently on startup just one time ?

kibergus
Posts: 401
Joined: Sat Feb 23, 2013 11:23 pm
languages_spoken: english, russian
ODROIDs: U2 X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Permanent MAC Address modification

Post by kibergus »

Delete /data/misc/smsc95xx_mac_addr. On next boot new MAC address would be created and stored in that file.

MJBLACKEND1
Posts: 2
Joined: Tue Apr 16, 2013 10:17 pm
languages_spoken: english
ODROIDs: ODROID-U2
Has thanked: 0
Been thanked: 0
Contact:

Re: Permanent MAC Address modification

Post by MJBLACKEND1 »

Thanks a lot it works like a charm.

User avatar
Cooper
Posts: 93
Joined: Tue Jun 25, 2013 7:41 am
languages_spoken: english, dutch, some german and french if pushed
ODROIDs: Odroid-U2 + 16GB eMMC
Location: The Netherlands
Has thanked: 0
Been thanked: 0
Contact:

Re: Permanent MAC Address modification

Post by Cooper »

Same question, but now for Linux?

I tried setting "/usr/smsc_95xx_addr" (as suggested here) but that did nothing.
Looking at the kernel sources, my next target is /etc/smsc95xx_mac_addr

Source reference in kernel 3.8.13.13:
./drivers/net/usb/smsc95xx.c:const char *filepath = "/etc/smsc95xx_mac_addr";

mdrjr
Site Admin
Posts: 11786
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 39 times
Contact:

Re: Permanent MAC Address modification

Post by mdrjr »

Yep.. correct.. its /etc/smsc95xx_mac_addr

Procedure is the same as Android.
Delete and reboot

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest