Re: how to export wpa_supplicant.conf from networkmanager
- From: Dan Williams <dcbw redhat com>
- To: Wayne <brocean gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: how to export wpa_supplicant.conf from networkmanager
- Date: Thu, 20 Jun 2013 10:46:54 -0500
On Thu, 2013-06-20 at 17:26 +0800, Wayne wrote:
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.
NetworkManager doesn't use the supplicant configuration file, but pushes
the configuration to it over D-Bus. However, if you look at your syslog
(/var/log/daemon.log or /var/log/NetworkManager.log) you'll see the
configuration NM is sending:
<info> Config: added 'ssid' value 'my ssid'
<info> Config: added 'scan_ssid' value '1'
<info> Config: added 'key_mgmt' value 'WPA-PSK'
<info> Config: added 'psk' value '<omitted>'
<info> Config: added 'proto' value 'WPA RSN'
which you can add to the supplicant config file inside a standard
supplicant network block, which you can see examples of here:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=wpa_supplicant/wpa_supplicant.conf;h=8e21a3aee68b46fd950b1ad5de1ee643f1a242dd;hb=HEAD#l911
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]