On Mon, 31 Mar 2003, Daniel Nilsson (GIS) wrote: > > Hi all! > > Is there a way to get the ethernet-adress of a client when its requesting the ks.cfg-file from a http-server? > > I want to generate the ks.cfg with a cfg-script and the only unique id on my hosts is ethernet-adress. If you use cgi to generate the ks file, then you can use the arp command (/sbin/arp -n) to get the IP and MAC addresses of those hosts known to your kernel. This only works if the client is on the same subnet, and the request isn't being proxied. If the client is far far away, then there is now way. -- Please, reply only to the list.