* [ECOS] Changing MAC address
@ 2005-05-31 19:25 Yuriy Coureelo
2005-05-31 23:57 ` Stéphane Royo
0 siblings, 1 reply; 3+ messages in thread
From: Yuriy Coureelo @ 2005-05-31 19:25 UTC (permalink / raw)
To: ecos-discuss
Dear Sir!
I have EB40 with cs8900a ethernet chip.
MAC configured statically, during compilation.
I want to change its MAC address, but dont know how.
I try to call cs8900a_init(), but seems to me, if_detach should be
called too. I cant understand how it works.
Would somebody write a sequence of changing MAC, please.
Sincerely yours
Yuriy Coureelo
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Changing MAC address
2005-05-31 19:25 [ECOS] Changing MAC address Yuriy Coureelo
@ 2005-05-31 23:57 ` Stéphane Royo
0 siblings, 0 replies; 3+ messages in thread
From: Stéphane Royo @ 2005-05-31 23:57 UTC (permalink / raw)
To: coureelo; +Cc: ecos-discuss
I think you can use the
ecos/packages/net/common/current/tests/set_mac_address.c test to "solve"
your problem.
Stephane
----- Original Message -----
From: "Yuriy Coureelo" <coureelo@micran.ru>
To: <ecos-discuss@sources.redhat.com>
Sent: Tuesday, May 31, 2005 11:51 AM
Subject: [ECOS] Changing MAC address
> Dear Sir!
>
> I have EB40 with cs8900a ethernet chip.
> MAC configured statically, during compilation.
>
> I want to change its MAC address, but dont know how.
> I try to call cs8900a_init(), but seems to me, if_detach should be
> called too. I cant understand how it works.
>
> Would somebody write a sequence of changing MAC, please.
>
> Sincerely yours
> Yuriy Coureelo
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] changing MAC address
@ 2006-09-26 11:03 Jacek Poplawski
0 siblings, 0 replies; 3+ messages in thread
From: Jacek Poplawski @ 2006-09-26 11:03 UTC (permalink / raw)
To: eCos Discuss
I was able to make 82545GM ethernet functional in Redboot, I am now able
to ping or load file via tftp.
Now I want to make it possible to set MAC address from Redboot, because
in the initial state of hardware - MAC address is filled with 00's.
What is the best way to change MAC address of ethernet controller from
the command line of Redboot?
Intel 82544 driver contains function "set_mac_address" and it is used in
ioctl handler, but:
1) it doesn't write to EEPROM, so it changes MAC address only for a
while - am I right?
2) MAC address is read during the network initialization in RedBoot,
even if I change it from command line, I will need to ask for BOOTP
again, right?
--
Jacek Poplawski
Software Engineer
Silicon and Software Systems
http://www.s3group.com
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
Please direct any additional queries to: communications@s3group.com.
Thank You.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-26 11:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-31 19:25 [ECOS] Changing MAC address Yuriy Coureelo
2005-05-31 23:57 ` Stéphane Royo
2006-09-26 11:03 [ECOS] changing " Jacek Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).