From: "d0" <jnielsen@shade.agi.com>
Subject: Re: Forcing MAC address.
Date: Fri, 13 Sep 2002 13:55:47 GMT [thread overview]
Message-ID: <20020913.075635.1626276121.2339@shade.agi.com> (raw)
In-Reply-To: uo1kbuh29gih05@corp.supernews.com
In article <uo1kbuh29gih05@corp.supernews.com>, "Dave Uhring"
<dmuhring@yahoo.com> wrote:
> d0 wrote:
>
>> Anyone know a method by which we can force a MAC address to be used by
>> a NIC?
>
> ifconfig(8) and look for "physaddr". There is also an example of its
> use.
>
Not sure but I think that might only be available on Tru64 5.x. I can
not find any reference to MACs. What I did find is a reference to
SIOCSPHYADDR and SIOCRPHYADDR ioctl functions. Im working a program that
can read out the eeprom, modify it and write it back in.
So far reading some data is simple. Reading all of the data may very well
become troublesome since it does not appear to me that ioctl supports
reading all the information from the eeprom. Now what is odd though is
it appears to support writing it all. Ironic it would seem that you can
write it all but cant read it. Perhaps I have just not found all the
documentation as of yet.
I suppose if it comes down to the nitty grtty hardware level is always
left and directly read and write from/to the eeprom. I have never
created anything of the like under tru64 and saw no direct mention of
functions used to do so. On top of that I suspect based on other
readings, talkings and coding for other hardware timing will be an issue.
What has been described to me is that the eeprom on our card (4 port
21143 tulip) is actually 256bytes and serial.
Anyhow, babble babble.
next prev parent reply other threads:[~2002-09-13 13:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-12 17:10 Forcing MAC address d0
2002-09-12 17:40 ` Dave Uhring
2002-09-13 13:55 ` d0 [this message]
2002-09-13 14:01 ` Code to force MAC address in Tru64 4.x d0
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox