I an building an embedded system, which doesn't have any keyboard/display. The system is entirely controlled by a web interface. I want an easy way to configure the network for the first time. I assume that the user know the MAC address of the embedded system. Here is my idea: 1) On any computer on the LAN do: arp -s <ip address> <mac address> ping <ip address> let the ping run .... 2) Turn the embedded system on, and let it boot. Once up and running, it switches the ethernet interface into promiscuous mode, and listens for all ICMP packets with its MAC address. Once it finds one, it decodes the IP address, and configures the interface with that address and netmask 0.0.0.0. 3) On the host computer run netscape http://ip address/ Goto cgi page with ip setup, set netmask, gateway, hostname etc. Will the above idea work ? Any better ideas ? (I will support DHCP also, but I can't depend on that). Here is my real question: how should the "ICMP sniffer" be programmed ? I looked at libpcap, but I think it is overkill for this simple task. Has anyone any code that does something similar ? -- Geir Thomassen geirt@powertech.no - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org