Obecnie nie ma mozliwosci uruchomienia za posrednictwem ifup wpa_supplicanta
dla interfejsow kablowych - w zalaczeniu przesylam poprawke do /sbin/ifup
i /sbin/ifdown, ktora pozwala na uzywanie wpa_supplicanta na wired interface
PN
--- ./ifup 2008-03-07 18:00:36.000000000 +0100
+++ /sbin/ifup 2008-03-07 18:02:26.000000000 +0100
@@ -105,12 +105,10 @@
run_cmd "Disabling IPv6 autoconfiguration" sysctl -w net.ipv6.conf.${DEVICE}.autoconf=0
fi
-if is_wireless_device "${DEVICE}"; then
- is_yes "${WLAN_UPEARLY}" && ip link set ${DEVICE} up
- wireless_param ${DEVICE}
- if is_yes "${WLAN_WPA}"; then
- /usr/sbin/wpa_supplicant -w -D ${WLAN_WPA_DRIVER} -c ${WLAN_WPA_CONFIG:-/etc/wpa_supplicant.conf} -i ${DEVICE} ${WLAN_WPA_OPTIONS} -P "/var/run/wpa_supplicant-${DEVICE}.pid" -B
- fi
+is_yes "${WLAN_UPEARLY}" && ip link set ${DEVICE} up
+is_wireless_device "${DEVICE}" && wireless_param ${DEVICE}
+if is_yes "${WLAN_WPA}"; then
+ /usr/sbin/wpa_supplicant -w -D ${WLAN_WPA_DRIVER} -c ${WLAN_WPA_CONFIG:-/etc/wpa_supplicant.conf} -i ${DEVICE} ${WLAN_WPA_OPTIONS} -P "/var/run/wpa_supplicant-${DEVICE}.pid" -B
fi
if [ "$HANDLING" = "2" ]; then
--- ./ifdown 2008-03-07 18:00:41.000000000 +0100
+++ /sbin/ifdown 2008-03-07 18:02:43.000000000 +0100
@@ -90,11 +90,9 @@
fi
fi
-if is_wireless_device "${DEVICE}"; then
- if is_yes "${WLAN_WPA}"; then
+if is_yes "${WLAN_WPA}"; then
killproc --pidfile "wpa_supplicant-${DEVICE}.pid" wpa_supplicant > /dev/null 2>&1
rm -f "/var/run/wpa_supplicant-${DEVICE}.pid"
- fi
fi
# Check to make sure the device is actually up
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl