返回列表 发布新帖

[巴法络] 求助:改机后无法telnet了

2303 1
发表于 2013-4-16 19:15:18 | 查看全部 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×
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登录不上,高手指点我一下,谢啦

评论1

pt880Lv.10 发表于 2013-4-16 22:56:39 | 查看全部
你自己都说了,启动的是ssh服务。根本就没有启动telnet服务,所以当然不能telent。
回复 点赞

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

淘宝小店

邀请码

VIP会员

微信客服

公众号

微信群

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表