In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to solve the problem that there is no network card driver in the newly installed Linux system". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "how to solve the problem that there is no network card driver in the newly installed Linux system"!
The linux system just installed does not have a network card driver. Here is my solution:
(the machine system is RHEL5.3)
Let's start with a few commands:
# lsmod
Displays the modules that have been loaded into the system.
Executing the lsmod instruction lists all modules that have been loaded into the system. The core of the Linux operating system has the feature of modularization, so when compiling the core, you must put all the functions into the core. You can compile these functions into separate modules and load them separately when needed.
# dmidecode
-- dump the machine's DMI (Desktop Management Interface) information in a readable way. This information includes hardware and BIOS, which can get both the current configuration and the maximum configuration supported by the system, such as the maximum amount of memory supported.
# lspci
-- list all PCI devices: list the PCI devices in the machine (sound card, video card, Modem, network card, USB, motherboard integrated device can also be listed). Through this command, you can find out the manufacturer and model of the network card.
# modprobe
Automatic processing of loadable modules. Modprobe can load specified individual modules or a set of dependent modules. Modprobe decides which modules to load based on the dependencies generated by depmod. If an error occurs during loading, the entire set of modules will be unloaded in modprobe.
# depmod
Analyze the dependencies of loadable modules. Depmod detects the dependency of the module and is used by modprobe when installing the module.
The support of network card under Linux is only for chips, so for some network cards that are not very famous, it is often necessary to know its chip model in order to configure Linux. For example, some machines are Top link network cards, there is no Linux driver, but because it is NE2000 compatible, so it can be used as NE2000 under Linux. So when you have a network card that cannot be used, be sure to figure out what chip the network card uses and who it is compatible with before looking for the Linux driver, such as 3c509Magne2000 and so on. Such models are usually printed on the largest fast chip on the network card, just copy it down. For the NE2000 card with ISA interface, the first thing to do is to set the network card to Jumpless mode. Many current network cards default to PnP mode, which can really reduce a lot of trouble under Windows, but Linux does not support it, so Linux must be Jumpless mode. Generally, all network cards have a drive disk and an executable setting program under DOS, which can be used to set the network card to Jumpless. For PCI network cards, you can use the command to view: lspci. Find "Ethernet Controller" in the list that appears and make a note of the manufacturer and model. Then search the Internet for the drivers under the linux platform corresponding to this model, and take the author's machine as an example to operate:
The code is as follows:
[root@localhost ~] # lspci | grep 'Ethernet controller'
0188E8040 PCI-E Fast Ethernet Controller 00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
The network card company is Marvell and the model is 88E8040. According to this model, you can search on the Internet. The author suggests that it is best to download from the official website, and do not use IE. It is this IE that really makes me suffer, always reminding me that the download site is dangerous and unreliable. No matter how to set the IE option, I finally changed the 360browser and was able to download it immediately. I was really moved at that time.
The name of the downloaded driver is:
The code is as follows:
Install_v10.85.9.3.tar.bz2
Then go to a random directory and execute the following command:
The code is as follows:
[root@localhost ~] # tar jxvf install_v10.85.9.3.tar.bz2
Get a DriverInstall directory under the current path and enter it:
The code is as follows:
[root@localhost ~] cd DriverInstall
And then you'll see some files.
Note: now some drivers, virtual machine tools and other software are tar packages, but for the convenience of installation, they have been written into script files, so when you get this decompressed software, you only need to execute its script, and the latter operation is basically a fool's operation according to the prompts.
In the case of this software, execute the command:
The code is as follows:
[root@localhost]. / install.sh
The following execution is the prompt operation, which you can do as you are prompted. English can not be too poor, because this kind of information is almost all in English, but you can look it up in the dictionary.
Finally, just restart the machine.
In addition, there is another way on the Internet to compile and generate the module first, and then load it. If the load is successful, let the system load the module automatically when it starts. This practice is very conventional and the most persuasive. These steps are directly integrated into the driver script downloaded by the author, which looks simple, but is actually written in the script.
At this point, I believe you have a deeper understanding of "how to solve the problem that there is no network card driver in the newly installed Linux system". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.