Re: Technitium MAC Address Changer v4 (TMACv4 C4) Officially Released

From: Fredi (fredi@unixantichrist.net)
Date: Wed Dec 20 2006 - 04:00:53 EST


Hi,
On Wednesday 20 December 2006 07:08, Alcides wrote:
> Hi Shreyas,
> Appers to be nice handy utility.
> But you efforts (excuse me if I'm hurting) seem to be incomplete.
>
> As you said
>
> > += Supports all Microsoft(R) Windows(TM) NT based versions in all
> > languages.
>
> Why not give a try developing one for POSIX breed of operating system?
> What do you think?
> Cheers!

Is there a real need? :)

At least on linux, man ifconfig:

[...]

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).
[...]

So:

root@deamon:~# ifconfig eth0 | grep eth0
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:18
root@deamon:~# ifconfig eth0 hw ether XX:XX:XX:XX:XX:00
root@deamon:~# ifconfig eth0 | grep eth0
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:00

And job done ;)

Bye,
Fredi



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:57:29 EDT