On 2006-11-05, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2006-11-05, Grant Edwards <[EMAIL PROTECTED]> wrote:
>
>> How do I call the ethernet driver's control function to set the
>> MAC address?
>
> This seems to work:
>
>
> __local_enet_sc->funs->control(__local_enet_sc,ETH_DRV_SET_MAC_ADDRESS,mac_address,sizeof
>  mac_address);

I was wrong, that doesn't work.  It changes the MAC address in
the MAC, but the networks stack doesn't seem to know it's been
changed, so ARP replies have the wrong MAC address in them. :(

> How is the MAC address supposed to be set initially?

Still trying to figure out that one...

-- 
Grant Edwards                   grante             Yow!  I guess you guys got
                                  at               BIG MUSCLES from doing too
                               visi.com            much STUDYING!


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to