Linux查找树莓派ip地址,【求助】linux 下无法查找树莓派的ip

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

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

先谢谢大家了!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值