<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Raymond P. Burkholder - Things I Do - Wireless</title>
    <link>https://blog.raymond.burkholder.net/</link>
    <description>In And Around Technology and The Arts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7.2 - http://www.s9y.org/</generator>
    <pubDate>Tue, 10 Jun 2025 00:31:48 GMT</pubDate>

    <image>
        <url>https://blog.raymond.burkholder.net/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Raymond P. Burkholder - Things I Do - Wireless - In And Around Technology and The Arts</title>
        <link>https://blog.raymond.burkholder.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Multi Hop Wireless</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/1308-Multi-Hop-Wireless.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/1308-Multi-Hop-Wireless.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=1308</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1308</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;https://arxiv.org/abs/2506.05742&quot; target=_blank&gt;Malicious node aware wireless multi hop networks: a systematic review of
  the literature and recommendations for future research&lt;/a&gt;

&lt;blockquote&gt;
Wireless communication provides great advantages that are not available
through their wired counterparts such as flexibility, ease of deployment and
use, cost reductions, and convenience. Wireless multi-hop networks (WMN) do not
have any centralized management infrastructure. Wireless multi-hop networks
have many benefits since proposed. In such networks when a node wants to send a
packet to a destination where is not in the transmission range, depend on some
intermediate nodes. In this type of networks packet sending is in the form of
multiple hop until destination and this work is dynamic. Lack of centralized
management cause that some nodes show malicious function. Malicious nodes are
that receive packets and drop them maliciously. These malicious nodes could
have many reasons such as hardware failure, software failure or lack of power.
Such nodes make multiple packets drop from the network and the performance of
network strongly decreases. As a result, the throughput of the network
decrease, increase end-to-end delay and increase overhead. Therefore, we must
aware from presence of malicious node in the network and do routing based on
this awareness. Therefore, this paper aims to study and review the present
malicious node detection methods that proposed in literatures. We categorized
networks in groups, including ad hoc networks, MANET, DTN, Opportunistic
networks, WSN, VANET and other wireless networks and compare malicious node
detection met
&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Tue, 10 Jun 2025 00:31:48 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/1308-guid.html</guid>
    
</item>
<item>
    <title>SDR - Software Defined Radio</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/1043-SDR-Software-Defined-Radio.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/1043-SDR-Software-Defined-Radio.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=1043</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1043</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.n8mdp.com/openwebrx.php&quot; target=_blank&gt;OpenWebRX&lt;/a&gt; -for listening to On-Line SDRs using a web browser. It is a web based server and interface for remotely accessing &lt;a href=&quot;http://www.rtl-sdr.com/about-rtl-sdr/&quot; target=&quot;_blank&quot;&gt;RTL-SDRs&lt;/a&gt; and &lt;a href=&quot;http://www.sdrplay.com/&quot; target=&quot;_blank&quot;&gt;SDRPlay&#039;s&lt;/a&gt;.  Another link:  &lt;a href=&quot;https://www.sdr.hu/openwebrx&quot; target=_blank&gt;Open Source SDR Web App for Everyone&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.nycmesh.net/&quot; target=_blank&gt;NYC Mesh&lt;/a&gt; -  community-owned network for fast, affordable and fair access to the Internet - Most of the devices we use, such as a LiteBeam or NanoStation, are self-contained so they have an antenna, radio and ethernet router all in one. 
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 20 Jan 2020 19:29:35 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/1043-guid.html</guid>
    
</item>
<item>
    <title>wpa supplicant collection</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/1029-wpa-supplicant-collection.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/1029-wpa-supplicant-collection.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=1029</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=1029</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;To build a wpa_supplicant configuration file:

&lt;blockquote&gt;&lt;pre&gt;
# wpa_passphrase testap &gt;&gt; /etc/wpa_supplicant/testap.conf
  a_password
# cat /etc/wpa_supplicant/testap.conf
  # reading passphrase from stdin
  network={
          ssid=&quot;testap&quot;
          #psk=&quot;a_password&quot;
          psk=1b97a5c02076ac80739263fb33db49c7c50d3199202872e06097e7baf305f35e
  }
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Additional info at &lt;a href=&quot;https://linuxcommando.blogspot.com/2013/10/how-to-connect-to-wpawpa2-wifi-network.html&quot; target=_blank&gt;How to connect to a WPA/WPA2 WiFi network using Linux command line&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Tue, 15 Oct 2019 00:17:43 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/1029-guid.html</guid>
    
</item>
<item>
    <title>WiFi Analyzers</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/880-WiFi-Analyzers.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/880-WiFi-Analyzers.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=880</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=880</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;For Android:
&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&quot;http://wifianalyzer.mobi&quot; target=_blank&gt;wifianalyzer&lt;/a&gt; for Android, shows what station IDs are on what channels, handles 2.4g and 5G
connections, etc.  Doesn&#039;t provide mapping, just shows &quot;from where I am right know, what channels have which stations as what strengths?&quot;
&lt;/blockquote&gt;

&lt;p&gt;Nanobeam:
&lt;blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://www.ubnt.com/airmax/nanobeam-ac-gen2/&quot; target=_blank&gt;NanoBeam® AC&lt;/a&gt; is a directional antenna/radio integrated unit and is intended as a point
to point or point-to-multipoint WISP client radio. The one feature you can
get from it very cheaply is a directional, 2x2 MIMO 5.x GHz band spectrum
analyzer that sees things *which are not 802.11 or wifi based.  &lt;a href=&quot;https://www.google.com/search?q=ubiquiti+airview&amp;num=100&amp;source=lnms&amp;tbm=isch&quot; target=_blank&gt;sample images&lt;/a&gt;

&lt;p&gt;Highly useful for tracking down a specific source of non-wifi 5 GHz band
interference. There&#039;s all sorts of random consumer grade things people can
buy and introduce into an environment which do not broadcast MAC addresses
or SSIDs, and do not show up on purely 802.11(abgn/ac) based tools.

&lt;p&gt;It will of course also see hidden SSIDs and standard+non-standard
802.11abgn(ac) emitters.

&lt;p&gt;There are also 2.4 GHz versions of similar products which will let you find
non-802.11 emitters in the 2300 to 2500 MHz band. At $79 a lot less
expensive than a &quot;real&quot; spectrum analyzer.

&lt;p&gt;You can get DC PoE injectors for them which will connect to a Makita drill
battery if you want to make it portable and wander around with a laptop.

&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Sun, 31 Dec 2017 21:15:20 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/880-guid.html</guid>
    
</item>
<item>
    <title>WAN Wireless</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/806-WAN-Wireless.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/806-WAN-Wireless.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=806</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=806</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;https://www.mimosa.co/&quot; target=_blank&gt;mimosa&lt;/a&gt;: Mimosa Networks is a leading provider of 5G Fixed wireless solutions that enable service providers to connect dense urban and hard-to-reach rural homes at a fraction of the cost of fiber-to-the-premises solutions.

&lt;p&gt;&lt;a href=&quot;https://www.wifipineapple.com/&quot; target=_blank&gt;The WiFi Pineapple® NANO and TETRA&lt;/a&gt; are the 6th generation auditing platforms from Hak5. Thoughtfully developed for mobile and persistent deployments, they build on over 8 years of WiFi penetration testing expertise. 
    </content:encoded>

    <pubDate>Wed, 06 Sep 2017 22:35:22 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/806-guid.html</guid>
    
</item>
<item>
    <title>Additional Linux Based Wireless Info</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/765-Additional-Linux-Based-Wireless-Info.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/765-Additional-Linux-Based-Wireless-Info.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=765</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=765</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;ArchLinux has a reference page  on a
&lt;a href=&quot;https://wiki.archlinux.org/index.php/software_access_point&quot; target=_blank&gt;software access point&lt;/a&gt;.  At the bottom, it references that a non-00 country code is required along with the installation of CRDA (Central Regulatory Domain Agent) for wireless networks is required to run in the 5g range, due to the fact that radars and such need to be detected and non-interfered with.  That page also describes a mechanism for a wifi device to be both a client and access-point.

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://blog.fraggod.net/2017/04/27/wifi-hostapd-configuration-for-80211ac-networks.html&quot; target=_blank&gt;WiFi hostapd configuration for 802.11ac networks&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.debian.org/WiFi&quot; target=_blank&gt;Debian WiFi&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.debian.org/iwlwifi&quot; target=_blank&gt;Intel Wireless WiFi Link, Wireless-N, Advanced-N, Ultimate-N devices&lt;/a&gt; for debian
  &lt;li&gt;&lt;a href=&quot;http://randomstuffidosometimes.blogspot.com/2016/03/rtl8192cu-and-rtl8188cus-in-station-and.html&quot; target=_blank&gt;RTL8192CU and RTL8188CUS&lt;/a&gt; in Station and AP mode at the same time
  &lt;li&gt;&lt;a href=&quot;https://koharicorp.wordpress.com/2015/03/26/debian-access-point-with-hostapd-and-rtl8188cusrtl8192cu/&quot; target=_blank&gt;Debian access point with Hostapd and RTL8188CUS/RTL8192CU&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/&quot; target=_blank&gt;Raspberry Pi Into a WiFi Hotspot with Edimax Nano USB EW-7811Un (RTL8188CUS chipset)&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://wikidevi.com/wiki/List_of_Wi-Fi_Device_IDs_in_Linux&quot; target=_blank&gt;List of Wi-Fi Device IDs in Linux&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.aircrack-ng.org/&quot; target=_blank&gt;aircrack-ng&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;http://pisarenko.net/blog/2015/02/01/beginners-guide-to-802-dot-11ac-setup/&quot; target=_blank&gt;Beginners guide to a custom 802.11ac setup&lt;/a&gt;: lots of good tricks using &quot;COMPEX WLE900V5-23 miniPCIe module, AR9880, 802.11ac, 3*3MIMO&quot;
  &lt;li&gt;&lt;a href=&quot;https://wireless.wiki.kernel.org/en/users/Documentation/hostapd&quot; target=_blank&gt;About hostapd&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://seravo.fi/2014/create-wireless-access-point-hostapd&quot; target=_blank&gt;Turn any computer into a wireless access point with Hostapd&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;http://w1.fi/hostapd/&quot; target=_blank&gt;hostapd&lt;/a&gt;: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
  &lt;/ul&gt;

&lt;ul&gt;
  &lt;li&gt;command: iw list - to show capabilities of hardware
  &lt;li&gt;command: iw wlan0 info
  &lt;li&gt;command: iw wlan0 link
  &lt;li&gt;command: iw wlan0 station dump
  &lt;li&gt;command: iw reg set {00|BM|US|CA} - set appropriate country code for operating mode
  &lt;li&gt;command: iw get get - to see results
  &lt;li&gt;command: lsusb - to show usb devices
  &lt;ll&gt;command: lspci: - to show pci devices
  &lt;li&gt;command: lspci -vv -s 6e:00.0 - show particular pci device (change the id)
  &lt;li&gt;command: nmcli - network manager command line &lt;a href=&quot;https://www.cyberciti.biz/tips/linux-find-out-wireless-network-speed-signal-strength.html&quot; target=_blank&gt;more info&lt;/a&gt;
  &lt;li&gt;command: cat /proc/net/wireless
  &lt;li&gt;command: iwevent
  &lt;li&gt;command: iwgetid
  &lt;li&gt;command: iwconfig - ancient tool
  &lt;/ul&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/travelping/freewtp&quot; target=_blank&gt;FreeWTP -- An Open Source CAPWAP WTP &lt;/a&gt;: not sure what it does
  &lt;li&gt;&lt;a href=&quot;https://linuxiswonderful.wordpress.com/2016/06/20/wifi-access-point-and-station-on-same-chip/&quot; target=_blank&gt;wifi access point on same chip&lt;/a&gt; by &quot;linux is wonderful&quot;
  &lt;li&gt;&lt;a href=&quot;http://www.robert-heyward.com/rjh/?page_id=12&quot; target=_blank&gt;ath9k and hostapd hoot&lt;/a&gt;: for an older kernel version, but still workable, with a note about making it work with 802.11n.
  &lt;li&gt;&lt;a href=&quot;https://www.ibm.com/developerworks/library/l-wifiencrypthostapd/&quot; target=_blank&gt;strong wifi encryption&lt;/a&gt; with hostapd, written by ibm, and discusses &quot;pre-shared key by mac address&quot;
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sat, 17 Jun 2017 16:54:08 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/765-guid.html</guid>
    
</item>
<item>
    <title>Windows Clients on hostapd.conf</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/763-Windows-Clients-on-hostapd.conf.html</link>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/763-Windows-Clients-on-hostapd.conf.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=763</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=763</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;Windows 7,8,9,10  are different animals.  I was able to get Android, Mac, Linux and various cameras to associate using WPA2 encryption.  Windows needs a particular wpa settings, otherwise things won&#039;t work.  Troubleshooting Windows is next to impossible with its typical cryptic hex code patterns or this:  &quot;couldn&#039;t connect&#039;.  Windows is the most unhelpful operating system.  Back in the early days it was helpful.  But now, even for the technically inclined, Windows is a nightmare for troubleshooting corner cases.

&lt;p&gt;Any way, here is a hostapd.conf file working with Windows 10 and the latest drivers (I tested with a couple different Atheros cards).  It came down to using particular combinations of WPA parameters, specifically:  TKIP and CCMP.

&lt;blockquote&gt;&lt;pre&gt;
logger_syslog=-1
logger_syslog_level=2
#logger_stdout=-1
#logger_stdout_level=2
#sets the wifi interface to use, is wlan0 in most cases
driver=nl80211
#ieee80211n=1
#ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
#ieee80211ac=1
#ieee80211d=1
#ieee80211h=1
#wmm_enabled=0
#wme_enabled=1
#country_code=CA
country_code=0
#sets the mode of wifi, depends upon the devices you will be using. It can be a,b,g,n. Setting to g ensures backward compatiblity.
hw_mode=g
#sets the channel for your wifi
channel=0
#macaddr_acl sets options for mac address filtering. 0 means &quot;accept unless in deny list&quot;
macaddr_acl=0
#setting ignore_broadcast_ssid to 1 will disable the broadcasting of ssid
ignore_broadcast_ssid=0
interface=wlp4s0
#sets the ssid of the virtual wifi access point
ssid=yourssid
bssid=02:00:00:00:10:01
#Sets authentication algorithm
#1 - only open system authentication
#2 - both open system authentication and shared key authentication
auth_algs=1
#####Sets WPA and WPA2 authentication#####
#wpa option sets which wpa implementation to use
#1 - wpa only
#2 - wpa2 only
#3 - both
wpa=3
#sets wpa passphrase required by the clients to authenticate themselves on the network
#sets wpa key management
#wpa_key_mgmt=WPA-PSK WPA-EAP WPA-PSK-SHA256 WPA-EAP-SHA256
wpa_passphrase=yourpassphrase
wpa_key_mgmt=WPA-PSK
#sets encryption used by WPA
wpa_pairwise=TKIP CCMP
#sets encryption used by WPA2
rsn_pairwise=CCMP
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;http://linuxwireless.org/en/users/Documentation/hostapd/&quot; target=_blank&gt;hostapd docs&lt;/a&gt; make mention that camp might need to be removed in order to function with certain windows computers. 
    </content:encoded>

    <pubDate>Tue, 30 May 2017 04:54:20 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/763-guid.html</guid>
    
</item>
<item>
    <title>Using Quilt to Patch a Debian Package - hostapd</title>
    <link>https://blog.raymond.burkholder.net/index.php?/archives/762-Using-Quilt-to-Patch-a-Debian-Package-hostapd.html</link>
            <category>OpenFlow</category>
            <category>Open vSwitch</category>
            <category>Wireless</category>
    
    <comments>https://blog.raymond.burkholder.net/index.php?/archives/762-Using-Quilt-to-Patch-a-Debian-Package-hostapd.html#comments</comments>
    <wfw:comment>https://blog.raymond.burkholder.net/wfwcomment.php?cid=762</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=762</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;It took a little while to determine the root cause, but, ... 

&lt;p&gt;I am rebuilding an old windows workstation into a Linux based router/firewall/access-point using 
&lt;a href=&quot;https://w1.fi/hostapd/&quot; target=_blank&gt;hostapd&lt;/a&gt; to provide wireless interfaces.  Normally, this is a straight-forward
configuration.  The twist in this case is that I am using 
&lt;a href=&quot;http://openvswitch.org/&quot; target=_blank&gt;Open vSwitch&lt;/a&gt; to handle layer 2 functions.  The box has an existing  
&lt;a href=&quot;https://wikidevi.com/wiki/Atheros_AR5B22&quot; target=_blank&gt;Atheros AR5B22&lt;/a&gt; based PCIe 1  card with two antenna connections on the rear face.  Which translates into a Qualcomm Atheros AR9462 chipset.

&lt;p&gt;I added the wireless interface to OVS on vlan 10 with a command like:

&lt;blockquote&gt;&lt;pre&gt;
ovs-vsctl add-port ovsbr0 wlp4s0 tag=10
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;I used a simple hosted configuration file like:

&lt;blockquote&gt;&lt;pre&gt;
# cat /etc/hostapd/hostapd.conf
interface=wlp4s0
driver=nl80211
ssid=test
auth_algs=1
wpa=1
#wpa_psk_file=/etc/hostapd/hostapd.psk
wpa_passphrase=testtest
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
rsn_pairwise=CCMP
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;When running in debug mode:

&lt;blockquote&gt;&lt;pre&gt;
hostapd -d -K -t /etc/hostapd/hostapd.conf
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;I was seeing EAPoL (Extensible Authentication Protocol over LAN) based retries.  It took some research to come across the interaction about &lt;a href=&quot;http://hostap.shmoo.narkive.com/r7vfMqR6/openvswitch-and-hostap&quot; target=_blank&gt;openvswitch and hostapd&lt;/a&gt;.  Bottom line, is that hostapd uses a control channel to control the wireless device.  EAPoL is a packet based function.  AS such, hostapd needs to monitor the packets to pick out the EAPoL packets.  A mechanism is built in for working with regular Linux bridged networking.  That code does not work with Open vSwitch.  Someone created a 
&lt;a href=&quot;https://github.com/hschaa/hostapd/commit/c89daaeca4ee90c8bc158e37acb1b679c823d7ab&quot; target=_blank&gt;patch&lt;/a&gt; to work around the issue.

&lt;p&gt;This patch isn&#039;t found in mainline hostapd, nor as a patch in the Debian repository.  So... I need to apply it manually.  I used the documentation found at &lt;a href=&quot;https://wiki.debian.org/BuildingTutorial&quot; target=_blank&gt;Debian Building Tutorial&lt;/a&gt; as a starting point.  The divergence is that the documentation uses a non-functional, deprecated tool called dpatch.  I used 
&lt;a href=&quot;https://packages.debian.org/quilt&quot; target=_blank&gt;quilt&lt;/a&gt; to handle patching.

&lt;p&gt;As a sidebar, this server I am building uses LXC containers to segregate functionality, compartmentalise security, and to make it easier to keep the main install minimal.  As patching and rebuilding the package requires a bunch of build tools, the tools can be easily installed, and then the whole build environment deleted when complete.

&lt;p&gt;The annotated series of steps.  I have a number of commented-out entries which I plan to play with later, once I understand more the nuances.  One thing, there appears to be a lock out of 5gig frequencies when acting as a host.

&lt;blockquote&gt;&lt;pre&gt;
apt update
apt install build-essential fakeroot devscripts # install tools
apt-get source hostapd  #obtain source

# review the source directory, then
apt-get build-dep wpa  # install the build dependencies
cd wpa-2.4/
debuild -b -uc -us  # build with existing source
dpkg -i ../hostapd_2.4-1_amd64.deb  # install the package as a test
apt install quilt  # install patch manager
quilt top  # inspect the current latest patch
ls -alt debian/patches/  # most patches kept here
ls -alt patches/  # some are here as well

quilt new rpb_hostapd_openvswitch  # create a new patch
# in the following edit, I removed the content, and pasted the source from
# https://github.com/helmut-jacob/hostapd/blob/master/src/drivers/linux_ioctl.c
quilt edit src/drivers/linux_ioctl.c  # source file to change, leave function linux_master_get in place
quilt refresh  # refresh
quilt top  # my new patch is at the top
cat debian/patches/rpb_hostapd_openvswitch |less  # this is my patch
quilt diff  # show the diff colorized
quilt push  # add the patch to the list of patches
dch -n   # update the changelog and version

debuild -b -uc -us  # build with the new patch

# the patch can then be applied and tested (direct from the lxc container):
dpkg -i /var/lib/lxc/apd/rootfs/usr/src/hostapd_2.4-1.1_amd64.deb
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;With the patch, clients can now successfully associate and authenticate with hostapd when the wireless port is connected to an Open vSwitch bridge.

&lt;p&gt;hostapd sample configurations:

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://wiki.gentoo.org/wiki/Hostapd&quot; target=_blank&gt;Hostapd&lt;/a&gt;: from a Gentoo perspective, with an intro to multiple AP and some references to 802.11ac with DFS
  &lt;li&gt;&lt;a href=&quot;https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA&quot; target=_blank&gt;CRDA Regulatory Code&lt;/a&gt; - getting hostapd to run in the 5g bands
  &lt;li&gt;&lt;a href=&quot;https://communities.intel.com/thread/57515&quot; target=_blank&gt;Edison AP mode in 5GHz&lt;/a&gt; - putting two and two together
  &lt;li&gt;&lt;a href=&quot;http://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf&quot; target=_blank&gt;w1.fi hostapd.conf example&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;http://linuxwireless.org/en/users/Documentation/hostapd/&quot; target=_blank&gt;hostapd docs&lt;/a&gt; which include some 802.1x suggestions and for running with segregated plans.  freeradius is also needed when running 802.1x style configurations as the radius protocol is used for communicating the configurations to end devices.
  &lt;li&gt;&lt;a href=&quot;https://android.googlesource.com/platform/external/wpa_supplicant_8/+/brillo-m9-dev/hostapd/wired.conf&quot; target=_blank&gt;simple hostapd/radius config&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://forum.openwrt.org/viewtopic.php?id=59129&quot; target=_blank&gt;openwrt / openvswitch&lt;/a&gt;: background information on the hostapd / openvswitch issue
  &lt;li&gt;&lt;a href=&quot;https://wiki.helsinki.fi/display/WiFiSDN/Software-Defined+Wi-Fi+Networks+with+Wireless+Isolation&quot; target=_blank&gt;OpenFlow Isolation&lt;/a&gt;: use openflow / openvswitch to isolate wifi networks and users, which is an improvement on the psk per user and 802.1x per user vlan.  with ovs-ofctl examples
  &lt;li&gt;&lt;a href=&quot;https://wiki.archlinux.org/index.php/MAC_address_spoofing&quot; target=_blank&gt;MAC address spoofing&lt;/a&gt;, and since the pre-shared key in a previous step might be MAC based, here is a way to get around the limitation.
  &lt;li&gt;&lt;a href=&quot;https://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/&quot; target=_blank&gt;hostapd and dhcp&lt;/a&gt;: simple wifi config
  &lt;li&gt;&lt;a href=&quot;https://www.net.in.tum.de/pub/itg/itg522+524_2016/itg522+524_2016_hauser+schmidt+menth_slides.pdf&quot; target=_blank&gt;SDN&lt;/a&gt;: Establishing a Session Database for SDN Using 802.1X and Multiple Authentication Resources  -- interesting presentation on open flow, 802.1x, sdn, radius, ...
  &lt;li&gt;&lt;a href=&quot;https://wikidevi.com/wiki/Ath9k&quot;target=_blank&gt;Ath9k Chipsets&lt;/a&gt;
  &lt;/ul&gt;

&lt;p&gt;2018/09/16 Other configs (for 5ghz):

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://blog.kylemanna.com/linux/wifi-hostapd/&quot; target=_blank&gt;My Wi-Fi access point revisited &lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=200161&quot; target=_blank&gt;ArchLinux - [AR9390][ath9k][hostapd] No SSID in the air&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;https://askubuntu.com/questions/789119/hostapd-much-slower-than-expected&quot; target=_blank&gt;Hostapd much slower than expected&lt;/a&gt;
  &lt;li&gt;
  &lt;/ul&gt;

&lt;p&gt;2020/08/21 From the mailing list:

&lt;blockquote&gt;
For &quot;normal&quot; wifi you can&#039;t simply bridge the wlan interface of the client. 
You can bridge it on the AP.
This is, because in wifi you don&#039;t have a source-MAC and a
destination-MAC, but also a transmitter-MAC and a receiver-MAC.
As an optimisation, in ap2sta direction the destination and the receiver
are a single field.
In sta2ap direction, the source and the transmitter are a single field

&lt;p&gt;Take a look at 4addr mode which solves the issue by having actually all
4 fields.
This is a linux specific implementation and may not be available on all
types of cards.

&lt;p&gt;An alternative would be to have a routed connection between the two
devices and bridge your ovs-instances via GRETAP.

&lt;/blockquote&gt;

&lt;p&gt;2020/12/09 - some additional settings and notes - on Debian hostapd gets installed with out a configuration file.  Once the configuration file is in place, run the following to auto-start hostapd:

&lt;blockquote&gt;
&lt;ul&gt;
  &lt;li&gt;sudo systemctl unmask hostapd
  &lt;li&gt;sudo systemctl enable hostapd
  &lt;li&gt;sudo systemctl start hostapd
  &lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;The commands are from: &lt;a href=&quot;https://github.com/raspberrypi/documentation/issues/1018&quot; target=_blank&gt;Failed to start hostapd.service: Unit hostapd.service is masked. #1018&lt;/a&gt;

&lt;p&gt;Another note:  many/most/all Intel adapters are designed for client side operations.  Use an  ath5k/ath9k/ath10k adapters for server/host side operations.  The key aspect here is that the channel=0 entry in the configuration file will result in errors and exit of hostapd as it cannot find survey data when mapping the channels.  The channel parameter needs to be set to 1, 7, or 11 (non overlapping channels).  For example:

&lt;blockquote&gt;&lt;pre&gt;
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Some interesting points from &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2014-intel-7260-access-point&quot; target=_blank&gt;Intel Wireless 7260 as an access point&lt;/a&gt;:

&lt;ul&gt;
  &lt;li&gt;First, the card is said “dual-band” but you can only uses one band at a time because there is only one radio. Almost all wireless cards have this limitation. If you want to use both the 2.4 GHz band and the less crowded 5 GHz band, two cards are usually needed.
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sat, 27 May 2017 05:46:12 +0000</pubDate>
    <guid isPermaLink="false">https://blog.raymond.burkholder.net/index.php?/archives/762-guid.html</guid>
    
</item>

</channel>
</rss>
