LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hostapd

user-space daemon for wireless access points and authentication servers

TLDR

Start access point
$ sudo hostapd [/etc/hostapd/hostapd.conf]
copy
Start in foreground with debug
$ sudo hostapd -d [hostapd.conf]
copy
Start in background
$ sudo hostapd -B [hostapd.conf]
copy
Start with debug and timestamps
$ sudo hostapd -dt [hostapd.conf]
copy

SYNOPSIS

hostapd [options] configfile_

DESCRIPTION

hostapd is a user-space daemon for wireless access points and authentication servers. It implements IEEE 802.11 access point management, WPA/WPA2/WPA3 authentication, and IEEE 802.1X authenticator.The tool transforms a wireless interface into an access point, handling client connections, encryption, and authentication protocols.

PARAMETERS

-B

Run in background (daemon).
-d
Debug output.
-dd
More verbose debug.
-t
Include timestamps in debug output.
-v
Display version information and exit.
-K
Include key data in debug output.
-g socket
Global control interface path.
-P pidfile
PID file path.
-f logfile
Redirect output to log file.
-e entropyfile_
File for storing entropy (to speed up restart).

CONFIG OPTIONS

interface: Wireless interface (e.g. wlan0)driver: Driver interface (nl80211, hostap, etc.)ssid: Network namehw_mode: Band (a = 5GHz, b = 2.4GHz 11Mbps, g = 2.4GHz 54Mbps)channel: Channel number (0 = ACS if supported)ieee80211n: Enable 802.11n (1 = yes)ieee80211ac: Enable 802.11ac (1 = yes)wpa: WPA mode (1 = WPA, 2 = WPA2, 3 = both)wpa_passphrase: Password (8-63 characters)wpa_key_mgmt: Key management (WPA-PSK, SAE for WPA3)

INSTALL

sudo apt install hostapd
copy
sudo dnf install hostapd
copy
sudo pacman -S hostapd
copy
sudo apk add hostapd
copy
sudo zypper install hostapd
copy
nix profile install nixpkgs#hostapd
copy

CAVEATS

Requires AP-capable wireless card. Configuration complex. Driver support varies. May conflict with NetworkManager.

HISTORY

hostapd was developed by Jouni Malinen as part of the Linux wireless stack. It became the standard way to create software access points on Linux, supporting evolving wireless security standards.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid