[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing mac address of Sun GEM



On Sun, 2007-03-25 at 13:22 +0200, Wolfgang Pfeiffer wrote:
> On Fri, Mar 23 2007, at 00:06 +0100, Yves-Alexis Perez wrote:
> > On jeu, 2007-03-22 at 07:29 +1100, Benjamin Herrenschmidt wrote:
> > > No, the driver doesn't implement it. Should be trivial to add though.
> > 
> > MHmh, I use a powerbook g4, my network card is a sungem too and I can
> > do:
> > 
> > sudo ip l set eth0 address 00:11:24:xx:xx:xx
> > 
> > and it works. I'm using a 2.6.20 kernel but I remember it working since
> > a long time so I'm wondering what doesn't the driver implement.
> > 
> > Regards,
> 
> 
> Same here on a alubook G4: works like a charm to change the Ethernet
> MAC address as I like, as it seems. Provided the interface is
> down. Even on this old 2.6.18:

Yes, it works when the if is down when you don't have the
set_mac_address callback afaik. Having it allows changing when the
interface is up which is useful with nowadays userland thingies that
tend to keep interfaces up to poll their link (argh ! sungem is smart
enough to continue managing the link when the interface is down, but not
all drivers are)

Ben.




Reply to: