<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/network/services/hostapd/files, branch reboot</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>hostapd.sh: Add support for "anonymous_identity" config field</title>
<updated>2016-04-17T12:50:55+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2016-04-17T12:50:55+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3830200d6ad8f0197ca4f8e0a99d3a043214de10'/>
<id>3830200d6ad8f0197ca4f8e0a99d3a043214de10</id>
<content type='text'>
The wpa_supplicant supports an "anonymous_identity" field, which some
EAP networks require.  From the documentation:

anonymous_identity: Anonymous identity string for EAP (to be used as the
    unencrypted identity with EAP types that support different tunnelled
    identity, e.g., EAP-TTLS).

This change modifies the hostapd.sh script to propagate this field
from the UCI config to the wpa_supplicant.conf file.

Signed-off-by: Kevin O'Connor &lt;kevin@koconnor.net&gt;
Reviewed-by: Manuel Munz &lt;freifunk@somakoma.de&gt;
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;

SVN-Revision: 49181
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The wpa_supplicant supports an "anonymous_identity" field, which some
EAP networks require.  From the documentation:

anonymous_identity: Anonymous identity string for EAP (to be used as the
    unencrypted identity with EAP types that support different tunnelled
    identity, e.g., EAP-TTLS).

This change modifies the hostapd.sh script to propagate this field
from the UCI config to the wpa_supplicant.conf file.

Signed-off-by: Kevin O'Connor &lt;kevin@koconnor.net&gt;
Reviewed-by: Manuel Munz &lt;freifunk@somakoma.de&gt;
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;

SVN-Revision: 49181
</pre>
</div>
</content>
</entry>
<entry>
<title>hostapd: fix wpad-mesh and wpa-supplicant-mesh configuration issues</title>
<updated>2016-01-28T17:19:48+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2016-01-28T17:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b4ef1fca4836986d2e3257493648b75b07510193'/>
<id>b4ef1fca4836986d2e3257493648b75b07510193</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 48528
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 48528
</pre>
</div>
</content>
</entry>
<entry>
<title>wpa_supplicant: add support for EAP-TLS phase2</title>
<updated>2016-01-19T10:06:29+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2016-01-19T10:06:29+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=faad8b68a463a42b70b2d93582f79d1ac1e5acca'/>
<id>faad8b68a463a42b70b2d93582f79d1ac1e5acca</id>
<content type='text'>
Introduce config options client_cert2, priv_key2 and priv_key2_pwd
used for EAP-TLS phase2 authentication in WPA-EAP client mode.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

SVN-Revision: 48345
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce config options client_cert2, priv_key2 and priv_key2_pwd
used for EAP-TLS phase2 authentication in WPA-EAP client mode.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

SVN-Revision: 48345
</pre>
</div>
</content>
</entry>
<entry>
<title>hostap/wpa_supplicant: enable EAP-FAST in -full builds</title>
<updated>2016-01-19T10:06:23+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2016-01-19T10:06:23+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3b15eb0adeefa0e9282daec091985953d8c035a9'/>
<id>3b15eb0adeefa0e9282daec091985953d8c035a9</id>
<content type='text'>
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

SVN-Revision: 48344
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

SVN-Revision: 48344
</pre>
</div>
</content>
</entry>
<entry>
<title>wpa_supplicant: improve generating phase2 config line for WPA-EAP</title>
<updated>2016-01-18T11:40:44+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2016-01-18T11:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e4cf25cfab7dc52bae02d44308e56e7437cb6433'/>
<id>e4cf25cfab7dc52bae02d44308e56e7437cb6433</id>
<content type='text'>
WPA-EAP supports several phase2 (=inner) authentication methods when
using EAP-TTLS, EAP-PEAP or EAP-FAST (the latter is added as a first
step towards the UCI model supporting EAP-FAST by this commit)
The value of the auth config variable was previously expected to be
directly parseable as the content of the 'phase2' option of
wpa_supplicant.
This exposed wpa_supplicant's internals, leaving it to view-level to
set the value properly. Unfortunately, this is currently not the case,
as LuCI currently allows values like 'PAP', 'CHAP', 'MSCHAPV2'.
Users thus probably diverged and set auth to values like
'auth=MSCHAPV2' as a work-around.
This behaviour isn't explicitely documented anywhere and is not quite
intuitive...

The phase2-string is now generated according to $eap_type and $auth,
following the scheme also found in hostap's test-cases:
http://w1.fi/cgit/hostap/tree/tests/hwsim/test_ap_eap.py
The old behaviour is also still supported for the sake of not breaking
existing, working configurations.

Examples:
  eap_type   auth
  'ttls'     'EAP-MSCHAPV2'     -&gt; phase2="autheap=MSCHAPV2"
  'ttls'     'MSCHAPV2'         -&gt; phase2="auth=MSCHAPV2"
  'peap'     'EAP-GTC'          -&gt; phase2="auth=GTC"

Deprecated syntax supported for compatibility:
  'ttls'     'autheap=MSCHAPV2' -&gt; phase2="autheap=MSCHAPV2"

I will suggest a patch to LuCI adding EAP-MSCHAPV2, EAP-GTC, ... to
the list of Authentication methods available.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

SVN-Revision: 48309
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WPA-EAP supports several phase2 (=inner) authentication methods when
using EAP-TTLS, EAP-PEAP or EAP-FAST (the latter is added as a first
step towards the UCI model supporting EAP-FAST by this commit)
The value of the auth config variable was previously expected to be
directly parseable as the content of the 'phase2' option of
wpa_supplicant.
This exposed wpa_supplicant's internals, leaving it to view-level to
set the value properly. Unfortunately, this is currently not the case,
as LuCI currently allows values like 'PAP', 'CHAP', 'MSCHAPV2'.
Users thus probably diverged and set auth to values like
'auth=MSCHAPV2' as a work-around.
This behaviour isn't explicitely documented anywhere and is not quite
intuitive...

The phase2-string is now generated according to $eap_type and $auth,
following the scheme also found in hostap's test-cases:
http://w1.fi/cgit/hostap/tree/tests/hwsim/test_ap_eap.py
The old behaviour is also still supported for the sake of not breaking
existing, working configurations.

Examples:
  eap_type   auth
  'ttls'     'EAP-MSCHAPV2'     -&gt; phase2="autheap=MSCHAPV2"
  'ttls'     'MSCHAPV2'         -&gt; phase2="auth=MSCHAPV2"
  'peap'     'EAP-GTC'          -&gt; phase2="auth=GTC"

Deprecated syntax supported for compatibility:
  'ttls'     'autheap=MSCHAPV2' -&gt; phase2="autheap=MSCHAPV2"

I will suggest a patch to LuCI adding EAP-MSCHAPV2, EAP-GTC, ... to
the list of Authentication methods available.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

SVN-Revision: 48309
</pre>
</div>
</content>
</entry>
<entry>
<title>wpa_supplicant: set regulatory domain the same way as hostapd</title>
<updated>2016-01-03T20:56:57+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2016-01-03T20:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=74c36b9d2006199db7d79afe6420702b2731fc35'/>
<id>74c36b9d2006199db7d79afe6420702b2731fc35</id>
<content type='text'>
In sta-only configuration, wpa_supplicant needs correct regulatory
domain because otherwise it may skip channel of its AP during scan.

Another alternative is to fix "iw reg set" in mac80211 netifd script.
Currently it fails if some phy has private regulatory domain which
matches configured one.

Signed-off-by: Dmitry Ivanov &lt;dima@ubnt.com&gt;

SVN-Revision: 48099
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In sta-only configuration, wpa_supplicant needs correct regulatory
domain because otherwise it may skip channel of its AP during scan.

Another alternative is to fix "iw reg set" in mac80211 netifd script.
Currently it fails if some phy has private regulatory domain which
matches configured one.

Signed-off-by: Dmitry Ivanov &lt;dima@ubnt.com&gt;

SVN-Revision: 48099
</pre>
</div>
</content>
</entry>
<entry>
<title>wpa-supplicant: Get 802.11s ssid information from option mesh_id</title>
<updated>2015-11-24T18:28:44+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-11-24T18:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3afe39af72168e7bab4d032923034be366754754'/>
<id>3afe39af72168e7bab4d032923034be366754754</id>
<content type='text'>
The scripts for authsae and iw use the option mesh_id to get set the
"meshid" during a mesh join. But the script for wpad-mesh ignores the
option mesh_id and instead uses the option ssid. Unify the mesh
configuration and let the wpa_supplicant script also use the mesh_id from
the configuration.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47615
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The scripts for authsae and iw use the option mesh_id to get set the
"meshid" during a mesh join. But the script for wpad-mesh ignores the
option mesh_id and instead uses the option ssid. Unify the mesh
configuration and let the wpa_supplicant script also use the mesh_id from
the configuration.

Signed-off-by: Sven Eckelmann &lt;sven@open-mesh.com&gt;

SVN-Revision: 47615
</pre>
</div>
</content>
</entry>
<entry>
<title>hostapd: Use network_get_device instead of uci_get_state</title>
<updated>2015-11-11T08:34:59+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-11-11T08:34:59+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=047f9ef8eb31ef5992225f1c6e4eb22ae196d225'/>
<id>047f9ef8eb31ef5992225f1c6e4eb22ae196d225</id>
<content type='text'>
This fixes the IAPP functionality.

Signed-off-by: Petko Bordjukov &lt;bordjukov@gmail.com&gt;

SVN-Revision: 47455
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the IAPP functionality.

Signed-off-by: Petko Bordjukov &lt;bordjukov@gmail.com&gt;

SVN-Revision: 47455
</pre>
</div>
</content>
</entry>
<entry>
<title>hostapd: add default value to eapol_version (#20641)</title>
<updated>2015-11-02T18:12:54+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-11-02T18:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=460640b6d7c524cda4332f190d57cf3df1e085a3'/>
<id>460640b6d7c524cda4332f190d57cf3df1e085a3</id>
<content type='text'>
r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"

Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;

SVN-Revision: 47361
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"

Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;

SVN-Revision: 47361
</pre>
</div>
</content>
</entry>
<entry>
<title>hostapd: Add eapol_version config option</title>
<updated>2015-09-11T16:33:54+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-09-11T16:33:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=9abc02479e669602d65c3c5b0bdfe067c08c3283'/>
<id>9abc02479e669602d65c3c5b0bdfe067c08c3283</id>
<content type='text'>
Add eapol_version to the openwrt wireless config ssid section.
Only eapol_version=1 and 2 will get passed to hostapd, the default
in hostapd is 2.

This is only useful for really old client devices that don't
accept eapol_version=2.

Signed-off-by: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;

SVN-Revision: 46861
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add eapol_version to the openwrt wireless config ssid section.
Only eapol_version=1 and 2 will get passed to hostapd, the default
in hostapd is 2.

This is only useful for really old client devices that don't
accept eapol_version=2.

Signed-off-by: Helmut Schaa &lt;helmut.schaa@googlemail.com&gt;

SVN-Revision: 46861
</pre>
</div>
</content>
</entry>
</feed>
