Assuming you are a OK, let's assume you are a Linux user, then First case: I don't have money to buy a monitor for the Raspberry Pi, and I only have an Internet cable left from my home broadband connection and a wireless router for Internet access. How can I know the IP address of the Raspberry Pi? At this time, you only need to connect the Raspberry Pi to the wireless router LAN interface with an Ethernet cable and log in to the wireless router user management interface.
or
Then you can see an IP that is not your PC, that is the IP of your Raspberry Pi Some people may say, using ifconfig, isn’t that nonsense? If you can't log in, where can you run ifconfig? My suggestion: 1. View from the router (troublesome) 2. Just write a program to loop through 192.168.1.1---192.168.1.255. This is what I did. The timeout for each connect detection is 100ms. I can quickly find the Raspberry Pi IP address, as follows: Done. Second case I am a poor college student. I want to learn embedded system for the first time. I saved money to buy a Raspberry Pi. Then I just connected an Ethernet cable. How can I know the IP address of the Raspberry Pi? There is a protocol in the TCP/IP protocol called At this point, those who know the tricks will know how to do it. It’s okay if you don’t know. Let’s continue. The ARP protocol is for the first communication service within the LAN. Each host will poll the IP address. The host with this IP address must send its MAC address to the host that initiated the ARP poll according to the ARP protocol. Then we use this I am a Debian user here, other Red Hat users can change the command by themselves enter sudo apt-get install arp-scan Then install a small software like this Then here, pay attention Use arp-scan in root mode so sudo arp-scan -interface eth0 --localnet Isn't the IP address divided into four segments, ABCD? We only use ARP within the LAN segment, for example: Your PC LAN IP address is 192.168.1.9 and the subnet mask is 255.255.255.0 Then Then wait for a while, the IP of the Raspberry Pi will come out, and then you can ssh using this IP ssh -l pi xxxx Then enter your password raspberry OK, login to Raspberry Pi is successful Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: MySQL database table and database partitioning strategy
>>: Four ways to switch tab pages in VUE
The tutorial for installing OpenStack Ussuri with...
Table of contents Example Method 1: delete Method...
I am using LDAP user management implemented in Ce...
The detailed steps for installing mysql5.7.19 on ...
Assumption: The stored procedure is executed ever...
Jiedaibao is a mobile phone loan software platfor...
MySQL has multiple ways to import multiple .sql f...
This article shares the specific code of the canv...
This article shares the specific code for JavaScr...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...
1. MYSQL installation directory Copy the code as ...
This article shares the encapsulation code of Jav...
Table of contents 1. Introduction 2. Installation...
Table of contents 1. Job Execution Fault Toleranc...
Write to the css file Copy code The code is as fol...