峯言凬语 O ever youthful O ever weeping~
本无意与众不同,怎奈何口味太重。
首页
平水韵
颜色表
ABOUT
文章分类
友情链接
OpenWRT上安装OpenClaw
2026-03-17 |Nonni | Net

Warning: Undefined global variable $index in /www/wwwroot/nonni.cn/usr/themes/materiality/functions.php on line 55

vivi.png
可以在 OpenWRT 下运行的 OpenClaw
之前看到有人分享项目 luci-app-openclaw,尝试安装后,配置运行环境不停的报错,好不容易解决了,升级时又全部瘫痪了,所以只好另寻道路,使用 docker 来运行,由于系统不支持 systemd,导致 openclaw gateway install 失败,参考了网上很多人的方案,费了很多时间才搞定。

准备 Prepare
须路由器安装有 DockerMan。

快速开始 Quick Start
运行命令在映射的目录中生成配置文件 This step will generate the configuration file to the mapped directory:

docker run --rm -it --name openclaw-config -v /mnt/app/openclaw:/root nonnichen/wrtopenclaw openclaw onboard --install-daemon

启动服务 Run the following command to start the service:

docker run -d --name openclaw -p 18789:18789 -v /mnt/app/openclaw:/root --restart always nonnichen/wrtopenclaw

默认管理界面 Default Management Interface:

http://router ip:18789/#token=token

配置文档 The Configuration File

/root/.openclaw/openclaw.json

修改默认登录 token 以及其他配置

项目基于:
https://github.com/openclaw/openclaw

respond-post-850

添加新评论

请填写称呼
请填写合法的电子邮箱地址
请填写合法的网站地址
请填写内容