How to solve the problem that the computer cannot connect to the network

This problem has been bugging me for at least a week

Table of contents

What should I do if the computer has no Internet connection?

method one

Method Two

method three

Method four

Method five

method six


What should I do if the computer has no Internet connection?

It also includes changing IP. . computer just doesn't work

#include <iostream>
using namespace std;
int main(){
	system("netsh interface ip set address name=\"本地连接\" source=static addr=192.168.1.100 mask=255.255.255.0 gateway=192.168.1.1");
	system("pause");
	return 0;
}

method one

  1. Right-click the start menu and select [Device Manager];

  2. Find [Network Adapter], click to expand and select the current network card, and right-click the mouse, you can select [Update Driver], or first [Disable Device], and then [Enable Device], or click to select [Properties];

  3. On the properties page, we click the [Driver] tab and select [Update Driver];

  4. You can choose [Search automatically to update drivers], or you can choose [Browse my computer for drivers];

  5. If you do not know the model of your network card, or cannot find a suitable network card driver, you can download third-party driver software to assist in the installation.

Method Two

  1. First, press the F2 or Delete button quickly to enter the BIOS when starting up (the specific way to enter the BIOS depends on the prompts on the first screen after booting);

  2. Then, select the Network Setup option in Device;

  3. Finally, we select Onboard Ethernet Controller and press the Enter button, select the Enabled option and press the Enter button.

method three

  1. Press [win] + [R] at the same time to open the running window, enter [CMD], and click [OK] to open the command prompt. Note: it must be opened under administrator authority;

  2. Then, enter [netsh winsock reset], and a successful prompt will appear [Successfully reset the Winsock directory/restart the computer to complete the reset].

Method four

  1. Open the computer [Control Panel], click [Network Connection], and select [Local Area Connection];

  2. Then, right-click the [Local Area Connection] icon and select [Properties];

  3. In the [General] tab, double-click [Internet Protocol (TCP/IP)];

  4. Select [Use the following IP address], fill in [192.168.0.1] in the IP address, fill in [255.255.255.0] in the subnet mask, do not fill in the others, and then click [OK];

  5. Note: the IP must be in the same network segment as the IP address of the Modem;

  6. In addition, if it is a wireless network, you can click the network icon on the desktop taskbar, open the Network and Sharing Center, click Local Area Connection, click Properties, double-click IPV4, and set the IP address and DNS to automatically obtain.

Method five

  1. If it is a problem with the network card hardware, you need to buy a new network card. If it is a discrete graphics card, you can directly replace it;

  2. If your computer has an integrated graphics card, you need to disable the original network card in the BIOS, and then install an independent graphics card;

  3. After entering the BIOS interface, enter the integrated peripherals option shown in the figure, and change the onboard lan device inside to disabled.

method six

  1. Check whether the router lights are normal. If it is an optical modem, generally the other lights are on except the LOS light is off. You can turn off the power of the router and the modem, and then turn it on again after 5 minutes;

  2. If there is an abnormality in the optical modem light, you can check whether there is a problem with the optical modem interface, whether the indoor pigtail connected to the optical modem connector is loose, and it can be restored by inserting the connector;

  3. In addition, excessive bending of the indoor part of the optical fiber will also cause the whole problem, because excessive bending of the optical fiber will affect the total reflection transmission of the optical signal in the optical fiber, as long as the optical fiber is straight;

  4. However, if the outdoor part of the optical fiber is broken or the optical port of the equipment in the computer room is faulty, you need to contact the staff to report the fault.

Finally, my computer is not connected to the Internet because my network cable is loose! ! ! (I'm furious)

Part of the reference is: What to do if the computer is not connected to the network How to solve the problem if the computer cannot connect to the network

Guess you like

Origin blog.csdn.net/qiuweichen1215/article/details/130492920