Skip to content

Commit d8d2c3e

Browse files
committed
fix
1 parent 40137ab commit d8d2c3e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ update-rc.d isc-dhcp-server remove
66
update-rc.d hostapd remove
77

88
cp ./etc/dhcpd.conf /etc/dhcp/dhcpd.conf
9-
109
sed -ie 's/INTERFACES=""/INTERFACES="wlan0"/g' /etc/default/isc-dhcp-server
1110

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
1010

1111
/etc/init.d/isc-dhcp-server start
1212

13-
/usr/sbin/hostapd -P /var/run/hostapd.pid -B ./etc/hostapd.conf
13+
/usr/sbin/hostapd -P /var/run/hostapd.pid -B /etc/rogueap/hostapd.conf

0 commit comments

Comments
 (0)