In one of my laptops I have a broadcom bcm4312 card. I have a similar
problem (no ip4 address for wlan0) but I found a different "work-
around":

If I do a "ifup wlan0" I see the RUNNING flag missing on wlan0 (output
from ifconfig). I tried a lot of different settings and changes on the
ifupdown scripts. Finally I broke it down to the "-B" flag of
wpa_supplicant. If wpa_supplicant is run as a daemon it fails to bring
wlan0 to RUNNING state. If I start wpa_supplicant in foreground it
works.

So I changed /etc/wpa_supplicant/functions.sh to use "start-stop-daemon
-b ..." and removed the "-B" argument from the wpa_supplicant call. Now
I am able to use "ifup wlan0" and dhclient will receive an IP address
from the router. Unfortunately network-manager still doesn't work - it
doesn't seem to use ifup/ifdown to manage network interfaces but seems
to use its own wpa_supplicant calls using the -B option...

The big question is: why does wpa_supplicant behave differently as a
daemon?

I am running Ubuntu 8.04, using dhcp and wpa_supplicant.conf with WPA
/WPA-PSK/TKIP/TKIP settings.

-- 
interface doesn't never gets an ip address when avahi is installed
https://bugs.launchpad.net/bugs/131822
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to