ssh - 无法通过 ssh 连接小猎犬骨黑

标签 ssh angstrom-linux beagleboneblack

我想将 pip 安装到小猎犬骨黑上,我尝试了这个:

  /usr/bin/ntpdate -b -s -u pool.ntp.org
    opkg update && opkg install python-pip python-setuptools

然后,它抛出了错误,但不幸的是,我没有记录那些错误。
这是错误:
Collected errors:
 * parse_from_stream_nomalloc: Excessively long line at 6. Corrupt file?

它发生在一周前,尚未解决。
我现在想解决它,我尝试通过 ssh 连接,但我失败了。
当我 ping 到 beagle bone 时,它​​会响应,并且 Cloud9 IDE 也在工作,但 ssh 没有。
我不认为这是一个严重的问题,因为我可以通过其他方法连接到 beagle bone:Cloud9 左右。
但是,要在 beagle bone 上使用 python,我需要通过 ssh 连接。

在尝试更新和安装 python-pip 之前,我可以通过 ssh 连接。

您有解决此连接问题的想法吗?

引用:

Setting up IO Python Library on BeagleBone Black

View Full Version : [VU+ Duo] Error installing ipk on Vu+ Duo

注意
I use default OS: Angstrom
I don't use SD card.
HOST PC is mac, OS.X 10.9

我检查了这个,但这没有帮助
Cannot connect to beagle bone black

我可以通过 GateOne SSH 客户端连接,但仍然无法从终端连接。

最佳答案

(在评论和问题编辑中回答了问题。见 Question with no answers, but issue solved in the comments (or extended in chat))

OP写道:

I solved this problem by succeeding update opkg, so I will write the details:

First, remove beaglbone file


rm  /var/lib/opkg/lists/beaglebone

and,remove lists folder


rmdir /var/lib/opkg/lists

then, set current time on beagle


/usr/bin/ntpdate -b -s -u pool.ntp.org

afterwards, update and upgrade opkg:


opkg update and opkg upgrade

now you can use opkg !

关于ssh - 无法通过 ssh 连接小猎犬骨黑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19897749/

相关文章:

linux - 权限被拒绝但在服务器上添加了公钥?

linux - 可以编写脚本在本地机器上打开多个终端并通过 ssh 连接到不同的服务器吗?

linux - 使用 ssh 一次设置多个文件权限(递归文件夹/文件权限)

ubuntu - 无法连接到比格犬骨黑

linux - 如何在 BeagleBone Black 上启用和使用 SPI

node.js - 顺序执行请求

linux - 有人可以向我指出 bitbake 或 openembedded 教程吗?

angstrom-linux - 未从 opkg 接收详细输出

python-2.7 - OpenCV 2.4.8 (Python) 确定箭头的方向

c++ - BeagleBone -> HTML -> C++ 通信