RUT Router Provisioning Automation
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- shell
- 領域
- cli, devops, networking, security
調査の方向性
要求された router/.env.example と router/provision.sh のワークフローから開始し、その後 Router Setup コマンドをメインの README に追加します。SSH の失敗処理、パスワードとオプションの SIM PIN の設定、LAN アクセスを妨げないカメラの WAN ブロック、永続化、reload または reboot の動作、および記載されたプロビジョニング後のチェックを検証します。
索引モデルが issue の本文から書いたものです。
説明
Goal
Provide a simple, repeatable way to provision Teltonika RUT routers using a single shell script and environment variables.
The goal is to replace manual web UI configuration with a minimal SSH-based setup process.
Scope
This automation covers:
- Initial admin password setup/change
- SIM PIN configuration (if required)
- Firewall rules to block Internet access for camera devices
No additional features are included.
User Workflow (suggested)
cp router/.env.example router/.env
# edit values
nano router/.env
# run the script
./router/provision.sh
Steps:
- Connect router to local network
- Ensure router is reachable via SSH
- Insert SIM card
- Fill
.env - Run provisioning script
- Wait for completion (may include reboot)
- Run post-provisioning connectivity check (admin access + WAN/internet via mobile)
Configuration Variables
Required
ROUTER_IP=192.168.1.1
DEFAULT_ADMIN_PASSWORD=password_written_on_device
ADMIN_PASSWORD=your_admin_password
Optional
SIM_PIN=1234
CAMERA_IPS=192.168.1.50,192.168.1.51,192.168.1.52
Provisioning Tasks
The provision.sh script must:
- Connect to router via SSH
- Change or enforce administrator password
- Configure SIM PIN if provided
- Apply firewall rules to block Internet access for camera IPs (if provided)
- Persist configuration changes
- Reload firewall and/or network services
- Reboot router if required to apply changes safely
- Run checks
Firewall Behavior
If CAMERA_IPS is defined:
- Each IP must be blocked from accessing WAN (Internet)
- LAN-to-LAN communication must remain unaffected
- Internal access from trusted devices must remain possible
Implementation Notes
- SSH access is assumed to be available on first provisioning
- Configuration should use standard OpenWrt/RutOS mechanisms (e.g.
uci) - Script should be idempotent when possible but this is not a strict requirement
- Fail fast on SSH connection or authentication errors
Documentation Requirement
The main README must include a short section:
Router Setup
cp router/.env.example router/.env
vim router/.env
./router/provision.sh
No additional explanation required in the main README.
Non-Goals
- No web UI automation
- No cloud or remote management platform
- No fleet orchestration system
- No VLAN / network redesign
- No long-term configuration management
Future Improvements (optional)
- DHCP reservation for camera devices
- Support for multiple router models
- Validation of connectivity after provisioning
- 主要言語
- Python
- スター
- 1
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pyronear/pyro-sys-setup のほかの issue
-
[Draft] Add a list of materials needed to assemble a Pyronear station and a tutorial with the main assembly steps再び着手できるかも @fe51 が 389 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
pyronear/pyro-sys-setup#29 · 担当者 1 名 ·
pyronear/pyro-sys-setup の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
software-mansion-labs/Diplomat#20 ·
メンテナーはふだん 1 日以内に返信
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client area対応中かも @lijy91 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
libnativeapi/nativeapi#53 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
View Counts discarded due to field name mismatch対応中かも @rsiva0400 が今日担当しました。 オープンsite-bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Model version publishes the new UK firm entity as a person対応中かも @vahid-ahmadi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
PolicyEngine/policyengine.py#764 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
spcl/HPCAgent-Bench#264 ·
メンテナーはふだん 1 日以内に返信