diff --git a/FruityWifi/conf/hostapd-secure.conf b/FruityWifi/conf/hostapd-secure.conf index 149e340..18c25f1 100644 --- a/FruityWifi/conf/hostapd-secure.conf +++ b/FruityWifi/conf/hostapd-secure.conf @@ -1,4 +1,5 @@ -ctrl_interface=/var/run/hostapd-phy0 +ctrl_interface=/var/run/hostapd + driver=nl80211 wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmax=10 @@ -39,9 +40,6 @@ tx_queue_data0_burst=1.5 hw_mode=g channel=6 - - - logger_syslog=127 logger_syslog_level=2 logger_stdout=127 @@ -50,7 +48,6 @@ logger_stdout_level=2 #ht_capab=[HT20][SHORT-GI-20][SHORT-GI-40][RX-STBC1][DSSS_CCK-40] interface=wlan0 -ctrl_interface=/var/run/hostapd-phy0 disassoc_low_ack=1 auth_algs=1 #wpa=0 diff --git a/FruityWifi/conf/hostapd.conf b/FruityWifi/conf/hostapd.conf index 233e178..50efcf7 100644 --- a/FruityWifi/conf/hostapd.conf +++ b/FruityWifi/conf/hostapd.conf @@ -1,4 +1,5 @@ -ctrl_interface=/var/run/hostapd-phy0 +ctrl_interface=/var/run/hostapd + driver=nl80211 wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmax=10 @@ -39,9 +40,6 @@ tx_queue_data0_burst=1.5 hw_mode=g channel=6 - - - logger_syslog=127 logger_syslog_level=2 logger_stdout=127 @@ -50,7 +48,6 @@ logger_stdout_level=2 #ht_capab=[HT20][SHORT-GI-20][SHORT-GI-40][RX-STBC1][DSSS_CCK-40] interface=wlan0 -ctrl_interface=/var/run/hostapd-phy0 disassoc_low_ack=1 auth_algs=1 wpa=0 @@ -59,6 +56,3 @@ ssid=FruityWifi wmm_enabled=1 bssid=00:00:00:00:00:00 ignore_broadcast_ssid=0 - - - diff --git a/FruityWifi/conf/pool-ssid.conf b/FruityWifi/conf/pool-ssid.conf new file mode 100644 index 0000000..e69de29 diff --git a/FruityWifi/conf/pool-station.conf b/FruityWifi/conf/pool-station.conf new file mode 100644 index 0000000..e69de29 diff --git a/FruityWifi/conf/ssid.conf b/FruityWifi/conf/ssid.conf new file mode 100644 index 0000000..e69de29 diff --git a/FruityWifi/www/functions.php b/FruityWifi/www/functions.php index 730c7b3..c078697 100644 --- a/FruityWifi/www/functions.php +++ b/FruityWifi/www/functions.php @@ -1,6 +1,6 @@
"; -} -*/ ?> - -
@@ -227,71 +206,71 @@ - - + +
-
- Mode - -
- -
- -
-  [AP] - -
-
+
+ Mode + +
+ +
+ +
+  [AP] + +
+

-
- -
> - - - - - - - - + + + + + + + + + + + + > + + + + > + + + + > + + + + > + + + + +
- IN + + +
> + + + + - - + + + - - - - > - - - - > - - - - > - - - - > - - - - -
+ IN
-
+
"; } ?> -
- - stop [on]"; - } else { - echo "start [-]"; - } - - ?> -
-
-
- -
> - - - - + + + > + + + + > + + + + > + + + + > + + + + +
- OUT +
+ + stop [on]"; + } else { + echo "start [-]"; + } + + ?> +
+
+
+ +
> + + + + - - - - - - - > - - - - > - - - - > - - - - > - - - - -
+ OUT
-
-
- -
- "; - } - ?> -
- - stop [on]"; - } else { - echo "start [-]"; - } - - ?> -
-
-
+
+ +
+ "; + } + ?> +
+ + stop [on]"; + } else { + echo "start [-]"; + } + + ?> +
+
+
@@ -419,19 +398,19 @@
+ [sniff|inject]
@@ -441,20 +420,20 @@
- + -
Additional Interfaces
+
Monitor Interface
- + onchange="this.form.submit()"> Secure onchange="this.form.submit()"> - -
- +
+ - - -
- + --> + + +
+
@@ -504,8 +483,8 @@
Domain Setup
- - + +
@@ -516,17 +495,17 @@
Password
- - - - -           "; - if ($pass_msg == 1) echo "password changed"; - if ($pass_msg == 2) echo "password error"; - } - ?> + + + + +           "; + if ($pass_msg == 1) echo "password changed"; + if ($pass_msg == 2) echo "password error"; + } + ?>
@@ -537,8 +516,8 @@
Token
- - + +
diff --git a/install-FruityWifi.sh b/install-FruityWifi.sh index 8df6c45..becd10d 100755 --- a/install-FruityWifi.sh +++ b/install-FruityWifi.sh @@ -39,7 +39,7 @@ adduser --disabled-password --quiet --system --home /var/run/fruitywifi --no-cre echo "[fruitywifi user has been created]" echo -apt-get -y install gettext make intltool build-essential automake autoconf uuid uuid-dev php5-curl php5-cli dos2unix curl sudo unzip lsb-release +apt-get -y install gettext make intltool build-essential automake autoconf uuid uuid-dev php5-curl php5-cli dos2unix curl sudo unzip lsb-release python-scapy tcpdump cmd=`gcc --version|grep "4.7"` if [[ $cmd == "" ]]