Raspberry Pi + A network cable directly connected to a laptop

Source: Internet
Author: User

Use a network cable to connect directly to the computer without going through the router. The biggest feature of this method is to play Raspberry Pi with the least tool.
I. Materials: Raspberry Pi, network cable, and laptop.
1. Raspberry Pi: SD card with power supply system and raspbian system burned;
2. network cable: crossover or direct connection;
3. LAPTOP: Dual Nic, which should be configured now.
2. procedure.
1. Connect.
Raspberry Pi receives power lines;
Connect one end of the network cable to Raspberry Pi and the other end to the notebook.
2. Internet sharing.
If your laptop is connected to the Internet through WiFi, you can share the Internet resources of the wireless network card with the local connection. Take Windows 7 as an example. Choose "Control Panel"> "network"> "Internet"> "network and sharing center"> "view network status and tasks"> "Modify adapter Settings", and right-click "properties" for wireless network connections ", on the share tab, select "allow other network users to connect to the computer over the Internet" and click OK.
 

3. Search for the IP address of Raspberry Pi.
Run the DOS window and enter ARP-A. The dynamic IP address under Interface 192.168.137.1 is the Raspberry Pi address.
 

Why is the interface 192.168.137.1? Because the "local connection" ip address has been automatically set to static IP 192.168.137.1 when the Internet is shared on the upper part, of course, this IP address can also be set to another common static IP address. Because the IP address of Raspberry Pi is dynamic at this time, you can only use this method to find it. You can also modify the line.txt file in the SDK (add the statement IP address = *** to it ***. ***. ***. * **), set Raspberry Pi to a static IP address, but in this case, the connection can be successful only when the static IP address of the computer's "Local Connection" is set to the same segment as the Raspberry Pi static IP address.
4. Use putty software to connect Raspberry Pi.
In this case, enter the dynamic IP address or the static IP address configured above to connect to Raspberry Pi, because the initial connection requires initialization and other operations.
5. graphical interface connection.
Then follow the VNC remote logon to connect Raspberry Pi to the VNC software for graphical interface operations, you can also use the Windows built-in "Remote Desktop Connection" function for graphical operations, you can find related tutorials on the Internet for specific settings.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.