Created
February 16, 2017 08:59
-
-
Save pkdavies/96630672f5a9c86d06a788b7368873d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo bash | |
echo -e "\nauto usb0\nallow-hotplug usb0\niface usb0 inet static\n\taddress 1.0.0.1\n\tnetmask 0.0.0.0" >> /etc/network/interfaces | |
echo "dtoverlay=dwc2" >> /boot/config.txt | |
echo -e "dwc2\ng_ether" >> /etc/modules | |
sudo sed --in-place "/exit 0/d" /etc/rc.local | |
echo "/bin/sh /home/pi/poisontap/pi_startup.sh" >> /etc/rc.local | |
mkdir /home/pi/poisontap | |
chown -R pi /home/pi/poisontap | |
apt-get update && apt-get upgrade | |
apt-get -y install isc-dhcp-server dsniff screen nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment