home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / ultrix / 9117 < prev    next >
Encoding:
Text File  |  1992-12-30  |  989 b   |  25 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!think.com!enterpoop.mit.edu!bloom-picayune.mit.edu!space.mit.edu!goeke
  3. From: goeke@space.mit.edu (Robert F. Goeke)
  4. Subject: ioctl call to ln0
  5. Message-ID: <1992Dec30.135231.292@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: grall.mit.edu
  8. Organization: MIT Center for Space Research
  9. Date: Wed, 30 Dec 1992 13:52:31 GMT
  10. Lines: 13
  11.  
  12. I am running Ultrix 4.3 on a variety of DECStation 5000s and wanted to 
  13. interogate the Ethernet interface in order to retrieve the physical 
  14. address.  The ln(4) man page gives the ioctl request, and I tracked
  15. down via sys/ioctl.h and net/if.h what I think is enough information
  16. to do the job, but....I'm new to this ioctl game.  How do I open
  17. a file descriptor for this hardware interface (the first arg needed
  18. in the ioctl call)?
  19.  
  20. -- 
  21. Robert F. Goeke   [goeke@space.mit.edu]
  22.    MIT Center for Space Research
  23.    Cambridge, Massachusetts  02139
  24. 617-253-1910         FAX: 617-253-8084
  25.