Bi-monthly release with minor bug fixes and improvements
Please Log in or Create an account to join the conversation.
if [ -f /etc/hostapd/hostapd.conf ]; then
OLDPSK=$(grep wpa_passphrase /etc/hostapd/hostapd.conf|awk -F= '{print $2}')
if [ -z "$OLDPSK" ]; then
echo "Error changing Virtual Access Point password!"
exit 1
else
cp /etc/hostapd/hostapd.conf{,"_$(date +"%d-%m-%y_%H-%M-%S")"}
sed -i -e "s/wpa_passphrase=$OLDPSK/wpa_passphrase=$NEWPSK/g" /etc/hostapd/hostapd.conf
echo "Virtual Access Point password changed successfully. You need to reboot to activate changes."
exit 0
fi
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.