Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

easy installation script #287

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@


## Installation
### Using curl
bash <(curl -Ls https://github.com/itsdarklikehell/create_ap/raw/master/install.sh)

### Generic
git clone https://github.com/oblique/create_ap
git clone https://github.com/itsdarklikehell/create_ap

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably don't want to pull this into oblique's repo :)

cd create_ap
make install

Expand Down
32 changes: 32 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash
BSSID="h0tsp0t"
WPA2PASS="supersecretpassword"
DEPS="git bash util-linux dnsmasq isc-dhcp-server net-tools iptables procps hostapd iproute iw haveged"

####################################################
### create_ap installation script made by rizzo ###
####################################################

echo "installing dependencies"
sudo apt-get install $DEPS

echo "cloning create_ap git"
git clone https://github.com/itsdarklikehell/create_ap
cd create_ap
echo "installing create_ap from git clone"
sudo make install

echo "edit /etc/create_ap.conf"
echo "make sure to set the right values"
sudo nano /etc/create_ap.conf

#uncomment this to make create_ap start at boot"
#echo "making create_ap start at boot"
systemctl enable create_ap

#uncomment this to start create_ap with systemctl
#echo "start create_ap now (with settings from /etc/create_ap.conf)"
systemctl start create_ap

#uncomment this to manually start create_ap with the $BBSID and $WPA2PASS provided at the start of this script
sudo create_ap wlan0 eth0 $BSSID $WPA2PASS