Window 10 connects Raspberry Pi via network cable and WiFi

Source: Internet
Author: User

Bought a Raspberry Pi a few months ago, and threw it on one side without tinkering, and today buttoned up the laptop through the home WiFi login to the Raspberry Pi, listed below for the setup process.

Lab Environment:

Network: Only WiFi

Material: One Laptop (Win10), Raspberry Pi, edup USB wireless card, one cable

Goal:

    1. The Raspberry Pi is connected to the laptop via a network cable, the laptop can access the Raspberry Pi via ssh, and the Raspberry Pi can connect to the Internet.
    2. Configure the wireless network card, the Raspberry Pi boot automatically connects WiFi, the laptop accesses the Raspberry Pi via wifi.

Resources:

    • No monitor no router no keyboard no mouse, only the network cable directly connected notebook with the simplest configuration to play the Raspberry Pi
    • Raspberry Pi How to configure a wireless card and connect to WiFi
    • 9 SSH Common Command options

Stage One: The notebook accesses the Raspberry Pi directly through the network cable

Detail Reference Web page "No monitor no router no keyboard no mouse, only the network cable directly connected notebook with the simplest configuration to play the Raspberry Pi"

1, the network cable connects the notebook and the Raspberry Pi, launches the Raspberry Pi.

2. Run the DOS window, enter Arp–a, and find the IP address of the Raspberry Pi

In the figure, 192.168.3.7 is the IP address of the laptop connected to WiFi

192.168.3.111 's Raspberry Pi connection WiFi address

192.168.137.232 is the address of the Raspberry Pi connected to the wired network

3. Open software git Bash (https://git-scm.com/download/), enter command ssh–l PI 192.168.137.232

The following information is displayed:

Enter Yes, then enter the password to enter the Raspberry Pi command line, the default registered User:pi, password is:Raspberry

Stage Two: Raspberry Pi boot auto Connect wifi

Refer to "How to configure a wireless network card and connect to WiFi" in Raspberry Pi

1. Plug in the USB wireless card

2, according to phase a method to access the Raspberry Pi, modify the network configuration file/etc/network/interfaces, input vi/etc/network.interfaces, content modified into the form.

After modifying, enter sudo reboot.

3, after the Raspberry Pi restarts, enter in Git bash

Ssh–l Pi 192.168.3.111

Then enter the password (the default is raspberry) to go to the Raspberry Pi.

Now, just start the Raspberry Pi and you can access the Raspberry Pi via IP address 192.168.3.111. Because the IP address is set to static, if the notebook and Raspberry Pi connection Other network may encounter problems, the network knows little, temporarily do not care about this problem.

Window 10 connects Raspberry Pi via network cable and WiFi

Related Article

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.