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