LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2003, 10:43 AM   #1
gpeterson1
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Rep: Reputation: 0
modules.conf question, options


I'm having a problem with modules.conf. I need to add options to my NIC driver for two interfaces. I have two Broadcom 5700 NICs

Prior to any changes my modules.conf had:

....
alias eth0 bcm5700
alias eth1 bcm5700
....

I modified the file to:

....
alias eth0 bcm5700
alias eth1 bcm5700
options bcm5700 line_speed=100 full_dupex=1 auto_speed=0
....

But, the options are only being applied to eth0, not eth1.

Help!!!
 
Old 02-22-2003, 01:05 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Have you tried to specify the NIC's with the options by adding dev eth0 eth1 at the end ? Not sure if that will be recognized or work or you can try specifying the options after each device like this:

alias eth0 bcm5700
options bcm5700 line_speed=100 full_dupex=1 auto_speed=0
alias eth1 bcm5700
options bcm5700 line_speed=100 full_dupex=1 auto_speed=0

Or the other way I suggested:


alias eth0 bcm5700
alias eth1 bcm5700
options bcm5700 line_speed=100 full_dupex=1 auto_speed=0 dev eth0 eth1
 
Old 02-22-2003, 01:35 PM   #3
gpeterson1
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I tried your first suggestion prior to posting this message. Neither of the devices got the options.

But, I will give your second suggestion a try.

Thanx!!!
 
Old 02-24-2003, 09:09 AM   #4
gpeterson1
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Trickykid:

I tried both of your suggestions. No luck.

Any other suggestions would be appreciated.
 
Old 02-24-2003, 10:35 AM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Try:

Code:
alias eth0 bcm5700
alias eth1 bcm5700
options eth0 line_speed=100 full_dupex=1 auto_speed=0
options eth1 line_speed=100 full_dupex=1 auto_speed=0
 
Old 02-24-2003, 10:36 AM   #6
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
after startup, check bcm5700 moudle is insmod'ed

then
ifconfig eth1 $MYHOST netmask 255.255.255.0 up

to verify 2nd card
 
Old 02-24-2003, 05:08 PM   #7
gpeterson1
LQ Newbie
 
Registered: Feb 2003
Posts: 4

Original Poster
Rep: Reputation: 0
OK. Thanx to all. I got it working.

...
alias eth0 bcm5700
alias eth1 bcm5700
options bcm5700 line_speed=100,100 full_duplex=1,1 auto_speed=0,0
...

The comma was the key!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 07:02 AM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 07:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 03:56 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration