本文主要是介绍xiaomi 3G ssh ptp52,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
- 开ssh
www1.miwifi.com/miwifi_open.html
http://d.miwifi.com/rom/ssh
- 请将下载的工具包bin文件复制到U盘(FAT/FAT32格式)的根目录下,保证文件名为miwifi_ssh.bin;
- 断开小米路由器的电源,将U盘插入USB接口;
- 按住reset按钮之后重新接入电源,指示灯变为黄色闪烁状态即可松开reset键;
- 等待3-5秒后安装完成之后,小米路由器会自动重启,之后您就可以尽情折腾啦 :)
- https://router-sh.ptpt52.com/rom/
Installation through telnet/ssh:
copy lede-ramips-mt7621-mir3g-squashfs-kernel1.bin and lede-ramips-mt7621-mir3g-squashfs-rootfs0.bin to usb disk or wget it from LEDE download site to /tmp
switch to /extdisks/sda1/ (if copied to USB drive) or to /tmp if wgetted from LEDE download site
run: mtd write lede-ramips-mt7621-mir3g-squashfs-kernel1.bin kernel1
run: mtd write lede-ramips-mt7621-mir3g-squashfs-rootfs0.bin rootfs0
run: nvram set flag_try_sys1_failed=1
run: nvram commit
run: reboot
安装web界面
opkg install luci luci-i18n-base-zh-cn
安装磁盘查看
opkg install fdisk e2fsprogs
usb相关
opkg install kmod-usb-corekmod-usb-ohci kmod-usb-uhci kmod-usb2 usbutilskmod-usb3
- usb存储相关opkg install kmod-usb-storage kmod-fs-ext4kmod-usb-storage kmod-usb-storage-extras block-mountkmod-scsi-core kmod-usb-storage-uas kmod-scsi-generickmod-usb-ledtrig-usbport
- transmission安装配置
opkg install transmission-daemon-mbedtls transmission-web luci-app-transmission
- frpc initd脚本配置
#!/bin/sh /etc/rc.common
# Copyright (C) 2010-2012 OpenWrt.orgSTART=99start() {/root/frp/frpc -c /root/frp/frpc.ini &
}stop() {killall frpc}
ln -s /root/frp/frpcini /etc/init.d/frpc
这篇关于xiaomi 3G ssh ptp52的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!