2022-09-26 07:21:58 +08:00
|
|
|
|
# Nanopi R1S R2S R2C R4S X86 Openwrt 固件
|
2020-02-25 09:44:06 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
[刷机工具](https://www.balena.io/etcher/)
|
|
|
|
|
[下载地址](#下载地址)
|
|
|
|
|
[更新说明](#更新说明)
|
|
|
|
|
[使用提示](#使用提示)
|
|
|
|
|
[固件特性](#固件特性)
|
|
|
|
|
[在线升级](#终端内在线升级方法)
|
2021-04-13 17:39:03 +08:00
|
|
|
|
[1分钟生成自己所需固件](#1分钟生成自己所需固件)
|
2021-03-02 22:39:10 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
### 下载地址:
|
2022-12-03 22:41:40 +08:00
|
|
|
|
https://github.com/stupidloud/nanopi-openwrt/tags
|
2021-03-13 17:12:34 +08:00
|
|
|
|
(img.gz档不需要解压,可以直接使用刷机工具刷入)
|
2020-03-03 16:57:09 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
### 使用提示:
|
|
|
|
|
默认用户名是root, 密码是password,局域网IP为192.168.2.1
|
|
|
|
|
烧制完固件插入tf卡并启动完成,电脑端显示“网络(已连接)”之后,在浏览器输入 http://immortalwrt/ 可以直接打开路由器后台,无需修改本地连接设置或者查看IP地址。
|
|
|
|
|
如果网络状态一直是未识别(上电超过5分钟),请直接插拔一次电源重启试试。
|
2020-03-03 17:56:44 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
### 终端内在线升级方法:
|
2020-03-26 14:24:05 +08:00
|
|
|
|
```bash
|
2022-12-03 22:41:40 +08:00
|
|
|
|
wget -qO- https://github.com/stupidloud/nanopi-openwrt/raw/master/scripts/autoupdate-bash.sh | bash
|
2021-03-13 17:12:34 +08:00
|
|
|
|
```
|
2021-03-21 16:49:00 +08:00
|
|
|
|
slim版
|
|
|
|
|
```bash
|
2022-12-03 22:41:40 +08:00
|
|
|
|
wget -qO- https://github.com/stupidloud/nanopi-openwrt/raw/master/scripts/autoupdate-bash.sh | ver=-slim bash
|
2021-03-21 16:49:00 +08:00
|
|
|
|
```
|
2022-11-12 19:36:15 +08:00
|
|
|
|
x86安装盘不是sda的情况下使用
|
|
|
|
|
```bash
|
|
|
|
|
wget -qO- https://github.com/klever1988/nanopi-openwrt/raw/master/scripts/autoupdate-bash.sh | disk=sdb bash
|
|
|
|
|
```
|
2020-03-25 05:39:39 +08:00
|
|
|
|
(脚本由gary lau提供,非常感谢!)
|
2020-03-03 16:57:09 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
### 固件特性:
|
2021-03-21 16:49:00 +08:00
|
|
|
|
- slim版固件只有OpenWrt本体,但内置了“本地软件源”,包含大部分常用插件,不喜欢固件预装繁杂插件的人可以选择这个版本,进入后台软件包选装所需插件
|
2021-03-13 17:12:34 +08:00
|
|
|
|
- 采用ext4文件系统,刷卡之后可自行使用分区工具对sd卡扩容根分区至最大
|
|
|
|
|
- 支持usb无线网卡(RTL8821CU芯片,例如COMFAST 811AC),可以驱动无线网卡运行在5G频段
|
|
|
|
|
- 使用[在线升级](#终端内在线升级方法)时,根分区会自动扩容,方便折腾
|
2021-02-27 06:20:25 +08:00
|
|
|
|
|
2021-04-13 17:39:03 +08:00
|
|
|
|
### 1分钟生成自己所需固件
|
2021-05-05 07:54:02 +08:00
|
|
|
|
因为本项目预编译了Image builder,生成固件仅需1-3分钟,如果有兴趣自定义固件可以Fork本项目,编辑设备对应的config.seed文件,例如r2s.config.seed, 去掉(整行删除)不需要的luci app软件包配置行,添加自己所需的软件,可用软件的列表可以在github actions构件输出处获取,例如
|
2021-04-13 17:39:03 +08:00
|
|
|
|
<img src="https://user-images.githubusercontent.com/56048681/114531174-3beafb80-9c7e-11eb-8bcc-b098c3b1cee8.png" width="250" />
|
2021-07-05 23:47:59 +08:00
|
|
|
|
<img src="https://user-images.githubusercontent.com/56048681/124495884-43d4ba80-ddeb-11eb-95e9-fb096dcfda45.png" width="250" />
|
2022-04-06 03:04:19 +08:00
|
|
|
|
完成之后进入Actions,点击左侧Build,点击右侧Run workflow输入设备名(r2s/r2c/r4s/r1s/r1s-h3/r1p/r1p-lts)
|
2021-04-13 17:39:03 +08:00
|
|
|
|
<img src="https://user-images.githubusercontent.com/56048681/114531768-c7648c80-9c7e-11eb-8d72-fe38f9df960d.png" width="250" />
|
|
|
|
|
再点击Run即可获取自己所需的固件
|
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
### 更新说明:
|
2022-12-03 22:41:40 +08:00
|
|
|
|
https://github.com/stupidloud/nanopi-openwrt/blob/master/CHANGELOG.md
|
2021-02-27 06:20:25 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
#### 本固件NAT基准性能测试:
|
2022-12-03 22:41:40 +08:00
|
|
|
|
<img src="https://raw.githubusercontent.com/stupidloud/nanopi-openwrt/master/assets/NAT.jpg" width="450" />
|
2020-03-03 16:57:09 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
#### 固件源码:
|
2022-06-16 20:39:56 +08:00
|
|
|
|
https://github.com/coolsnowwolf/lede
|
2022-06-16 20:40:06 +08:00
|
|
|
|
|
2021-03-13 17:12:34 +08:00
|
|
|
|
https://github.com/immortalwrt/immortalwrt
|