【发布时间】:2016-05-27 21:53:52
【问题描述】:
我有一个 Beaglebone Black(在 Debian 上运行),我通过 USB 连接到我的笔记本电脑(在 Arch Linux 上运行)。笔记本电脑能够读取 Beaglebone 作为存储设备。但是,我无法通过浏览器/ssh 通过访问以下 ip - 192.168.7.2 连接到 Beaglebone。
ifconfig -a 给出以下输出-
enp0s20u2: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 54:4a:16:c1:f1:53 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.3.204 netmask 255.255.255.0 broadcast 192.168.3.255
inet6 fe80::2ad2:44ff:fe8e:bd61 prefixlen 64 scopeid 0x20<link>
ether 28:d2:44:8e:bd:61 txqueuelen 1000 (Ethernet)
RX packets 40024 bytes 35440467 (33.7 MiB)
RX errors 0 dropped 30 overruns 0 frame 0
TX packets 17546 bytes 2112866 (2.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 2137 bytes 479657 (468.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2137 bytes 479657 (468.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.5.86 netmask 255.255.252.0 broadcast 10.10.7.255
ether b8:ee:65:ac:7c:65 txqueuelen 1000 (Ethernet)
RX packets 19264 bytes 18721516 (17.8 MiB)
RX errors 0 dropped 4 overruns 0 frame 0
TX packets 17238 bytes 2273813 (2.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s20u2 是 Beaglebone 的接口,没有分配给它的 ip(根据文档,它的 ip 应该是 192.168.7.2),因此我无法 ssh 或浏览它。
【问题讨论】:
-
我给它的接口一个静态IP - enp0s20u2 - 如果这就是你的意思。我仍然无法 ssh 或浏览它。
-
我运行了以下命令 -
sudo ip link set up enp0s20u2。仍然没有前进。 -
嗯..恐怕我对这方面的了解不够,无法提供帮助,希望其他人能提供一些有用的信息。
标签: linux ssh beagleboneblack archlinux