我想通过 ssh 使用 RPI(无头)控制机器人。在我当前的设置中,它通过网络传输,但我希望它通过以太网电缆传输。我有一块主板(FTW-K x99),带有双网络连接器和控制器(Intel I218 和 Qualcomm E2400)。
我该如何使用不带显示器的直接以太网电缆通过 ssh 连接到 RPI?
我见过https://askubuntu.com/a/26770/621294但我不知道 RPI 的情况如何。
ifconfig 桌面
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.192.128 netmask 255.255.255.0 broadcast 192.168.192.255
inet6 fe80::599f:859a:... prefixlen 64 scopeid 0x20<link>
inet6 2a02:1812:2e08:... prefixlen 64
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::6831:a338:... prefixlen 64 scopeid 0x20<link>
ether 00:1f:bc:11:..:.. txqueuelen 1000 (Ethernet)
RX packets 1482 bytes 180147 (175.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 45904 bytes 3062874 (2.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfb500000-fb520000
ifconfig Rpi(请注意,它现在已连接到互联网,我没有 Pi 的显示器)
eth0 Link encap:Ethernet HWaddr b8:27:eb:c3:5f:7b
inet addr:192.168.192.247 Bcast:192.168.192.255 Mask:255.255.255.0
inet6 addr: fe80::5d00:1308:170b:da7d/64 Scope:Link
inet6 addr: 2a02:1812:2e08:7300:3e7c:8ccf:e9ba:858b/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:257 errors:0 dropped:0 overruns:0 frame:0
TX packets:243 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24305 (23.7 KiB) TX bytes:36150 (35.3 KiB)