A method, computer program product, and data processing system for
automatically configuring a networking-enabled device for use with
different networks are disclosed. In a preferred embodiment, a client
stores multiple configuration profiles containing configuration settings
corresponding to different networks. When the client becomes connected to
a network, a router or other form of server detects the addition of the
client to the network. In response to the client connecting to the
network, the server broadcasts an identifier over the network, which the
client receives. The client uses the identifier to identify the
appropriate stored configuration profile corresponding to the network.
The client then completes its configuration using the identified
configuration profile.