MW-1000™ User Guide
18
WiFi configuration
The WiFi configuration is available in the following file:
/etc/config/hostapd-minimal.conf
A sample format of the file is explained below. The mode of operation(2.4GHz/5GHz), channel,
SSID and security can be configured.
Parameter
Default Value
Description
interface
wifi0
Tells hostapd what wireless interface to use
driver
nl80211
For our purposes, always nl80211
If you only have 1 wireless interface, and it's
going to be bridged with a wired interface
ssid
SavariHMI
Sets the name (SSID = service set identifier)
of the network
hw_mode
g
Sets the operating mode of the interface,
and the allowed channels. Valid values
depend on hardware, but are always
a subset of a, b, g
channel
1
Sets the channel for hostapd to operate on.
Must be a channel supported by the mode
set in hw_mode.
macaddr_acl
0
This controls mac address filtering. Mac
addresses are easily spoofed, so only
consider the use of this to be
augmenting other security measures, you
have in place.
auth_algs
1
This is a bit field where the first bit (1) is for
open auth, the second bit (2) is for Shared
key auth (wep) and both (3) is both.
ignore_broadcast_ssid
0
This enables/disables broadcasting the ssid.
wpa
3
This is a bitfield like auth_algs. The first bit
enables wpa1 (1), the second bit enables
wpa2 (2), and both enables both (3)
wpa_passphrase
SavariSafetyApplications
These establish what the pre-shared key will
be for wpa authentication.
wpa_key_mgmt
WPA-PSK
This controls what key management
algorithms a client can authenticate with.
wpa_pairwise
TKIP
This controls wpa's data encryption