PDA

View Full Version : [TM-TWIN-OE] 2 boxes with same MAC address



Piranha
22-04-17, 16:35
This problem arrived with 5.0.011 (I think). After flashing from scratch (no settings or plugins restore) both TM Twins seemed to freeze randomly on any channel, even FTA. The same thing happened even in standby, with the front display frozen at the time of total function loss.

No crash logs generated and nothing of any interest in the debug logs, which just ended abruptly.

Much investigation later, I found that both boxes had the same MAC address and was surprised to find that changing this is not supported in ViX for the TM Twins.

Flashed OpenATV on one box, changed its MAC address and all was well. Re-flashing ViX 5.0.013 created the same problem, so I now have one Twin on ViX, the other on ATV. My 'spare' TM Nano SE M2 Plus has just been flashed with STV too and all one's are happy at the moment!

I understand that I can go the serial and null-modem cable route, but as I would have to borrow a PC with a RS232 port (don't have one on any of my notebooks) and obtain the cables, it's not really an option for me.

The fact that the MAC address can be changed in the ATV image suggests that this should be doable in ViX too - but lots of digging around in the network interface files has left me no wiser as to where the MAC address is determined from.

Would appreciate any help with this issue, as I would prefer to have all boxes on ViX. Rather than a mixture.

maxben
22-04-17, 17:29
If you copied or restored the 'enigma2' folder from ATV to ViX it could of caused this problem.

Look in /etc/enigma2 in both boxes for a file named 'hwmac', this is the file that OpenATV creates when changing mac address, delete it and reboot which will restore the original mac address.

birdman
22-04-17, 21:51
but lots of digging around in the network interface files has left me no wiser as to where the MAC address is determined from.You can set it in /etc/network/interfaces, e.g.

iface ethernet inet static
mtu 1500
hwaddress 11:22:33:44:55:66

SpaceRat
23-04-17, 03:33
The changed MAC gets stored in /etc/enigma2/hwmac and although setting it might not be supported in OpenViX, the functionality to set it during ifup is part of the oa-a core and thus the file mentioned before will also work in OpenViX.

Nevertheless, OpenATV is the better image ;->

Gesendet von meinem SM-N910F mit Tapatalk

Piranha
23-04-17, 07:18
You can set it in /etc/network/interfaces, e.g.

iface ethernet inet static
mtu 1500
hwaddress 11:22:33:44:55:66

Thanks Birdman - what is the significance of the 'mtu 1500' element? Rarely use Telnet and don't want to try this and find that mtu 1500 is the Ethernet adaptor type for your box and not mine!

birdman
23-04-17, 09:03
Thanks Birdman - what is the significance of the 'mtu 1500' element? Rarely use Telnet and don't want to try this and find that mtu 1500 is the Ethernet adaptor type for your box and not mine!In the context of a MAC address, none at all.
That was just a cut&paste from a manpage.
The mtu is the maximum size to send in an Ethernet packet. There is (very) rarely any need to change it.