Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
11688 Members
230 Forums
7415 Topics
23174 Posts

Max Online: 4756 @ 02/20/20 11:12 PM
Newest Members
presip1, robbby, Pc2k, Goy0, AMB
11688 Registered Users
Who's Online
8 registered (Toysoft, Admin, Antr@x, ivanp, presip, zioercules, OMEGA, Dejota13), 59 Guests and 51 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9493
Toysoft 2587
satsedhu 1713
fairbird 745
ludo19 442
Top Posters (30 Days)
Admin 43
mayllopl 14
Atanas 13
zioercules 8
Toysoft 8
August
M Tu W Th F Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Topic Options
#1712 - 06/10/15 04:55 AM Change MAC address in Linux
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9493
How to change MAC address in Linux

First find the physical MAC address of your machine by running the following command :

$ ifconfig -a | grep HWaddr
eth0 Link encap:Ethernet HWaddr 00:80:48:BA:d1:20


The hexadecimal numbers in blue denote my machine's MAC address. Yours will be different. Learn how to use the ifconfig Linux command.

You can also use ethtool to find the hardware address of your machine.

Next, login as root in Linux and enter the following commands -

# ifconfig eth0 down
# ifconfig eth0 hw ether 00:80:48:BA:d1:30
# ifconfig eth0 up
# ifconfig eth0 |grep HWaddr


I have changed the MAC address to a different number highlighted in blue. 00:80:48:BA:d1:30 is the new MAC address I have provided for my Linux machine. You can choose any 48 bits hexadecimal address as your MAC address.

TS

P.S.: More

Open the file / etc / network / interfaces

# Automatically generated by enigma 2
# Do NOT change manually!

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

and appends the string

pre-up ifconfig eth0 HW ether 00:00:00:00:00:00

where instead of 00:00:00:00:00:00 write the desired MAC address.

# Automatically generated by enigma 2
# Do NOT change manually!

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
pre-up ifconfig eth0 hw ether 00:00:00:00:00:00

Restarting the Dream and we get a new MAC address

--------------------------------------

just copy with DCC

etc / network

open the interfaces file

internally and will write under his example I or gateway 192.168.1.1

put under

pre-up ifconfig eth0 hw ether 00:88:23:00:67:11
Restarting the Dream and we get a new MAC address

NB: I changed everything to try or not the two 00: initial and worked at 100x100 even after
restart the deco or even turned off and turned on again by the current.
----------------------------

# automatically generated by enigma 2
# do NOT change manually!

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
pre-up ifconfig eth0 hw ether 00:88:23:00:67:11
Restarting the Dream and we get a new MAC address
_________________________

Top
#7966 - 04/20/16 10:42 PM Change MAC address
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9493
How to change the MAC address in your DM/VU+ ?

Code:
ifconfig eth0 down
ifconfig eth0 hw ether 00:80:48:BA:d1:30
ifconfig eth0 up
ifconfig eth0 |grep HWaddr


Or in a file in your DM/VU :

Edit file /etc/network/interfaces

Code:
auto lo 
iface lo inet loopback 

auto eth0 
iface eth0 inet dhcp pre-up ifconfig eth0 hw ether 00:09:34:28:5E:00
_________________________

Top
#24527 - 06/29/22 08:03 PM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 4
Hello
I execute these commands on Telnet and change the MAC address as my desired
But after rebooting the MAC address returns to the original default ??!!

Top
#24528 - 06/29/22 10:21 PM Re: Change MAC address [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9493
You need to modify the configuration file, not only set the new MAC details by command line,

You could add these commands on a script at boot as well,

Admin
_________________________

Top
#24529 - 06/30/22 07:02 AM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 4
Originally Posted By: Admin
You need to modify the configuration file, not only set the new MAC details by command line,

You could add these commands on a script at boot as well,

Admin


Hello
Thanks

How to edit a configuration file And create a script to boot?

Top
#24530 - 06/30/22 10:34 AM Re: Change MAC address [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9493
Here you have more details about scripts,

https://www.shellscript.sh/

Admin
_________________________

Top
#24531 - 06/30/22 05:09 PM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 4
Hello
I can not create scripts ­čśô­čśô
if have you the created file that works
Please give me

Top
#24532 - 06/30/22 06:27 PM Re: Change MAC address [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9493
Read this :

Edit file /etc/network/interfaces

Code:
auto lo 
iface lo inet loopback 

auto eth0 
iface eth0 inet dhcp pre-up ifconfig eth0 hw ether 00:09:34:28:5E:00
_________________________

Top
#24546 - 07/14/22 10:57 AM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 4
Originally Posted By: Admin
Read this :

Edit file /etc/network/interfaces

Code:
auto lo 
iface lo inet loopback 

auto eth0 
iface eth0 inet dhcp pre-up ifconfig eth0 hw ether 00:09:34:28:5E:00


Hello
This method does not work with Ultimo 4k receiver and is an obsolete method

Top
#24547 - 07/14/22 07:26 PM Re: Change MAC address [Re: robinio 75]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9493
We don't have such box, but these commands are standard Linux, so it should work, if you have a new method you are welcomed to publish it to help others.

Admin

Originally Posted By: robinio 75
Originally Posted By: Admin
Read this :

Edit file /etc/network/interfaces

Code:
auto lo 
iface lo inet loopback 

auto eth0 
iface eth0 inet dhcp pre-up ifconfig eth0 hw ether 00:09:34:28:5E:00


Hello
This method does not work with Ultimo 4k receiver and is an obsolete method
_________________________

Top



Moderator:  fairbird, gaga24, ludo19 
New Topics
DM800HDse : OpenPLi 4.0 20191216 (v6)
by Admin
08/14/22 03:41 PM
DM8000HD : OpenPLi 8.xStar 20220813 GSt 1.18.5 v6
by Admin
08/13/22 04:22 PM
DM800HDsev2 : OpenPLi 8.xStar 20220813 G1.18.5 v6
by Admin
08/13/22 01:06 PM
DM500HD : OpenPLi 8.xStar 20211112 GSt 1.18.5 (v6)
by Toysoft
08/13/22 11:27 AM
DM800HDse : OpenPLi 8.xStar 20220813 GSt 1.18.5 v6
by Admin
08/13/22 10:39 AM
Question about Dm 800se Open pli image
by Atanas
08/09/22 08:31 AM
Dish plots national 5G move
by Admin
08/05/22 01:16 PM
How remove CCCam OpenPLi 8
by mayllopl
07/04/22 11:54 PM
Sim Japhar info per DM800HDse V2
by zioercules
05/06/22 07:27 PM
DM800HDsev2 : OpenPLi 8.1Star 20211112 G1.18.5 v6
by Toysoft
11/12/21 01:02 PM
Replaced chip for sim, can flash, will not boot
by aanj
10/23/21 12:02 PM
GigaBlue QuadPlus : OpenPLi 8.0Star 20210605 1.18
by Admin
06/05/21 10:16 AM