Preciso trocar o endereço MAC de uma placa de rede ( 3COM 3C905 ) eu sei
q ela pode fazer isso, mas eu Ñ sei onde colocar o parâmetro ...
Passei algumas horas lendo sobre o driver desta placa no ernel-archives
mas não achei o q eu precisava ...
alguém sabe como fazer isso ?
ifconfig eth0 $IP hw ether $MAC
Se não me engano.
ifconfig(8)
hw class address
Set the hardware address of this interface, if the device
driver supports this operation. The keyword must be followed
by the name of the hardware class and the printable ASCII
equivalent of the hardware address. Hardware classes currently
supported include ether (Ethernet), ax25 (AMPR AX.25), ARCnet and
netrom (AMPR NET/ROM).
# ifconfig eth0 hw ether $MAC
[1] man 8 ifconfig
Atenciosamente,
Luis