平时公司就用ddwrt路由。通过它直接ssh登录管理uap,通过curl重启tplink 2008年左右的固件。root@Da:/tmp# cat ua*#!/bin/shnvram get known_hosts ~/.ssh/known_hostsDROPBEAR_PASSWORD=’admin’ ssh admin@l1 ./rc.prestartroot@Da:/tmp# cat ra*#!/bin/shcd /tmp;if [ ! -f /tmp/curl ];then wget -O curl http://server:8080/curl;if [ $? -gt 0 ];then break;fielse chmod +x curl;./curl –user admin:admin http://192.168.12.242/userRpm/SysRebootRpm.htm?Reboot=Reboot;firoot@Da:/tmp#复制代码
服务热线
130-6262-9899
