Re: how to export wpa_supplicant.conf from networkmanager
- From: Pavel Simerda <psimerda redhat com>
- To: Larry Finger <Larry Finger lwfinger net>
- Cc: networkmanager-list gnome org
- Subject: Re: how to export wpa_supplicant.conf from networkmanager
- Date: Thu, 20 Jun 2013 11:32:21 -0400 (EDT)
----- Original Message -----
From: "Larry Finger" <Larry Finger lwfinger net>
To: "Wayne" <brocean gmail com>
Cc: networkmanager-list gnome org
Sent: Thursday, June 20, 2013 4:48:07 PM
Subject: Re: how to export wpa_supplicant.conf from networkmanager
On 06/20/2013 09:03 AM, Pavel Simerda wrote:
----- Original Message -----
From: "Wayne" <brocean gmail com>
To: networkmanager-list gnome org
Sent: Thursday, June 20, 2013 11:26:42 AM
Subject: how to export wpa_supplicant.conf from networkmanager
Hi! All,
Sorry to disturb.
I have a wili in office, the ubuntu can connect to it using networkmanger,
but my anroid phone can't.
The wpa_supplicant could be edited to enable the connection, but I don't
know
how to write the configuration.
So my question is: could I export the wifi config from networkmanger to
wpa_supplicant format.
Networkmanager should know the correct config.
AFAIK you can just connect and search /run (and similar directories,
depending on distribution) for the configuration file.
On my system, "ps ax" shows the following startup line for wpa_supplicant:
/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f
/var/log/wpa_supplicant.log
That indicates that the configuration file is
/etc/wpa_supplicant/wpa_supplicant.conf. It may be different for your distro,
but the starting line will tell you where it is.
My bad. Then it means all configuration is pushed through the configuration interface. I'm just curious
whether this is not a bug, as /etc is a directory for user configuration and I don't see a reason it should
be used for NetworkManager-started wpa_supplicant. Either way you won't get the information in such an easy
way, unfortunately. Maybe the control interface can give you the information or NetworkManager logs can do
that, hopefully someone will give you more details than I can provide.
Pavel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]