我有一个西佩德 RV 86设备,这是一个 RISCV 64 位。在此,我运行一个最小的 Debian 操作系统,让我可以通过 USB 接口登录,因为设备显示ttyUSB0
在主机 Linux PC 上。
当我尝试启动网络时,我偶然发现了这个错误:
# ifconfig
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 1000 (Local Loopback)
RX packets 1630 bytes 89377 (87.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1630 bytes 89377 (87.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e2:95:8c:23:89:85 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
# ifup usb0
ifup: unknown interface usb0
使接口已知后/etc/network/interfaces.d/usb0
使用:
auto usb0
iface usb0 inet dhcp
...我得到:
# ifup usb0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/usb0/e2:95:8c:23:89:85
Sending on LPF/usb0/e2:95:8c:23:89:85
Sending on Socket/fallback
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
root@licheerv:/etc/network/interfaces.d#
我知道我的 DHCP 服务器正在运行并工作,其他客户端也工作正常。我还看到设备上的网络 LED 闪烁,表明存在活动。
如何在该设备上联网?
更新1
在启动过程中,我还看到了这一点:
[ **] A start job is running for Raise network interfaces (27s / 5min 15s)
[ 33.761420] ldob: disabling
更新2
不幸的是,TPLINK dhcp 服务器日志记录严重缺乏......它没有显示太多内容,除了: