Einzelnen Beitrag anzeigen
Alt 22.08.2002, 10:41   #9
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

Für Linux unter Alpha hab ich das gefunden:
Zitat:
This situation can be remedied by taking over the MAC address as well. This is already possible for many ethernet cards. All one need do is, e.g.:

ifconfig eth1 hw ether 00:00:C0:0C:29:D0

It's done via a simple ioctl; c.f. the ifconfig man page for more details. Works fine here. Be careful to pick an unused hardware address for the service interface. Good examples are those starting with 0xdeadbeef, or replace the last two bytes with the host part of the IP address, e.g.

192.168.20.156 -> 00:C0:87:A3:01:56
Ein man ifconfig ergab:
Zitat:
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).
, wie arti auch schon ausführte.
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten