📡 This setup guide applies specifically to the TP-Link M7350 V9 running BusyBox-based firmware with Tailscale and Rayhunter installed.
- Device: TP-Link M7350 V9
- Firmware Version: 9.0.3 Build 241219 Rel.1089n
- Rayhunter Version: 0.7.0
- CPU: ARMv7l (Qualcomm MDM9607)
- OS: BusyBox/Linux-based embedded firmware
- Tailscale: arm: tailscale_1.88.3_arm.tgz
Follow the official instructions to install Rayhunter:
🔗 Rayhunter GitHub Repository
📖 Installation Guide
Create the following structure on your SD card (e.g., mounted under /media/sdcard/):
Download the Tailscale static binaries: arm: tailscale_1.88.3_arm.tgz
Extract and copy them to /media/sdcard/Tail/.
Make sure they are executable:
chmod +x /media/sdcard/Tail/tailscaled /media/sdcard/Tail/tailscale
Save this script as /media/sdcard/scripts/tailscale-boot.sh and make it executable:
chmod +x /media/sdcard/scripts/tailscale-boot.sh
-
✅ The script handles:
- Logging to /media/sdcard/scripts/tailscale-boot.log
- Waiting for mobile data connection (4G) before launching
- Starting tailscaled with a fixed state directory
- Enabling NAT routing
- Sending boot status to Telegram with HTML formatting
🔐 Configuration Notes
-
Before using the script, make sure to:
- Replace BOT_TOKEN with your Telegram Bot Token
- Replace CHAT_ID with your Telegram user or group ID
- Replace --authkey with your Tailscale Auth Key (Required for authenticating the device without an interactive login.)
-
Useful guides:
- 📖 Create Telegram Bot
- 🔎 Find Telegram Chat ID (Your User ID) > start a conversation with this bot, from menu select Account or type /acc and copy your Telegram User ID from the top. 🛡️ [ Account ] - [ xxxxxxxxxx ] 🛡️
- 🔑 Create Tailscale Auth Key
On this device, the /etc/init.d/usb script is invoked towards the end of the boot process.
To ensure Tailscale starts cleanly only during boot, you should add the following block sh /media/sdcard/scripts/tailscale-boot.sh & inside the start) case of /etc/init.d/usb:
-
✅ This ensures:
- Your Tailscale boot script only runs when the system is booting.
- It does not run during manual stop/restart of USB services or during shutdown.
After rebooting, you should see:
- A log file at
/media/sdcard/scripts/tailscale-boot.log - Your Tailscale daemon running in background
- Telegram alerts if configured (including boot status, IP, uptime, etc.)