- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: modprobe -r eth0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2007 07:48 PM
тАО08-23-2007 07:48 PM
my colleague had accidently executed modprobe -r eth0. therfore eth0 will not be available. will linux still boot?
If it has error? how do i boot it again normally? Both my colleague and i are new to linux. Can you guide us in step by step procedure on booting to single mode? then how do i bring back the eth0? thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2007 09:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2007 09:33 PM
тАО08-23-2007 09:33 PM
Re: modprobe -r eth0
Additional Information.
# cat /etc/modprobe.conf
alias eth0 tg3
# lsmod | grep tg3
tg3 xxxxx 0
# man modprobe
-a --all
Insert all modules matching the given wildcard. This option is
provided for backwards compatibility: see find(1) and base-
name(1) for a more flexible alternative.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 02:08 AM
тАО08-24-2007 02:08 AM
Re: modprobe -r eth0
The modprobe command will not make any changes to anything on the disk: it only adds or removes driver modules in RAM.
You need to do something else (see the documentation of your Linux distribution) to make the change effective across reboots, if you wish.
Generally, even if the driver module for network interface eth0 was permanently removed or disabled from loading, Linux would very probably still boot. If some processes require access to DNS servers while booting (like sendmail) the boot might be much slower than normal: a failing DNS query may take several minutes to time out.
If "modprobe -r eth0" successfully removed the driver module for eth0 from memory, "modprobe eth0" should bring it back without any need to reboot.
Even just starting the network interface with "ifup eth0" would probably be sufficient: the system will notice that the driver for eth0 is not loaded, and will try to load it automatically unless something prevents it from doing so.
Note that "eth0" is probably not the real name of the driver module, but an alias:
run "modprobe -c | grep eth0" to see the real name of the module.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 01:20 PM
тАО08-24-2007 01:20 PM
Re: modprobe -r eth0
my system is now back to normal...