How to setup hostapd on Fedora (or any other Red Hat based systems)
Kees de Jong
keesdejong+fedora at gmail.com
Tue Feb 17 04:09:38 EST 2015
I used to run hostapd on a Debian system, which worked flawless. I now
use Fedora and that seems to be a total different deal.
Below was my Debian configuration. I had two access points on the same
wireless interface (virtual interface). I can't seem to get this to
work on Fedora...
On Debian this was my network configuration in /etc/networking/interfaces:
# Private wireless interface
iface wlan0 inet static
# Public wireless interface
iface wlan1 inet static
I guess the biggest show stopper is the way Fedora manages it's
networks. For Red Hat systems I found the most creative ways to setup
hostapd. Mostly with scripts that configure the wireless interface
(managed mode and IP address) and then the script loads the
configuration into hostapd. Some scripts even do the iptables
configurations. I can't believe that this is the way to do it...
NetworkManager on Fedora doesn't seem to be able to configure wireless
devices. I came accross this configuration though:
Which sorta looka okay. But also in that howto they refer to a start
up script for all the configurations:
Here is one for Arch, same ridicules solution (script):
So my question comes down to this. Is hostapd only made with Debian in
mind? Because it only seems to have a clean setup on that system.
If it isn't meant to be exclusively on Debian, then why are all
non-Debian systems setup with these scripts? How can I setup hostapd
without all these script solutions?
More information about the HostAP