LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-17-2008, 10:25 PM   #1
jayqiu
LQ Newbie
 
Registered: Feb 2006
Distribution: Redhat ,FC
Posts: 8

Rep: Reputation: 0
how to modified the file /etc/modprobe.conf


I hava a problem ,if i add a hardware in OS(f8),i know the module of the hardware and OS had the module ,i wanna add the alias in the /etc/modprobe.conf, , but i don't know how to modified the /etc/modprobe.conf,eg:
alias eth0 e1000, i know the module nanme(e1000) ,but how to know the eth0 name , how do they match ?


thx
 
Old 04-18-2008, 02:08 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
I am not sure if I understood your question, but I will try to reply.

I understand that you are referring to a LAN interface hardware. Linux normally denotes such ports as eth0, eth1 and so on. If this is your first LAN interface than you may wish to start from eth0 as you wrote in your question.

I hope this helps.

Chris
 
Old 04-18-2008, 03:29 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It's explained in the man page:

Code:
man modprobe.conf
or visit one of the sites hosting such pages, like this:

linux.die.net/man/5/modprobe.conf

Note that all distributions have such file; for example Debian seems to miss it.

EDIT: if you just want to load the module - like you load it with
Code:
modprobe e1000
but automatically, you don't need to alias it or anything.

Last edited by b0uncer; 04-18-2008 at 03:30 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe doesn't work; why is modprobe.conf deprecated in slack 12? aquilolumen Slackware 13 08-26-2007 02:05 AM
Questions re - /etc/modprobe.d/modprobe.conf The_Outlander Slackware 9 12-12-2006 08:28 PM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 03:40 AM
resolv.conf gets modified when dialing... jaitropfaim Linux - Networking 2 02-16-2003 02:26 PM
tirpwire says /etc/resolve.conf was modified (why?) saavik Linux - Security 3 06-10-2002 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration