该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
lz 用pc连接无线网,然后将网线和树莓派相连。 因为没有显示屏,所以想通过vnc登陆。但是lz 在扫描端口时无法查找树莓派的ip:
->ifconfig
->eth0 Link encap:Ethernet HWaddr 5c:f9:dd:42:8f:cb
inet6 addr: fe80::5ef9:ddff:fe42:8fcb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11182 errors:0 dropped:0 overruns:0 frame:0
TX packets:12508 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8422781 (8.4 MB) TX bytes:2832293 (2.8 MB)
进一步查看时出现:
arp-scan -l
ioctl: Cannot assign requested address
WARNING: Could not obtain IP address for interface eth0. Using 0.0.0.0 for
the source address, which is probably not what you want.
Either configure eth0 with an IP address, or manually specify the address
with the --arpspa option.
Interface: eth0, datalink type: EN10MB (Ethernet)
ERROR: Could not obtain interface IP address and netmask
ERROR: pcap_lookupnet: eth0: no IPv4 address assigned
先谢谢大家了!!