Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!dev!generous From: generous@dev.dtic.dla.mil (Curtis Generous) Newsgroups: comp.unix.questions Subject: Re: Getting the Ethernet Address? Keywords: network ethernet interface Message-ID: <3607@dev.dtic.dla.mil> Date: 9 Feb 90 11:33:30 GMT References: <12763@vicorp.UUCP> Organization: Defense Technical Information Center (DTIC), Alexandria VA Lines: 18 patrick@vicorp.UUCP (Patrick Johnstone) writes: || ... but I'm interested in getting the raw Ethernet ||address (the one with format %x:%x:%x:%x:%x:%x). I'm working on ||Sun's (all types) but am wondering if the procedure is the same on ||all (BSD) Unix systems. ||Patrick Johnstone || patrick@vicorp.uu.net || ...!vicorp!patrick Try looking at the SIOCGARP ioctl request if your machine supports it. --curtis -- Curtis C. Generous Defense Technical Information Center (DTIC) ARPA: generous@dev.dtic.dla.mil UUCP: {uunet,vrdxhq}!dev!generous