Method 1: get raspberry pie IP through ARP scan
Environment: computer and raspberry pie link in the same network; ARP protocol is a data link layer protocol, responsible for the conversion of IP address and MAC address.
ARP scan tool can scan all IP addresses of LAN;
To install ARP scan:
mac os
brew install arp-scanUbuntu
sudo apt-get arp-scan
Scan Ethernet IP address:
arp-scan --interface en0 --localnet
Here, en0 is the device name of the network card, which can be obtained by ifconfig command. When there are multiple network cards, be careful not to write them wrongly;
when there are multiple network cards, en0 is the device name of the network card
The MAC address of raspberry pie usually starts with B8, so I matched B8. My implementation results are shown in the figure
Read More:
- Raspberry pie view IP address (command ifconfig) and exit Ping
- How to login raspberry pie
- A method to solve the error – 110 whilst initializing SD card of raspberry pie
- Raspberry pie upgrade to Python 3.7.3
- Raspberry pie set up to run Python program automatically
- Solution of apt unable to update in the docker container of raspberry pie
- Error: Command ‘arm linux gnueabihf GCC’ failed with exit status 1, raspberry pie install paramiko
- Raspberry pie 4B uses adafruit_ Pca9685 report error ioerror: [errno 121] remote I / O error solution
- Raspberry pie startup self startup opencv program script and error analysis
- VirtualBox + CentOS 7 virtual machine setting static IP address of host only NIC
- Determining IP information for eth0… failed; no link present. Check cable?
- Solve the problem of raspberry pie using GStreamer. Importerror: cannot import name XXX introspection typelib not found
- Python flash project to obtain the request user IP address addr
- IP address cannot be viewed through ifconfig in virtual machine
- View the IP address of the docker container
- Several ways to view spark task log
- Several ways for Ubuntu to open command line terminal window
- Selenium: 8 Ways to Locate Elements
- Three ways to get form data in struct2
- CSS: several ways to center the box vertically and horizontally