On Tue, 6 Apr 2004, R Alemi wrote:

> Can anyone tell me where can I find information about accessing 
> hardware specific information in cmucl?

You do it as every other program: either by using a helper
(i.e. calling ifconfig or such), or if you really want
to do it yourself (assuming Linux), by opening a 
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) and doing lots of
arcane ioctl()s to it. See include/linux/sockios.h and a strace on
ifconfig for details.

> I particularly need to get the MAC address of my network card.

What on earth do you need _that_ for?!?

-- 
regards,               [EMAIL PROTECTED]              (o_
 Thomas Fischbacher -  http://www.cip.physik.uni-muenchen.de/~tf  //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y)           V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1))                  (Debian GNU)

Reply via email to