这是适用于OpenWRT的版本,本工具还提供适用于Windows和普通Linux的版本。
- 记住账号和密码
- 开机自动启动
- 断线自动重连
- 命令行操作
要安装 OpenWRT 版 SRunPy,请按照以下步骤操作:
下载 srunpy-1.0.0.ipk 和 luci-app-srunpy-1.0.0.ipk 包,下载地址:GitHub Releases。
-
进入 OpenWRT 设备的 LuCI Web 界面。
-
进入
系统>软件包。 -
点击
上传软件包,然后选择你下载的srunpy-1.0.0.ipk和luci-app-srunpy-1.0.0.ipk文件。 -
点击
上传将软件包上传到设备。 -
软件包上传完成后,点击
安装进行安装。 -
安装完成后,你可以通过 LuCI Web 界面的
服务>SRunPy进行配置。
-
将下载的软件包传输到你的 OpenWRT 设备。你可以使用
scp或其他文件传输方法。 -
SSH 登录到你的 OpenWRT 设备,并导航到你传输软件包的目录。
-
使用以下命令安装软件包:
opkg install srunpy-1.0.0.ipk opkg install luci-app-srunpy-1.0.0.ipk
-
安装完成后,你可以通过 LuCI Web 界面或直接编辑配置文件来配置 SRunPy。
你也可以直接从命令行操作脚本。以下是一些常用命令:
- 启动脚本:
srunpy --host <host> --protcol <protocol> --username <username> --password <password> --sleeptime <sleeptime> --ssl_verify <true/false>
- 添加更多配置选项
- 改进错误处理
- 北京航空航天大学(BUAA)沙河校区
该程序基于 iskoldt/srunauthenticator 的后端开发。
- Remember account and password
- Auto start on boot
- Auto reconnect on disconnection
- Operate from command line
To install SRunPy for OpenWRT, follow these steps:
Download the srunpy-1.0.0.ipk and luci-app-srunpy-1.0.0.ipk packages from the GitHub Releases.
-
Navigate to the LuCI web interface of your OpenWRT device.
-
Go to
System>Software. -
Click on
Upload Package, then select thesrunpy-1.0.0.ipkandluci-app-srunpy-1.0.0.ipkfiles you downloaded. -
Click
Uploadto upload the packages to your device. -
Once the packages are uploaded, click
Installto install them. -
After installation, you can configure SRunPy through the LuCI web interface under
Services>SRunPy.
-
Transfer the downloaded packages to your OpenWRT device. You can use
scpor any other file transfer method. -
SSH into your OpenWRT device and navigate to the directory where you transferred the packages.
-
Install the packages using the following commands:
opkg install srunpy-1.0.0.ipk opkg install luci-app-srunpy-1.0.0.ipk
-
After installation, you can configure SRunPy through the LuCI web interface or by editing the configuration files directly.
You can also operate the script directly from the command line. Here are some common commands:
- Start the script:
srunpy --host <host> --protcol <protocol> --username <username> --password <password> --sleeptime <sleeptime> --ssl_verify <true/false>
- Add more configuration options
- Improve error handling
- Beijing University of Aeronautics and Astronautics (BUAA) Shahe Campus
This program is based on iskoldt/srunauthenticator for the backend.