Moderator Control Panel ]

Same MAC Address

Same MAC Address

Postby alanb2121 » Fri Mar 21, 2014 4:48 am

I have to MatrixTV's and see they both have the same MAC address. I assume the OS is not getting the MAC value from the hardware? What is the best way to change the MAC address?

Thanks
alanb2121
 
Posts: 37
Joined: Fri Mar 07, 2014 12:09 pm

Re: Same MAC Address

Postby updatelee » Fri Mar 21, 2014 6:05 am

MAC in hardware is all the same... easy to change though

ifconfig eth0 hw ether 00:28:C7:0A:42:A2

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Same MAC Address

Postby alanb2121 » Mon Mar 24, 2014 6:38 am

But how do you make it persistent through boots?
alanb2121
 
Posts: 37
Joined: Fri Mar 07, 2014 12:09 pm

Re: Same MAC Address

Postby updatelee » Mon Mar 24, 2014 11:25 am

Put it in the network startup script.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Same MAC Address

Postby alanb2121 » Tue Mar 25, 2014 5:21 am

Thanks, so what is the script called? Where is it located?
alanb2121
 
Posts: 37
Joined: Fri Mar 07, 2014 12:09 pm

Re: Same MAC Address

Postby updatelee » Tue Mar 25, 2014 7:23 am

unsure, cant rem. I dont use matrixtv anymore. its in /etc either init.d or system or something to that effect.

try

grep -r eth0 /etc/*

see what comes up, it'll look like ifup or ifconfig

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Same MAC Address

Postby alanb2121 » Wed Mar 26, 2014 5:11 am

I wasn't able to find anywhere where I could set the MAC address using an exisitng conf file. In the end I added the following line to /usr/bin/licd_pre.sh

/sbin/ifconfig eth0 hw ether 00:00:00:00:00:05

I'm not familiar enough with Systemd so this seemed like a good alternative.

Really the MAC address on the NIC should be unique for each MatrixTV. I assume TBS are using a cheap no brand NIC interface.
alanb2121
 
Posts: 37
Joined: Fri Mar 07, 2014 12:09 pm

Re: Same MAC Address

Postby updatelee » Wed Mar 26, 2014 6:13 am

They are using an ar8035 nic.

There is a way to set it perminitly in u-boot but I've never bothered.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Same MAC Address

Postby steven » Wed Mar 26, 2014 10:49 am

Hi All

Really sorry for this ,Please write an email to our support#tbsdtv,we will assign a MAC address to you like our DVB cards.
And then you can use this command in u-boot
such as
imxotp blow --force 22 0xABC02A1B The last four byte
imxotp blow --force 23 0x0022 The first two byte

After write ,you can not change it any more,so please enter the right MAC address. :)

Thanks

Kind Regards

steven
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm


Return to General discussion

Who is online

Users browsing this forum: Bing [Bot] and 21 guests