We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40137ab commit d8d2c3eCopy full SHA for d8d2c3e
.gitignore
@@ -0,0 +1 @@
1
+.idea/
install.sh
@@ -6,6 +6,10 @@ update-rc.d isc-dhcp-server remove
6
update-rc.d hostapd remove
7
8
cp ./etc/dhcpd.conf /etc/dhcp/dhcpd.conf
9
-
10
sed -ie 's/INTERFACES=""/INTERFACES="wlan0"/g' /etc/default/isc-dhcp-server
11
+cp rogueap.sh /usr/bin/rogueap
12
+chmod 777 /usr/bin/rogueap
13
+
14
+mkdir /etc/rogueap
15
+cp ./etc/* /etc/rogueap/
run.sh renamed to rogueap.sh
@@ -10,4 +10,4 @@ iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
/etc/init.d/isc-dhcp-server start
-/usr/sbin/hostapd -P /var/run/hostapd.pid -B ./etc/hostapd.conf
+/usr/sbin/hostapd -P /var/run/hostapd.pid -B /etc/rogueap/hostapd.conf
0 commit comments