详情:
小米路由器使用的是Linux内核,可以用ssh来管理。复制代码代码如下:root@XiaoQiang:/userdisk# cd ~root@XiaoQiang:~# uname -aLinux XiaoQiang 2.6.36.4brcmarm #2 SMP PREEMPT Sat Apr 26 03:16:17 CST 2014 armv7l GNU/Linuxroot@XiaoQiang:~# free -m total used free shared buffers cachedMem: 249 107 141 0 3 47-/+ buffers/cache: 56 192Swap: 255 0 255root@XiaoQiang:~# df -hFilesystem Size Used Available Use% Mounted onrootfs 127.2M 95.2M 25.7M 79% /none 124.2M 0 124.2M 0% /devtmpfs 124.8M 3.7M 121.1M 3% /tmp/dev/sda2 127.2M 95.2M 25.7M 79% /tmpfs 124.8M 3.7M 121.1M 3% /tmp/dev/sda3 261.7M 21.0M 227.5M 8% /data/dev/sda4 930.7G 456.5M 930.2G 0% /userdisk/dev/sda3 261.7M 21.0M 227.5M 8% /etc/dev/sda2 127.2M 95.2M 25.7M 79% /romroot@XiaoQiang:~# w 18:47:54 up 2:39, 0 users, load average: 0.35, 0.54, 0.53USER TTY LOGIN@ IDLE JCPU PCPU WHAT
开启SSH步骤:
1 浏览器小米路由器管理平台,浏览器地址栏里显示这样的链接:http://192.168.31.1/cgi-bin/luci/;stok=f43bcc9fd46078d61e74fa802f25e4b1/web/home 2 将1链接中的 /web/home 替换成:复制代码代码如下:/api/xqsystem/upgrade_rom?url=%3Bnvram+set+ssh_en%3D1%3Bnvram+commit%3B%2Fetc%2Finit.d%2Fdropbear+start%3B按回车后,浏览器显示 code :0:3 最后就可用SSH访问来访问 - IP:192.168.31.1,用户名: root,密码: admin
以上内容由WiFi之家网整理收藏!
原创文章,作者:路由器,如若转载,请注明出处:https://www.224m.com/228151.html