[巴法络] 求助:改机后无法telnet了 |
Buffalo NAS LS-XL,升级到了官方固件1.64
用坛子里高手的方法改机,完成了修改Root账号,启动SSH服务,过程都很正常 E:\>java -jar acp_commander.jar -t 192.168.1.107 -ip 192.168.1.107 -pw password -c "(echo 123456;echo 123456)|passwd" ACP_commander out of the nas-central.org (linkstationwiki.net) project. Used to send ACP-commands to Buffalo linkstation(R) LS-PRO. WARNING: This is experimental software that might brick your linkstation! Using random connID value = 3ED0403F51B4 Using target: 192.168.1.107/192.168.1.107 Starting authentication procedure... Sending Discover packet... Found: LS-XLA9C (/192.168.1.107) LS-XL(SHOUTOKU) (ID=00025) mac: 4C: E6:76:C5:8A:9C Firmware= 1.640 Key=690C8AC6 Trying to authenticate EnOneCmd... ACP_STATE_OK Trying to authenticate with admin password... ACP_STATE_OK >(echo 123456;echo 123456)|passwd OK (ACP_STATE_OK) Changeing IP: ACP_STATE_PASSWORD_ERROR Please note, that the current support for the change of the IP is currently very rudimentary. The IP has been set to the given, fixed IP, however DNS and gateway have not bee n set. Use the WebGUI to make appropriate settings. E:\>java -jar acp_commander.jar -t 192.168.1.107 -ip 192.168.1.107 -pw password -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config" ACP_commander out of the nas-central.org (linkstationwiki.net) project. Used to send ACP-commands to Buffalo linkstation(R) LS-PRO. WARNING: This is experimental software that might brick your linkstation! Using random connID value = BA6F84B48C6A Using target: 192.168.1.107/192.168.1.107 Starting authentication procedure... Sending Discover packet... Found: LS-XLA9C (/192.168.1.107) LS-XL(SHOUTOKU) (ID=00025) mac: 4C: E6:76:C5:8A:9C Firmware= 1.640 Key=3EF43534 Trying to authenticate EnOneCmd... ACP_STATE_OK Trying to authenticate with admin password... ACP_STATE_OK >sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config OK (ACP_STATE_OK) Changeing IP: ACP_STATE_PASSWORD_ERROR Please note, that the current support for the change of the IP is currently very rudimentary. The IP has been set to the given, fixed IP, however DNS and gateway have not bee n set. Use the WebGUI to make appropriate settings. E:\>java -jar acp_commander.jar -t 192.168.1.107 -ip 192.168.1.107 -pw password -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config" ACP_commander out of the nas-central.org (linkstationwiki.net) project. Used to send ACP-commands to Buffalo linkstation(R) LS-PRO. WARNING: This is experimental software that might brick your linkstation! Using random connID value = B80E6CA0ACA6 Using target: 192.168.1.107/192.168.1.107 Starting authentication procedure... Sending Discover packet... Found: LS-XLA9C (/192.168.1.107) LS-XL(SHOUTOKU) (ID=00025) mac: 4C: E6:76:C5:8A:9C Firmware= 1.640 Key=01299226 Trying to authenticate EnOneCmd... ACP_STATE_OK Trying to authenticate with admin password... ACP_STATE_OK >sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config OK (ACP_STATE_OK) Changeing IP: ACP_STATE_PASSWORD_ERROR Please note, that the current support for the change of the IP is currently very rudimentary. The IP has been set to the given, fixed IP, however DNS and gateway have not bee n set. Use the WebGUI to make appropriate settings. E:\>java -jar acp_commander.jar -t 192.168.1.107 -ip 192.168.1.107 -pw password -c "/etc/init.d/sshd.sh restart" ACP_commander out of the nas-central.org (linkstationwiki.net) project. Used to send ACP-commands to Buffalo linkstation(R) LS-PRO. WARNING: This is experimental software that might brick your linkstation! Using random connID value = D2D1E28B0514 Using target: 192.168.1.107/192.168.1.107 Starting authentication procedure... Sending Discover packet... Found: LS-XLA9C (/192.168.1.107) LS-XL(SHOUTOKU) (ID=00025) mac: 4C: E6:76:C5:8A:9C Firmware= 1.640 Key=68504919 Trying to authenticate EnOneCmd... ACP_STATE_OK Trying to authenticate with admin password... ACP_STATE_OK >/etc/init.d/sshd.sh restart OK (ACP_STATE_OK) Changeing IP: ACP_STATE_PASSWORD_ERROR Please note, that the current support for the change of the IP is currently very rudimentary. The IP has been set to the given, fixed IP, however DNS and gateway have not bee n set. Use the WebGUI to make appropriate settings. E:\>telnet 192.168.1.107 正在连接192.168.1.107...无法打开到主机的连接。 在端口 23: 连接失败 可就是telnet登录不上,高手指点我一下,谢啦 |