C:\>java -jar acp_commander.jar -t 192.168.1.19 -ip 192.168.1.19 -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 = AF7163DE8023
Using target: NAS/192.168.1.19
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)]
谢谢,搞定了,但是新的问题出来了,telnet 到NAS,
cd mnt出现
bash-3.2# mkdir /mnt/disk/tmp
mkdir: cannot create directory '/mnt/disk/tmp': No such file or directory
bash-3.2# cd mnt
bash: cd: mnt: No such file or directory
bash-3.2#