divine will use ARP requests to look for hosts that are always up in the networks that you frequently use your laptop in and then set the IP configuration including /etc/resolv.conf and write proxy settings in /etc/proxy. A perl script to edit your netscape 4 preferences is included. You can also run a custom script for each network to edit /etc/printcap or /etc/issue or whatever you feel like. The ARP method is much quicker than the "ping" method that other solutions use.