What's new
Sat Universe - The Place To Be

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Mac address question, please!!

poliv123

Senior Member
Hi everyone!!
I have dm800 original with openpli.
I want to change mac address of box just for experimental purpose.
How can i do that?Can i do it through patched bootloader or software?(i asked because i have searched google but didnt work.)
Also i have dm500hd originsl with openpli.I want to do to it,the same!
Thank you!!!!
 

Ferret

Marching On Together !
Staff member
Administrator
Do this

ftp to /etc/network/if-pre-up.d/nfsroot

edit nfsroot

and add this


Code:
[B]if [ "$IFACE" = "eth0" ]; then[/B]
[B]/sbin/ifconfig eth0 hw ether [/B][B][COLOR=black]00:1D:EC:03:[/COLOR][COLOR=#ff0000]62:1A[/COLOR][/B]
[B]fi[/B]
[B]exit 0[/B]

change only last 4 digits
if this was your mac
00:1D:EC:03:61:1F

should look like this
could be 00:1D:EC:03:
62:1A


the top of the nfsroot script now looks like this

Code:
#! /bin/sh

# In case the interface is used as nfsroot, avoid ifup, otherwise
# nfsroot may lose response

if [ "$IFACE" = "eth0" ]; then
/sbin/ifconfig eth0 hw ether [COLOR=black]00:1D:EC:03:[/COLOR][COLOR=#ff0000]62:1A[/COLOR]
fi
exit 0
nfsroot=0
if test "x$IFACE" = xlo ; then
    exit 0
fi

save changes
reboot DM
reboot router
 

poliv123

Senior Member
Thank you ferret!!!!
But if there is no nfsroot file in openpli because of locked image,what can i do next.I asked because i cant find nfsroot file
Thank you!!!
 
Top