mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Change hostapd default WPA passw to "IPFire-2.x" because 6 chars are to short
Create /var/run/hostapd folder at hostapd initskript
This commit is contained in:
@@ -2,7 +2,7 @@ interface=blue0
|
||||
driver=madwifi
|
||||
auth_algs=3
|
||||
wpa=1
|
||||
wpa_passphrase=IPFire
|
||||
wpa_passphrase=IPFire-2.x
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=TKIP CCMP
|
||||
debug=0
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
case "${1}" in
|
||||
start)
|
||||
boot_mesg -n "Starting hostapd... "
|
||||
mkdir -p /var/run/hostapd
|
||||
# enable wlan module of collectd
|
||||
sed -i -e "s|#LoadPlugin wireless|LoadPlugin wireless|g" /etc/collectd.conf
|
||||
/usr/bin/wlanconfig ath0 destroy
|
||||
|
||||
Reference in New Issue
Block a user