diff --git a/includes/configure_client.php b/includes/configure_client.php index 334c95ea..4b1ede62 100755 --- a/includes/configure_client.php +++ b/includes/configure_client.php @@ -151,7 +151,7 @@ function DisplayWPAConfig(){

showMessages(); ?>

Client settings

- Rescan + Rescan
diff --git a/includes/dashboard.php b/includes/dashboard.php index eb090a94..1f66542a 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -68,6 +68,7 @@ function DisplayDashboard(){ exec( 'ifconfig wlan0 | grep -i running | wc -l',$test ); if($test[0] == 0) { exec( 'sudo ip link set wlan0 up',$return ); + exec( 'sudo ip -s a f label wlan0',$return); } else { echo 'Interface already up'; } diff --git a/index.php b/index.php index 37bd705e..d5cb80bd 100755 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ * @author Lawrence Yau * @author Bill Zimmerman * @license GNU General Public License, version 3 (GPL-3.0) - * @version 1.1 + * @version 1.2.2 * @link https://github.com/billz/raspap-webgui * @see http://sirlagz.net/2013/02/08/raspap-webgui/ */ @@ -117,7 +117,7 @@ $csrf_token = $_SESSION['csrf_token']; - RaspAP Wifi Portal v1.1 + RaspAP Wifi Portal v1.2.2 @@ -135,7 +135,7 @@ $csrf_token = $_SESSION['csrf_token']; Configure hotspot
  • - Configure DHCP + Configure DHCP Server
  • diff --git a/installers/common.sh b/installers/common.sh index 6b07e9a3..93e82b54 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -183,6 +183,9 @@ function patch_system_files() { '/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf' '/sbin/shutdown -h now' '/sbin/reboot' + '/sbin/ip link set wlan0 down' + '/sbin/ip link set wlan0 up' + '/sbin/ip -s a f label wlan0' ) # Check if sudoers needs patchin diff --git a/installers/uninstall.sh b/installers/uninstall.sh index 6e2dd658..b63ab2f0 100644 --- a/installers/uninstall.sh +++ b/installers/uninstall.sh @@ -81,7 +81,7 @@ function remove_raspap_directories() { install_error "RaspAP Installation directory not found. Exiting!" fi - sudo rm -rf "$webroot_dir/*" + sudo rm -rf "$webroot_dir"/* sudo rm -rf "$raspap_dir" }