> What is the way to read the /proc filesystem from the kernel ? > > I cannot "ping" the machine since i am writing this code in the kernel. It > should just look for the mac address of an ethernet device and return it. A user space program could get this info by an `ioctl (SIOCGIFHWADDR).' If you look at the corresponding kernel code you could find a clue. -Sarada - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org