# wireless-mode managed
#
# A WPA1 or WPA2 encrypted connection locked to a specific access point.
-# The WLAN cards firmware is updated temporarily to allow WPA
-# connections. Your card may or may not need the update.
+# This is the best option for non-roaming, single-network usage.
+# Note that your card may require a firmware update to use WPA.
+# Some distributions install a temporary volatile firmware update on ifup.
#
#iface wlan0 inet dhcp
# wpa-essid some-essid
# wpa-psk My-PlainText-Password
-# pre-up iwpriv wlan0 reset 1
-# pre-up prism2_srec -r wlan0 /etc/pcmcia/rf010804.hex
+#
+# A WPA1 or WPA2 encrypted connection using an external configuration file
+# for wpa-supplicant. This is the way to go if you need to configure multiple
+# networks with different keys and / or WPA settings and roaming support.
+#
+# iface wlan0 inet dhcp
+# wpa-conf /etc/wpa_supplicant.conf
+# wpa-driver hostap
+
+
iface atml0 inet dhcp