Re: endereço MAC
On Wed, Dec 18, 2002 at 11:11:46AM -0200, Carlos Laviola wrote:
> On Wed, Dec 18, 2002 at 09:02:00AM -0200, Fábio Rabelo wrote:
> > 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
Reply to: