Skip to content

net-hostapd.plugin.bash¤

hostapd install configurations.

group:postnet | runtype:minmon | deps: - | port: -

Usage
net-hostapd help|install|uninstall|download|disable|configgen|configapply|check|run
$ net-hostapd install - install hostapd
$ net-hostapd uninstall - uninstall hostapd
$ net-hostapd download - download hostapd package files to pkg dir
$ net-hostapd disable - disable hostapd plugin
$ net-hostapd configgen - generate hostapd configuration files
$ net-hostapd configapply - apply hostapd configuration files
$ net-hostapd check - check hostapd plugin status
$ net-hostapd run - run hostapd service
$ net-hostapd help - show this help message
Description

Hostapd (Host Access Point Daemon) turns a wireless network interface into an access point.

Jangbi Configs¤

/opt/jangbi/.config
RUN_NET_HOSTAPD=1 # enable hostapd
JB_WLANINF="wlan0" # wireless interface name
JB_WLAN_SSID="MyAccessPoint" # WiFi network name
JB_WLAN_PASS="password123" # WiFi password

Check if running¤

bash command
$ ps aux|grep hostapd
root      12345  0.0  0.1  12345  1234 ?        S    12:34   0:00 hostapd /etc/hostapd/hostapd.conf
$ iwconfig wlan0
wlan0     IEEE 802.11  Mode:Master  Tx-Power=20 dBm

Current Configuration¤

Current configuration is stored in /etc/hostapd/. it is generated by net-hostapd configgen command on install. You can edit it manually and not run install or configapply commands to keep current configurations.

/etc/hostapd/hostapd.conf
interface=
ssid=durejangbi
hw_mode=g
channel=6
ieee80211n=1
wpa=2
wpa_passphrase=durejangbi
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wmm_enabled=1