wpa_supplicant -u ?
I'm having trouble getting wifi to work: I have created a wpa_supplicant.conf file (copied from some other machine), and have added "wpa-conf /etc/wpa_supplicant.conf" to /etc/network/interfaces. Then `ifup eth0' sometimes works, but usually only right after boot. The problem seems to be different from the "wifi only works once" problem described in the wiki, because the symptom is only that wpa_supplicant fails to associate (it keeps trying to associate, but to no avail). The one odd thing I notice, is that I always get 2 wpa processes running: one "wpa_supplicant -u" and one with the usual list of arguments specifying the interface, conf file, etc... What's this "wpa_supplicant -u" doing here and who starts it? Also, it seems that the om2008.9's Wifi GUI (in the Settings section) doesn't use ifup/ifdown (e.g. it starts up a "wpa_supplicant -u" only). That's too bad. Is there some way to get them to cooperate better? Stefan ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: wpa_supplicant -u ?
El día Monday, October 13, 2008 a las 09:22:28AM -0400, Stefan Monnier escribió: > I'm having trouble getting wifi to work: > I have created a wpa_supplicant.conf file (copied from some other > machine), and have added "wpa-conf /etc/wpa_supplicant.conf" > to /etc/network/interfaces. > > Then `ifup eth0' sometimes works, but usually only right after boot. > The problem seems to be different from the "wifi only works once" > problem described in the wiki, because the symptom is only that > wpa_supplicant fails to associate (it keeps trying to associate, but to > no avail). > > The one odd thing I notice, is that I always get 2 wpa processes > running: one "wpa_supplicant -u" and one with the usual list of > arguments specifying the interface, conf file, etc... > > What's this "wpa_supplicant -u" doing here and who starts it? -u = enable DBus control interface see 'wpa_supplicant -h'; > > Also, it seems that the om2008.9's Wifi GUI (in the Settings section) > doesn't use ifup/ifdown (e.g. it starts up a "wpa_supplicant -u" only). > That's too bad. Is there some way to get them to cooperate better? Try my 'procedure' in http://www.unixarea.de/openmoko.txt and see if this helps you too; my Wifi comes up in 99 of 100 cases; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: wpa_supplicant -u ?
Matthias Apitz wrote: > El día Monday, October 13, 2008 a las 09:22:28AM -0400, Stefan Monnier > escribió: > >> I'm having trouble getting wifi to work: >> I have created a wpa_supplicant.conf file (copied from some other >> machine), and have added "wpa-conf /etc/wpa_supplicant.conf" >> to /etc/network/interfaces. >> >> Then `ifup eth0' sometimes works, but usually only right after boot. >> The problem seems to be different from the "wifi only works once" >> problem described in the wiki, because the symptom is only that >> wpa_supplicant fails to associate (it keeps trying to associate, but to >> no avail). >> >> The one odd thing I notice, is that I always get 2 wpa processes >> running: one "wpa_supplicant -u" and one with the usual list of >> arguments specifying the interface, conf file, etc... >> >> What's this "wpa_supplicant -u" doing here and who starts it? > > -u = enable DBus control interface > > see 'wpa_supplicant -h'; To answer the other part of the question, I think this is started by connman which is used by the settings GUI to control the network interfaces. Connman aims to be a lightweight version of NetworkManager but is currently rather incomplete. >> Also, it seems that the om2008.9's Wifi GUI (in the Settings section) >> doesn't use ifup/ifdown (e.g. it starts up a "wpa_supplicant -u" only). >> That's too bad. Is there some way to get them to cooperate better? > > Try my 'procedure' in http://www.unixarea.de/openmoko.txt > and see if this helps you too; my Wifi comes up in 99 of 100 cases; An interesting combination of methods to kill the competing instances of things from connman, sort the routing issue if usb0 is up, and convince the wifi driver/firmware to behave itself. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: wpa_supplicant -u ?
El día Monday, October 13, 2008 a las 11:08:27AM -0400, Stefan Monnier escribió: > >> What's this "wpa_supplicant -u" doing here and who starts it? > > -u = enable DBus control interface > > see 'wpa_supplicant -h'; > > Yes, that much I know. But the question remains: what is it doing here, > and who starts it? If I would have known this, you would have got an answer from me :-) > > >> Also, it seems that the om2008.9's Wifi GUI (in the Settings section) > >> doesn't use ifup/ifdown (e.g. it starts up a "wpa_supplicant -u" only). > >> That's too bad. Is there some way to get them to cooperate better? > > > Try my 'procedure' in http://www.unixarea.de/openmoko.txt > > and see if this helps you too; my Wifi comes up in 99 of 100 cases; > > I'm not sure which part is important. > But more importantly, it doesn't seem to be have much to do with the > Wifi GUI that's in Om2008.9, right? It just provides another "GUI". Of course for Wifi the chapter about Wifi is relevant; and no, this does not just provide another GUI, but a procedure which is working for me; matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: wpa_supplicant -u ?
> To answer the other part of the question, I think this is started by > connman which is used by the settings GUI to control the network > interfaces. Connman aims to be a lightweight version of NetworkManager > but is currently rather incomplete. Thanks. Is there some way to tell connman to use my wpa_supplicant.conf file (especially, so it automatically connects to my preferred networks without asking any question)? Stefan ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: wpa_supplicant -u ?
Stefan Monnier wrote: >> To answer the other part of the question, I think this is started by >> connman which is used by the settings GUI to control the network >> interfaces. Connman aims to be a lightweight version of NetworkManager >> but is currently rather incomplete. > > Thanks. Is there some way to tell connman to use my > wpa_supplicant.conf file (especially, so it automatically connects to > my preferred networks without asking any question)? I don't know, but I suspect not. You might be able to influence the wpa_supplicant it starts though, either using dbus or wpa_cli. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community