自己安装一点守护Install Doti yourself
家里有一台 OpenWrt 路由器,就能自己装上一点守护:跟着下面 5 步走,不用刷机的话大约 10 分钟。命令和地址都有「复制」按钮,照着粘贴就行。Got a router running OpenWrt? You can install Doti yourself in 5 steps — about 10 minutes if no reflash is needed. Every command and address has a Copy button.
1确认能不能装Check it can be installed
一点守护需要 OpenWrt 22.03 或更新的版本,最稳的是官方 OpenWrt。在路由器管理页 状态 → 概览 看「固件版本」,或者 SSH 登录后执行:Doti needs OpenWrt 22.03 or newer — official OpenWrt is the safest bet. Check “Firmware Version” under Status → Overview in the web admin, or run this over SSH:
cat /etc/openwrt_release需要先刷机?Need to reflash?
建议刷 24.10 系列最新版(我们测过 24.10.8;它用 opkg 装软件,网上教程大多按它写)。25.x 改用 apk,也测过、同样支持。各型号刷机方法差别很大,请搜「型号 + OpenWrt 刷机」找教程。硬件至少要 16MB 存储、128MB 内存。We recommend the latest 24.10 release (tested on 24.10.8; it uses opkg, which most guides assume). 25.x uses apk and is supported too. Flashing differs a lot by model — search “your model + OpenWrt install”. You need at least 16 MB flash and 128 MB RAM.
https://firmware-selector.openwrt.org/https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/2接好路由器,用电脑登录Connect it and log in from a computer
用网线把光猫或原来路由器的 LAN 口,接到 OpenWrt 路由器的 WAN 口。原来的 WiFi 不受影响,家里其他设备照常用。接下来让电脑连这台 OpenWrt 路由器(网线插它的 LAN 口,或连它的 WiFi)。Run a cable from a LAN port on your modem or existing router to the WAN port of the OpenWrt router. Your existing WiFi isn’t affected. Then connect your computer to this OpenWrt router (cable into its LAN port, or join its WiFi).
电脑连上这台路由器(网线或它的 WiFi),SSH 登录:Windows 打开 PowerShell,Mac 打开「终端」,执行下面的命令(地址按你的路由器改,OpenWrt 默认是 192.168.1.1):Connect your computer to this router (cable or its WiFi) and SSH in — PowerShell on Windows, Terminal on Mac (OpenWrt’s default address is 192.168.1.1):
ssh root@192.168.1.1- 第一次登录会问 Are you sure you want to continue connecting,输入 yes 回车。First time, it asks Are you sure you want to continue connecting — type yes and press Enter.
- 刚刷好的 OpenWrt 没有密码,问密码时直接回车;自己设过的就输入那个密码(输入时屏幕上不显示)。A freshly flashed OpenWrt has no password — just press Enter; otherwise type yours (it won’t show on screen).
- 看到 root@OpenWrt 开头的提示,就是登录成功了。A prompt starting with root@OpenWrt means you’re in.
- 连不上:光猫或原来的路由器也是 192.168.1.1 时会冲突。先拔掉这台路由器 WAN 口的网线,让电脑只连这台路由器再试;想一劳永逸,可以在管理页 网络 → 接口 把它的 LAN 地址改成 192.168.2.1 之类,再插回网线;改完电脑断开重连一次,以后都用新地址登录。Can’t connect? If your modem or old router is also 192.168.1.1 they clash. Unplug the cable from this router’s WAN port, keep your computer connected to this router and try again; for good, change its LAN address under Network → Interfaces to something like 192.168.2.1, plug the cable back in, reconnect your computer and use the new address from then on.
3更新软件源Update the package feeds必做required
安装时要从软件源下载一个小组件(包名 mosquitto-client-nossl,远程管理用),所以先更新一次软件源,通过了再做第 4 步。按系统版本选一条:The install downloads a small component from the package feeds (package mosquitto-client-nossl, used for remote management), so update the feeds once first and only move on to step 4 once this passes. Pick the line for your release:
opkg updateapk update国内网络:换成清华镜像再更新In China: switch to the Tsinghua mirror
sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.confsed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/apk/repositories.d/distfeeds.list4安装一点守护Install Doti
第 3 步通过后,还在刚才的 SSH 里,执行下面这条命令。它会检查系统、下载最新版对应的安装包(22.03–24.10 用 ipk,25.x 用 apk)、校验后装好,升级程序也会自动补装:Once step 3 passes, in the same SSH session, run this. It checks the system, downloads the right package for it (ipk for 22.03–24.10, apk for 25.x), verifies and installs it; the updater installs itself too:
cd /tmp && wget -O install.sh https://gitee.com/xautlx/doti-kids-router/raw/main/install.sh && sh install.sh不想用命令行,就用电脑下载 doti-kids-router_all.ipk(在下面任一发布页的最新版里),再到路由器管理页上传。只适用于 22.03–24.10:25.x 的管理页只装有官方签名的包,请用上面的命令装。Prefer not to use the command line? Download doti-kids-router_all.ipk from the latest release on either page and upload it in the web admin. 22.03–24.10 only: on 25.x the web admin only installs officially signed packages, so use the command above.
https://gitee.com/xautlx/doti-kids-router/releaseshttps://github.com/xautlx/doti-kids-router/releases- 浏览器打开路由器管理页(LuCI,默认 192.168.1.1),登录。Open the router’s web admin (LuCI, default 192.168.1.1) and log in.
- 进入 系统 → 软件包,点 上传软件包…。Go to System → Software and click Upload Package….
- 选刚下载的文件,点 上传,再点 安装。Choose the file, click Upload, then Install.
上传前也要先更新软件源:在 SSH 里做第 3 步,或在管理页 系统 → 软件包 点「更新列表」,没有报错再上传。Update the feeds before uploading too: do step 3 over SSH, or click “Update lists” on System → Software, and upload once it finishes without errors.
5手机连上家长 WiFi,用小程序绑定Pair your phone in WeChat
装好 1–2 分钟后,路由器会开一个不用密码的临时家长 WiFi(只在还没绑定时开,专门用来绑定):1–2 minutes after installing, the router opens a temporary, password-free parents’ WiFi (only while it’s unpaired, just for pairing):
手机连上它,打开微信小程序「一点守护」,按提示绑定路由器、设置孩子的 WiFi。Join it on your phone, open the “一点守护” mini program in WeChat, and follow the prompts to pair the router and set up the kids’ WiFi.
+核对安装包Verify the package给技术用户 · 可选optional
安装包由 GitHub Actions 从公开代码自动构建,发布页附有 SHA256SUMS。算一下下载文件的 SHA256,和它一致就说明是公开构建的同一个文件:Packages are built by GitHub Actions from the public code, and each release ships a SHA256SUMS file. If your download’s SHA256 matches, it’s the exact file built in public:
sha256sum doti-kids-router_all.ipkcertutil -hashfile doti-kids-router_all.ipk SHA256也可以下载源码,执行 python3 build.py 自己打包,得到的文件和发布页的一模一样。You can also build it yourself with python3 build.py from the source — you’ll get a byte-identical file.
?常见问题FAQ
- 更新软件源一直失败?Feed update keeps failing?
- 先确认路由器能上网;国内网络按第 3 步换成清华镜像再更新。Make sure the router is online; in China switch to the Tsinghua mirror (step 3) and update again.
- 安装命令报错、装不上?The install command fails?
- 多半是软件源没更新通过,回到第 3 步更新通过后再执行;剩余空间不足 800KB 的路由器也装不了。Usually the feeds weren’t updated — redo step 3 until it passes. Routers with under 800 KB free can’t install it.
- 搜不到 DOTI-TEMP-ADMIN?Can’t see DOTI-TEMP-ADMIN?
- 装好后要等 1–2 分钟;超过 1 小时没绑定会自动关闭,把路由器断电再开就会重新出现。Give it 1–2 minutes after installing. It closes after an hour if unpaired — power-cycle the router to bring it back.
- 费用怎么算?How much does it cost?
- 在家管理一直免费;远程管理一年一期,每期都先用,期内付 36 元,过期再补按原价 60 元。不自动扣费,不付也不断网。详见首页「费用」。Managing at home is always free. Remote management runs in yearly periods, each one use first: ¥36 during the period, ¥60 if you pay after it ends. Nothing is charged automatically, and nothing gets cut off if you don't pay. See Cost on the home page.
遇到问题?Need help?
在小程序「一点守护」里点「联系客服」,或者到开源仓库提问。Tap “Contact us” in the 一点守护 mini program, or open an issue in the repository. If it won’t install or you’d rather not bother, ask us whether a pre-installed router or installation service is currently available.