Finding an ethernet address on a Sun/3
Eoin Woods
cs86eew at cc.brunel.ac.uk
Sat May 5 06:48:24 AEST 1990
In response to the query "How do I find my ethernet address without re-booting",
look in your /etc/ethers (or /etc/ethers.byaddr in a yp case) files. These list
all of the ethernet addresses on your network. If it isn't there, it will be on
your file server, so rcp it across (rcp host:/etc/ethers .) to have a look at
it.
Hope this helps.
Eoin.
PS On Suns, there is a set of C functions that can be found in section 3C,
called 'ethers' which allow programs to get ethernet addresses.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| FROM : Eoin Woods Computer Science Department, Brunel University, |
| Uxbridge, Middlesex UB8 3PH |
| JANET : cs86eew at cc.brunel.ac.uk |
| UUCP : ...ukc!cc.brunel.ac.uk!cs86eew |
| ARPA : cs86eew%cc.brunel.ac.uk at nss.cs.ucl.ac.uk |
More information about the Comp.unix.questions
mailing list