在 Windows 中查找 USB 以太网 link-本地 IP 地址

Finding USB ethernet link-local IP address in Windows

所以我有一个 raspberry pi 和另一个设备,我正在使用 USB 以太网通过 ssh 连接,但我找不到找到 link- 本地 IP 地址的方法

例如,如果我有 bonjour 和 putty,那么 raspberrypi.local 会将我连接到我连接的 pi。在那里使用 ifconfig 我看到设备在 169.254.x.x 上并且也可以使用该地址通过 ssh 进入它。

我希望能够通过 Windows 命令提示符(或 PowerShell/GUI 如果有的话)找到 link 本地 IP 地址,以便通过查看它来访问我的其他设备IP也是

所以我发现如果你去 ipconfig /all 并找到以太网 USB 适配器,它将在 Autoconfiguration IPv4 Address. . : 169.254.xxx.xxx(Preferred)

下找到它

它将在 Ethernet adapter Ethernet x: 下找到,其中 x 是您的 USB 使用的适配器编号