Get IP from MAC address. arp -a not showing device

后端 未结 4 1656
不知归路
不知归路 2021-02-04 06:47

I\'m trying to write a batch file that\'s supposed to find the dynamically assigned IP of my Android phone when it\'s connected to the network (Tenda WiFi router).

So I

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-04 07:06

    I have tried this and it works:

    for /L %N in (1,1,254) do start /b ping -n 1 -w 200 192.168.0.%N
    

    provided the phone has ICMP enabled, you should have no problem.

提交回复
热议问题