Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12526 Members
237 Forums
7812 Topics
24005 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
bazigare52 IPTV, danielvg, Denisa, bigsatinternatai, elmasry
12526 Registered Users
Who's Online
4 registered (Toysoft, Admin, Jona, bitgames), 263 Guests and 59 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9994
Toysoft 2649
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 13
OMEGA 8
Smokey 1
Hum@xel 1
samh 1
December
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/09/15 08:55 PM Change MAC address in Linux
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
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 02:42 PM Change MAC address
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
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 12:03 PM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 5
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 02:21 PM Re: Change MAC address [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
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/29/22 11:02 PM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 5
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 02:34 AM Re: Change MAC address [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

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

https://www.shellscript.sh/

Admin
_________________________

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

Registered: 02/16/22
Posts: 5
Hello
I can not create scripts 😓😓
if have you the created file that works
Please give me

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

Registered: 10/19/10
Posts: 9994
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 02:57 AM Re: Change MAC address [Re: Admin]
robinio 75 Offline
stranger

Registered: 02/16/22
Posts: 5
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 11:26 AM Re: Change MAC address [Re: robinio 75]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9994
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
OFFICIEL: Canal+ arrête la diffusion TNT
by Admin
12/05/24 08:59 PM
DM52xUHD : OpenATV 7.4 20241125 (Japhar)
by Admin
11/26/24 10:08 AM
DM52xUHD : OpenATV 7.4 20241125 (Original)
by Admin
11/26/24 10:00 AM
Dreambox 500HD ferrari sim ???
by OMEGA
11/25/24 04:28 PM
EchoStar left in limbo as DirecTV ditches Dishdeal
by Admin
11/22/24 02:52 PM
ZX Spectrum ZX81 Emulation : Experience with R36S
by Admin
11/21/24 02:13 AM
Grand chambardement autour des numéros de la TNT
by Admin
11/17/24 05:10 PM
OPENATV 7.5 VOD not possible
by samh
11/03/24 08:37 PM
DreamTV Mini Ultra HD Android 9.0 IPTV Streamer...
by Admin
12/04/19 04:06 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM
Spark 7162 : OpenPLi 4.0 IPTV Japhar (April 2016)
by Admin
04/11/16 03:21 PM