如何给蒲公英X3a刷入OpenWRT?

上次搞了一下蒲公英,一直不爽的是云管理这一块,最近发现可以刷openwrt就搞了一下,总体来说刷机这一块还是挺简单的,就是后续OpenWrt的配置高的人头疼了一阵子。

视频

刷机

5.5.0以上开直接调用http://10.168.1.1/cgi-bin/oraybox?_api=ssh_set&enabled=1开启

ssh用户名:root
ssh密码:oray@12#$%^78

  • 登陆并命令行备份

使用HostKeyAlgorithms=ssh-rsa是路由器后台限制,刷入openWrt后就不用了

 ssh -o HostKeyAlgorithms=ssh-rsa [email protected]
  • 下载到主机上,看你是用管理工具还是scp来着
scp -o HostKeyAlgorithms=ssh-rsa -O [email protected]:/tmp/firmware.bin ./
  • 下载固件

这里可以直接wget下载到/tmp,或者下载后scp上传到/tmp,固件也支持在https://openwrt.ai/?target=ramips%2Fmt7621&id=oraybox_x3a 自定义编译

scp -o HostKeyAlgorithms=ssh-rsa -O openwrt-22.03.5-ramips-mt7621-oraybox_x3a-squashfs-sysupgrade.bin [email protected]:/tmp/

https://dl.openwrt.ai/firmware/ramips_mt7621/oraybox_x3a/

https://dl.openwrt.ai/firmware/ramips_mt7621/oraybox_x3a/09.25.2023-openwrt-ramips-mt7621-oraybox_x3a-squashfs-sysupgrade.bin

  • 刷机
mtd write /tmp/openwrt-22.03.5-ramips-mt7621-oraybox_x3a-squashfs-sysupgrade.bin firmware
  • 这里刷入后会自动重启

等待可能需要等一会时间,2分钟左右

配置

默认登陆地址:http://10.0.0.1/
默认用户名: root
默认密码: root

登陆

后台界面和ssh默认用户名和密码都是root

OpenWrt出现未保存的配置且无法保存成功

我这里是ssh登陆后发现有提示信息,让删除一个目录后重启就好了

/overlar过小导致无法安装东西

这个是安装插件提示磁盘不够发现的,这一步目前我的路由器不支持,因为没有多余的磁盘空间(总计只有4M,插件基本用不了),临时空间也是RAM给划分出来的。如果有多余的存储空间,可以尝试使用挂载点拓展空间。

插件使用


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *