Skip to content

Add Travel Profiles plugin - #12

Open
3liasen wants to merge 1 commit into
RaspAP:masterfrom
3liasen:add-travel-profiles
Open

Add Travel Profiles plugin#12
3liasen wants to merge 1 commit into
RaspAP:masterfrom
3liasen:add-travel-profiles

Conversation

@3liasen

@3liasen 3liasen commented Aug 24, 2026

Copy link
Copy Markdown

Summary

Adds a custom RaspAP plugin for explicit travel-router uplink profiles:

  • USB tethering
  • Ethernet
  • Hotel Wi-Fi with SSID scan, password field, and explicit switch button
  • Active-profile indication and short-lived scan caching

The plugin keeps the travel access point and Tailscale running while the uplink changes. The root helper uses an allow-listed command set and a dedicated sudoers rule.

Testing

  • RaspAP 3.5.5
  • Raspberry Pi 4 / Raspberry Pi OS-Debian 13
  • PHP syntax checks passed
  • Shell syntax check passed
  • Sudoers validation passed on the test router

Review notes

The current reference implementation assumes wlan0 for the AP, wlan1 for the Wi-Fi client, eth0 for Ethernet, and a detected USB network interface such as usb0. A more general upstream version should use RaspAP network-device abstractions and review the installer configuration entries.

Standalone plugin repository: https://github.com/3liasen/raspap-travel-profiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant