Kel Modderman wrote:
daniel huhardeaux wrote:
Package: wpasupplicant
Version: 0.4.8-2
Severity: normal


Using wpa-conf /path/to/wpasupplicant.conf in interfaces and having options there is working. Putting each option in interfaces file failed for 3 of them.
Here are outputs from ifupdown.sh script in verbosity mode:

wpa_supplicant: ctrl_interface=/var/run/wpa_supplicant
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -C /var/run/wpa_supplicant -D ndiswrapper wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: wpa-eapol-version : Unknown command 'eapol_version'
wpa_supplicant: wpa-ap-scan : Unknown command 'ap_scan'
wpa_supplicant: wpa-fast-reauth  : Unknown command 'fast_reauth'
wpa_supplicant: configuring new network block, guessing network_id of "0"? : 0
wpa_supplicant: wpa-ssid : OK
wpa_supplicant: wpa-psk : OK
wpa_supplicant: wpa-pairwise : OK
wpa_supplicant: wpa-key-mgmt : OK
wpa_supplicant: wpa-proto : OK
wpa_supplicant: enabling network 0 : OK

DHCP offer is not founded, no network. Same option in a conf file (previous wpa_supplicant behaviour) is ok.

What does your /etc/network/interfaces stanza look like?
I translate in interfaces all the otions which are declared in the conf file:

iface wlan0-MyEssid inet dhcp
test wireless essid MyEssid
pre-up \
   echo "Starting pre-Up"
   wpa-driver ndiswrapper
   wpa-ssid MyEssid
   wpa-ap_scan 2
   wpa-proto WPA2
   wpa-key_mgmt WPA-PSK
   wpa-pairwise CCMP TKIP
   wpa-psk d4dae65328d14eff2adc68fde7d202d96de5fc1d9f2cd7425e00238f91b743ff
   wpa-eapol_version 1
   wpa-fast_reauth 1

If you carefully read the errors, they are from the script when the stanzas of /etc/network/interfaces are converted in actions for wpa_cli like:

               # global settings
               if [ -n "$IF_WPA_EAPOL_VERSION" ]; then

                       if [ "$VERBOSITY" = "1" ]; then
echo -n "$WPA_SUP_PNAME: wpa-eapol-version : " #message is shown
                       fi

                       $WPA_CLI_BIN  -p $WPA_COMMON_CTRL_IFACE -i $IFACE \
eapol_version "$IF_WPA_EAPOL_VERSION" >$TO_NULL #this causes the failure
               fi

--
Daniel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to