MAC Address 00:00:00:00:00:00 su Duo2 Originale

newgolfer

Vu+ User+++
Ho trovato questo per rendere il cambio di MAC permanente:

Here is new and tested solution, works fine, is permanent, the new mac address is retained after reboot as well:

add a special script file to
/etc/network/if-pre-up.d/

here is the contents of my script file "change-mac-address":

--------------------------- this line is not included inside the file, just indicates where the contents of the file begins ---------------------
#!/bin/sh

if [ "$IFACE" = "eth0" ]; then
/sbin/ifconfig eth0 hw ether 00:03:45:67:89:AF
fi
exit 0
------------------ likewise, indicates the end of the file, not inside the file -------------------------

Do not forget to make this file executable
chmod a+x change-mac-address

The new mac address (in this example: 00:03:45:67:89:AF) will take effect after rebooting, and subsequent rebooting or network restarting with remote will not revert the mac address back to the original one.
IMPORTANT: the file name with this script CANNOT have extension .sh, i.e,
if the file is named change-mac-address.sh - then it will not work!!!
All the files in that directory are run as scripts at a proper time if they have execution rights, as long as their names do not end with .sh !!!
 

Kowalski_68

BH Lover
Per esperienza una Mac address ripetuto ho avuto modo di trovarlo su macchine "allo stato dell'arte" in ambiente Broadcasting....
Ma le possibilità sono davvero remote...
 

AlexWilMac

Moderator
Eh già... Ma tu ipotizzi che non sia originale?
Ma qui poi il problema è che gli si è, anzi gli si sono in un certo senso "cancellati", azzerati. Perché prima gli funzionava tutto. Rimane da vedere se riesce a modificarli e con ciò risolve. Aspettiamo riscontri!
 

AlexWilMac

Moderator
E' quello che ho sempre pensato anch'io ma poi ho visto che, in generale (ossia anche da sistemi operativi veri e propri) si può cambiare questo dato. Personalmente non l'ho mai provato e mai lo proverei a meno che non mi succedesse qualcosa del genere. D'altronde, se @hondasat dice che ha flashato con vare immagini e il problema è sempre lì, non dovrebbe essere il software il responsabile ma l'HW.
@hondasat! Facci sapere se ci hai provato e se ci sei riuscito!
 
Mi intrometto giusto un po'.
Non so se sapete ma i modem della Telecom (i vecchi) erano modificabili ed in rete c'erano i vari software alternativi (dlink, billion,...,..). Uno di questo software mostrava un seriale e mac address scorretto. Ora non so se è il software che non è in grado di leggere i seriali/macaddress o proprio li cambierebbe durante il flash.
 
ma sul solo che aveva era tutto a posto, per cui da escludere il modem.
a) cavo
b) hw difettosa
c) box non originale
 
Top