Files
big-bear-scripts/configure-thread-border-router
Christopher 0336e51acd feat(configure-thread-border-router): Add script to configure Thread border router (#51)
*  feat(configure-thread-border-router): Add script to configure Thread border router

This commit adds a new script `run.sh` to the `configure-thread-border-router` directory. The script performs the following tasks:

- Checks if the script is running as root
- Displays a welcome message with links to the community and support options
- Checks the kernel configuration for `CONFIG_IPV6_ROUTER_PREF` and `CONFIG_IPV6_ROUTE_INFO`
- Checks the status of IPv6 forwarding and provides an option to disable it
- Checks the version of NetworkManager and provides a warning if it's below 1.42
- Displays a list of available network interfaces, their status, IPv6 addresses, and Router Advertisement (RA) settings
- Prompts the user to select the interfaces to configure
- Applies the necessary RA settings to the selected interfaces

The goal of this script is to simplify the configuration of a Thread border router by automating the setup of the required network settings.

* 🔧 Update shebang to use env for better portability

Replaces hardcoded bash path with /usr/bin/env bash
This ensures the script uses the first bash in the user's PATH
Improves cross-system compatibility and script flexibility

* 🔧 Improve IPv6 configuration script robustness

Enhance script reliability and user experience by:
- Adding input validation for interface selection
- Implementing idempotent configuration updates
- Improving quoting and shellcheck compatibility
- Adding more precise error handling for network settings
2025-10-24 00:03:27 -05:00
..

Run command

bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/configure-thread-border-router/run.sh)"