如果输出类似于以下则启动成功(有的设备启动比较慢请耐心等待完成):
initing...
try stoppingxunlei service...
killall:ETMDaemon: no process killed
killall:EmbedThunderManager: no process killed
setting xunleiruntime env...
port: 9000 isusable.
your control port is: 9000.
startingxunlei service...
execv:/home/shdxiang/test/lib/ETMDaemon.
getting xunleiservice info...
Connecting to127.0.0.1:9000 (127.0.0.1:9000)
portal.tmp 0T --:--:-- ETA
THE ACTIVE CODE IS: 42SND1
go tohttp://yuancheng.xunlei.com, bind your device with the active code.
finished.
7.绑定设备
登录到迅雷远程的web界面,用迅雷账号登陆,然后输入上面的激活码。
THE ACTIVE CODE IS: 42SND1
8.完成,剩下的大家都会了。
(其中部分内容参照了论坛其他人的,我没有重写,总结了一下。)
if [ "${SUPPORT_SFTP}" = "0" ] ; then这个命令执行不了啊
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Windows\system32>d:
'd:' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Windows\system32>d:
D:\>java -jar acp_commander.jar -t 192.168.1.130 -ip 192.168.1.130 -pw 132112217
66 -c "(echo 13211221766;echo 13211221766)|password"
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 = E825C2603EC6
Using target: LS421DE3E5/192.168.1.130
Starting authentication procedure...
Sending Discover packet...
Found: LS421DE3E5 (/192.168.1.130) LS421DE(LS-WM) (ID=004812) mac: 10:
6F:3F:CD:33:E5 Firmware= 1.300 Key=4E93ECE9
Trying to authenticate EnOneCmd... ACP_STATE_OK
Trying to authenticate with admin password... ACP_STATE_OK
>(echo 13211221766;echo 13211221766)|password
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.
D:\>java -jar acp_commander.jar -t 192.168.1.130 -ip 192.168.1.130 -pw 132112217
66 -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 = B65D2505030B
Using target: LS421DE3E5/192.168.1.130
Starting authentication procedure...
Sending Discover packet...
Found: LS421DE3E5 (/192.168.1.130) LS421DE(LS-WM) (ID=004812) mac: 10:
6F:3F:CD:33:E5 Firmware= 1.300 Key=3BEF1276
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.
D:\>java -jar acp_commander.jar -t 192.168.1.130 -ip 192.168.1.130 -pw 132112217
66 -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 = A0C613752F40
Using target: LS421DE3E5/192.168.1.130
Starting authentication procedure...
Sending Discover packet...
Found: LS421DE3E5 (/192.168.1.130) LS421DE(LS-WM) (ID=004812) mac: 10:
6F:3F:CD:33:E5 Firmware= 1.300 Key=3BEF1276
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.
D:\>java -jar acp_commander.jar -t 192.168.1.130 -ip 192.168.1.130 -pw 132112217
66 -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 = 94BAD8B551B3
Using target: LS421DE3E5/192.168.1.130
Starting authentication procedure...
Sending Discover packet...
Found: LS421DE3E5 (/192.168.1.130) LS421DE(LS-WM) (ID=004812) mac: 10:
6F:3F:CD:33:E5 Firmware= 1.300 Key=0665F840
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.
D:\>if [ "${SUPPORT_SFTP}" = "0" ] ; then
此时不应有 "${SUPPORT_SFTP}"。
D:\>