Solve the problem after replacing Nic and other hardware in linux

Source: Internet
Author: User
Article title: solve the problem after replacing the NIC and other hardware in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

As a server, network card and other hardware damages are common. in this case, hardware replacement is prone to some problems, such:

1. restart after replacement, but the system does not automatically search for new hardware. in this case, you can issue a command: kudzu.

Kudzu is a command used to detect hardware changes in Linux. this command can be used to check the model of the NIC and other information in the system. The system automatically finds new hardware and installs it on its own. You can also view the mac address, network card model, and other information of the network card.

[Root @ devel flash] # kudzu -- probe -- class = network

-

Class: NETWORK

Bus: PCI

Detached: 0

Device: eth0

Driver: e100

Desc: "Intel Corporation 82557/8/9 [Ethernet Pro 100]"

Network. hwaddr: 00: d0: b7: 3f: ad: 57

VendorId: 8086

DeviceId: 1229

SubVendorId: 8086

SubDeviceId: 000c

PciType: 1

Pcidom: 0

Pcibus: 0

Pcidev: e

Pcfn: 0

PS: of course, you can use many commands to view network card and other hardware information, such as lspci and lsmod.

2. the problem of device "xxxx" does not seem to be present occurs.

Device "eth0" does not seem to be present, delaying initialization.

Fewer lines output by lsmod

Run the depmod command. Depmod can automatically fix the dependencies of some modules.

After reboot is restarted, there are more lines output by lsmod.

Eth0 is also normal

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.