当前位置:网站首页>Drive board network cable directly connected to computer shared network configuration
Drive board network cable directly connected to computer shared network configuration
2022-07-25 23:03:00 【Climbing pigs】
The drive board network cable is directly connected to the computer to share the network configuration
1 Antecedents
This article may only apply to this case For your reference only
- Prepare the network cable
- Computer link WiFi
1.1 Computer settings WiFi share
First set up the computer WiFi share , In the link WiFi front Before plugging in the network cable The network sharing center is shown below :

here Insert the drive board cable The situation is as follows :

here 【 Right click 】WiFi modular Setup and share The shared object is the new Ethernet Ethernet cable

After setting up 【WiFi modular 】 Will appear next to sharing keyword .
1.2 View the host and shared network ip
For hosts ip stay 【
win+r】 hitcmdAfter window InputipconfigAs shown below , stay Ethernet( Ethernet ) Adapter In Ethernet IP For this machine at present IP:
View shared network IP, In the former network management center mail Ethernet see ipv4 attribute , Here is
192.168.137.1:
2 A shared network is set in the driver board
The key lies in
1、 Drive plate IP It is in the same network segment as this computer
2、 There will be all kinds of missing IP The problem of adopt ifconfig and route Two commands are used to check the network status of the driver board and solve
2.1 Check the network status of the driver board
After entering the drive plate Enter the command ifconfig Check the network status It is found that the drive board does not exist ip Address And there are UP BROADCAST RUNNING MULTICAST Tips 
2.2 UP BROADCAST RUNNING MULTICAST solve
Input... At the terminal ifconfig eth0 192.168.137.10 netmask 255.255.255.0
Among them eth0 Corresponding ifconfig Of eth0 and ip Address and netmask Before Ethernet Below , among ip The address of It's better to distinguish it from the host At this time, check the network information :

2.3 Host and drive board ping link
- The host adopts ping Order to try ping The drive plate has :

- Drive plate ping host
ping 192.168.137.1 -c 4

- host ping The Internet www.baidu.com

- Drive plate ping Extranet www.baidu.com:

2.4 solve ping: sendto: Network is unreachable
Input route View network configuration information , Found no gateway
defa, The driver board sets the gateway as the host ip Address :route add default gw 192.168.137.1:

here ping Baidu ip See if ping adopt

2.5 solve ping Next bad adress problem
It is understood that this problem belongs to DNS Parsing is not correct , So set DNS Set up :vi /etc/resolv.conf after increase nameserver 8.8.8.8 that will do

Go back to ping www.baidu.com Success means you can connect to the network

ifconfig eth0 192.168.137.19 netmask 255.255.255.0
ping 192.168.137.1 -c 4
边栏推荐
- Recommend short videos every week: more and more smart devices need collaboration, posing a greater challenge to the development of the Internet of things?
- HJ9 提取不重复的整数
- QT string operation
- 【论文笔记】基于在线预测和规划的机器人动态跟踪抓取方法
- r语言绘图参数(R语言plot画图)
- MySQL data type
- 【接口性能优化】索引失效的原因以及如何进行SQL优化
- Deep recursion, deep search DFS, backtracking, paper cutting learning.
- [paper notes] robot dynamic tracking and grasping method based on online prediction and planning
- SSH服务器CBC加密模式漏洞(CVE-2008-5161)
猜你喜欢

Mocha test

Design of Butterworth filter and drawing of amplitude frequency characteristic curve

QT operation to solve large amount of duplicate data

Learning notes of technical art hundred people plan (2) -- vector

第二周学习:卷积神经网络

Matrixcube unveils the complete distributed storage system matrixkv implemented in 102-300 lines

The third experiment OSPF

内存分页与调优,内核与用户空间

Express framework

Simple setting method of search box
随机推荐
码蹄集 精准弹幕
Network Security Learning (11) scanning and blasting
Tfrecord write and read
How painful is it to write unit tests?
Panzer_ Jack's personal blog founding day
MathType安装和解决不能Crtl+V的问题
CSV intro
Longitude and latitude and its transformation with coordinate system
Shanghai Second Polytechnic University - Health Daily autocheck
QT operation to solve large amount of duplicate data
How to obtain the cash flow data of advertising services to help analyze the advertising effect?
Qt的TQTreeWidget控件
Experiment 1, experiment 2 and Experiment 3 of assembly language and microcomputer principle: branch program design / loop program design / subroutine design
ZCMU--5015: 完成任务
Qt5.12 installation error prompt: c:\qt5.12.11\vcredist\vcredist_ msvc2019_ x86.exe /norestart /q
内存分页与调优,内核与用户空间
Zcmu--5015: complete the task
PE格式: 分析IatHook并实现
Summary of traversal methods of six sets list, set, map, queue, deque and stack
QT add mouse event to control