From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5afe0a544e83fe9f X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-13 06:56:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!newsfeed.us.prserv.net!prserv.net!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin3.nnrp.aus1.giganews.com.POSTED!not-for-mail From: "d0" Subject: Re: Forcing MAC address. Newsgroups: comp.unix.tru64 Message-ID: <20020913.075635.1626276121.2339@shade.agi.com> References: <3D80CA53.9000808@aero-graphics.com> User-Agent: Pan/0.9.7 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: Fri, 13 Sep 2002 08:55:47 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-b5aLnB8Pg3hqMNI7U0Zk03MLzIryIUTv75nvwCv9RAclKvy7dt2G9q1VrBIAiqT5hoF6amxhSvMtIA0!xSt+cqhC/1ncJfrp7HLJY/3ZrTxuJXewxEHlYRx1cRrP+4jPMNRNmVAxV31UIXd9j5ofOK833s90!jE7ybiBDkbg= X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Date: Fri, 13 Sep 2002 13:55:47 GMT Xref: archiver1.google.com comp.unix.tru64:8650 In article , "Dave Uhring" 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.