netbase: Add verbose examples for WEP and WPA encrytion to /etc/network/interfaces
authorMatthias Hentges <oe@hentges.net>
Sun, 3 Jun 2007 16:46:57 +0000 (16:46 +0000)
committerMatthias Hentges <oe@hentges.net>
Sun, 3 Jun 2007 16:46:57 +0000 (16:46 +0000)
packages/netbase/netbase/interfaces
packages/netbase/netbase_4.21.bb

index fbeb14f..e6a4574 100644 (file)
@@ -4,10 +4,40 @@
 auto lo
 iface lo inet loopback
 
+
 # Wireless interfaces
+#
+# Example of an unencrypted (no WEP or WPA) wireless connection
+# that connects to any available access point:
+#
 iface wlan0 inet dhcp
-wireless_mode managed
-wireless_essid any
+       wireless_mode managed
+       wireless_essid any
+#
+#
+# Same as above but locked to a specific access point:
+#
+#iface wlan0 inet dhcp  
+#      wireless_mode managed
+#      wireless-essid some-essid
+#
+# A WEP encrypted connection locked to a specific access point:
+#
+#iface wlan0 inet dhcp  
+#      wireless-essid some-essid
+#      wireless-key s:My-PlainText-Password
+#      wireless-mode managed                  
+#
+# A WPA 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.
+#
+#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             
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
index 53c9f3d..ba5d95b 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
 infrastructure for basic TCP/IP based networking."
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r16"
+PR = "r17"
 
 inherit update-rc.d