The method of linux development board connected to the Internet computer through the network cable and configuration steps

When debugging linux development board, if a need to develop board Internet, a cable can be used to develop the plate connecting the network port and network port of the notebook together and then through the wifi notebook online development board access network shared by a notebook wifi

 

Step 1: First, the notebook is set to shared wifi network format (the default is not shared)

  Laptop has two network cards, is a wireless network adapter , a local connection. "Network" on the right the desktop - "Properties", open the "Network and Sharing Center " - "Change adapter settings" in the wireless card right "Properties" - "sharing" to open the following chart window, in the "Allow other network users to connect through the Internet to connect to this computer "playing in front of √, in the" home network connection "click below to select the" local connection "point" OK "button, that is, choose a wired network .

       At this point note wifi network will become a shared network, a window will pop up to inform you of this shared network ip is the number when you click OK, for example, I was "192.168.137.1"

 

Step 2: Development Board ip address configuration, gateway address:

  Configuring development board ip: "ifconfig eth0 192.168.137.2"

  Configuring Gateway Development Board: "the Add default route gw 192.168.137.1"

 

Step 3: Testing the configuration "ping baidu.com"

Guess you like

Origin www.cnblogs.com/emlsyx/p/12181615.html