Network manager in chromium OS

1,277 views
Skip to first unread message

Dhiraj Gaurh

unread,
Jul 13, 2010, 8:07:27 AM7/13/10
to Chromium OS discuss
Hello,
What is the network manager used by chromium OS. How do I
enable/disable it? I want to use wpa_supplicant myself instead of
through the network manager. Specifically I want to use nl80211 (as in
wpa_supplicant -i wlan0 -Dnl80211).
I first tried "disable wifi". Then I killed the running supplicant but
something or the other keeps restarting it. What is that ?
thanks
Dhiraj

David Rochberg

unread,
Jul 13, 2010, 9:14:08 AM7/13/10
to dhiraj...@gmail.com, Chromium OS discuss
We use flimflam, which is a fork of connman.  Flimflam and wpa_supplicant are both controlled by upstart.  You can modify the config files in /etc/init to make it run what you want, or you can manually control individual daemons with invocations like "initctl stop wpasupplicant"

Also, please don't hesitate to submit bugs to our tracker:

-david



--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en

Nathan Williams

unread,
Jul 13, 2010, 10:41:34 AM7/13/10
to dhiraj...@gmail.com, Chromium OS discuss
[resending from the correct address]

Hi. As David said, we're using a fork of connman, which we call flimflam, as our network manager. Flimflam doesn't start wpa_supplicant (that's done by upstart, and controlled by the config file /etc/init/wpasupplicant.conf), but it does configure and drive it. Flimflam tells wpa_supplicant what driver and what interface to use via DBus messages, and the command line of flimflam (see /etc/init/flimflam.conf) sets the wireless driver to pass to wpa_supplicant. At the head of our source tree, we are already using nl80211, so you may just want to make sure you're using the latest sources. 

If, instead, you want to manage wlan0 entirely outside of flimflam, you can tell flimflam to ignore the wlan0 interface, by adding '-I wlan0' to the flimflam command line in the upstart configuration.

    - Nathan


On Tue, Jul 13, 2010 at 8:07 AM, Dhiraj Gaurh <dhiraj...@gmail.com> wrote:

Dhiraj Gaurh

unread,
Jul 15, 2010, 6:51:37 AM7/15/10
to Chromium OS discuss
Thanks a lot for all your help. I am writing a device driver for
chromium OS and your suggestions were very helpful.
regards
Dhiraj

On Tue, Jul 13, 2010 at 9:15 PM, Sam Leffler <slef...@google.com> wrote:
> [Others have answered most of these but some additional info]
>
> If you explicitly kill off wpa_supplicant or flimflam they will be
> restarted by upstart so you need to do
>
> initctl stop flimflam
>
> for example to shutdown a service.
>
> As to your original request we already use nl80211 so there's no need
> to do what you request.  You might be more specific about what you're
> trying to do.
>
> -Sam

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages