Linux network cannot be started.

Source: Internet
Author: User

 

Debug iptables configuration in the afternoon and add configuration items that support vsftp.

After a machine is restarted, the iptables service cannot be started and the network service is not started successfully.

The error message "pcnet32 device eth0 does not seem to be present" is unknown.

Find this article onlineArticleHttp://blog.chinaunix.net/u3/102399/showart_2014783.html.

 

"

A foreigner said at communities.vmware.com that he encountered this problem
Said: "What I found was that my modules. Dep and modules. Alias were empty,
Which live in/lib/modules/'uname
-R '/". This reminds me that when I compile a module in the afternoon, I executed depmod, which will change modules. Dep and modules. Alias. To/lib
/Modules/'uname
-R'/check that only the dependency information related to my module is displayed. It seems that this is because I executed the depmod command in an incorrect way. (I forgot what happened, as if I was
Depmod my. Ko ).

 
It seems that the dependency information of the system module is lost, and the NIC Driver and other modules cannot be loaded at startup. Therefore, if you want to add your own module to the system using modprobe
Your_module.ko export/lib/modules/'uname-R'/, and then depmod-. Finally, modprob
Your_module.

Solution:

Run depmod under/lib/modules/'uname-R'/to regenerate modules. Dep and modules. Alias, and restart.

 

It seems that you need to know about modprobe,/lib/modules/'uname-R'/modules. Dep and modules. Alias.

 

LinuxBasic
It is critical.


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.