Public bug reported:

Binary package hint: wpasupplicant

If I try to use wpa_supplicant in "managed mode" ie integrated with
/etc/network/interfaces, it no longer works at all in Feisty. Everything
appears to work OK, but the network simply doesn't work; pings aren't
returned etc:

$ sudo ifup eth1
wpa_supplicant: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.eth1.pid -i 
eth1 -D wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/eth1
wpa_supplicant: wpa-ap-scan 1 -- OK
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "Sirius" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: wpa-key-mgmt WPA-PSK -- OK
wpa_supplicant: wpa-scan-ssid 1 -- OK
wpa_supplicant: enabling network block 0 -- OK
$ ping -c 1 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
>From 10.0.0.5 icmp_seq=1 Destination Host Unreachable

--- 10.0.0.2 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms


My /etc/network/interfaces includes:

iface eth1 inet static
    wpa-verbose 1
    wpa-driver wext
    wpa-ssid "MySSID"
    wpa-key-mgmt WPA-PSK
    wpa-psk "secret"
    wpa-scan-ssid 1
    wpa-ap-scan 1
    address 10.0.0.5
    netmask 255.255.255.0
    network 10.0.0.0
    broadcast 10.0.0.255
    gateway 10.0.0.2

If I remove the wpa- lines and run wpa_supplicant manually instead:

sudo /sbin/wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant/wpa_supplicant.conf 
-D wext
sudo ifup eth1

the connection does work. The config file contains:

network={
     ssid="MySSID"
     scan_ssid=1
     key_mgmt=WPA-PSK
     psk="secret"
}

I had a similar, but less severe, problem in Edgy. If I tried to have
the interface brought up automatically at boot time I would usually have
a similar failure. But if I removed "auto eth1" and ran ifup from a
desktop startup script, connection was consistently successful.

** Affects: wpasupplicant (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
wpa_supplicant doesn't work in "managed mode" in Feisty
https://launchpad.net/bugs/91477

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to