1.63固件下,不能修改了,第一步都报错了:
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Program Files\Java\jre7\bin>java -jar acp_commander.jar -t 192.168.1.45 -ip 1
92.168.1.45 -pw 1366 -c "(echo 1366root1366;echo 1366root1366)|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 = 5C9D0AB12A1B
Using target: 192.168.1.45/192.168.1.45
Starting authentication procedure...
Sending Discover packet...
A SocketTimeoutException usually indicates bad firewall settings.
Check especially for *UDP* port 22936 and make sure that the connection to your
LS is working.
ERROR: Exception: SocketTimeoutException (Receive timed out) [ACP Send/Receive (
Packet:8020 = ACP_Discover)]
完全根据标准流程进行,破解root密码,更改ssh root登陆,重启ssh后使用securecrt或putty无法登陆:
The remote system refused the connection.
请高人不吝赐教,谢谢!
以下是命令行的内容:
C:\Users\admin\Downloads>
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -pw password -c "(echo toor;echo toor)|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 = 7B30B8719216
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=2592E500
Trying to authenticate EnOneCmd... ACP_STATE_OK
Trying to authenticate with admin password... ACP_STATE_OK
>(echo toor;echo toor)|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.
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -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 = 262F1FCA71F3
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=717C3846
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.
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -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 = 4A647EFFA996
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=349713D4
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.
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -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 = 4B9E0E730008
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=76000812
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.