Skip to content

Latest commit

 

History

History

pi-tail

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