Find file History
Latest commit 559a952 Dec 9, 2017
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
70-persistent-net.rules Update 70-persistent-net.rules Nov 27, 2017
LICENSE Rename to Pi-Tail Nov 16, 2017
Pi-Tail.HOWTO Update Pi-Tail.HOWTO Dec 9, 2017
Pi-Tail.README Update Pi-Tail.README Nov 28, 2017
Pi-Tail.jpg Add files via upload Nov 28, 2017
README.md Update README.md Nov 29, 2017
bt-agent.service Update bt-agent.service Nov 25, 2017
bt-network.service Update bt-network.service Nov 25, 2017
cmdline.eth Update cmdline.eth Nov 27, 2017
cmdline.storage Add mass storage mode Nov 18, 2017
config.txt Create config.txt Nov 26, 2017
dnsmasq-dhcpd.conf Create dnsmasq-dhcpd.conf Nov 25, 2017
hciuart.service Update hciuart.service Nov 25, 2017
install.pi-tail Add upgrade function Dec 9, 2017
interfaces Update interfaces Nov 29, 2017
interfaces.example.wifi Update interfaces.example.wifi Nov 29, 2017
interfaces.example.wifi-AP Update interfaces.example.wifi-AP Nov 29, 2017
mon0down Create mon0down Nov 27, 2017
mon0up Create mon0up Nov 27, 2017
nodnsupdate Create nodnsupdate Nov 29, 2017
pan0.network Rename to Pi-Tail Nov 16, 2017
pi-tail.service Update pi-tail.service Nov 17, 2017
pi-tailap.services Update pi-tailap.services Nov 25, 2017
pi-tailbt.example Update pi-tailbt.example Nov 17, 2017
pi-tailbt.service Update pi-tailbt.service Nov 28, 2017
pi-tailms.service Update pi-tailms.service Nov 19, 2017
ras-ap.conf Create ras-ap.conf Nov 25, 2017
ras-ap.sh Update ras-ap.sh Dec 9, 2017
resolv.conf Create resolv.conf Nov 29, 2017
setgw Create setgw Nov 29, 2017
wpa_supplicant.conf Rename wpa_supplicant to wpa_supplicant.conf Nov 19, 2017

README.md

Pi-Tail

Raspberry Pi services to configure tethering.

Pi-Tail

To be used with ethernet gadget mode to allow to image Sticky Fingers Kali-Pi and enable ethernet gadget mode by editing the following two files in the /boot partition:
cmdline.txt: Add “modules-load=dwc2,g_ether” after “rootwait”
config.txt: Add “dtoverlay=dwc2“

To configure USB and wifi tethering:

Place your "interfaces" and "wpa_supplicant.conf" in /boot. They will be copied to /etc/network/interfaces and /etc/wpa_supplicant.conf respectively. The running configs are copied back to /boot/interfaces.active and /boot/wpa_supplicant.active

This is particularly useful when using ethernet gadget mode for the initial headless setup of a raspberry pi.
I advise to disable the avahi-daemon service after the initial setup (systemctl disable avahi-daemon).

To configure Bluetooth tethering:

Place a "pi-tailbt.conf" file in /boot with mac addresses of authorised devices. Pair to the Pi-Tail the pi within 3 minutes of booting up.
NOTE: Bluetooth pan will not be started if this file doesn't exist, so if you don't want to pair via bluetooth: delete this file.

Read Pi-Tail.README and Pi-Tail.HOWTO for more details

To install Pi-Tail:

wget -O /usr/local/bin/install.pi-tail https://raw.githubusercontent.com/Re4son/RPi-Tweaks/master/pi-tail/install.pi-tail
chmod 755 /usr/local/bin/install.pi-tail
/usr/local/bin/install.pi-tail

To update the installer:

/usr/local/bin/install.pi-tail -i