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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-22-2003, 10:43 AM
|
#1
|
LQ Newbie
Registered: Feb 2003
Posts: 4
Rep:
|
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!!!
|
|
|
02-22-2003, 01:05 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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
|
|
|
02-22-2003, 01:35 PM
|
#3
|
LQ Newbie
Registered: Feb 2003
Posts: 4
Original Poster
Rep:
|
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!!!
|
|
|
02-24-2003, 09:09 AM
|
#4
|
LQ Newbie
Registered: Feb 2003
Posts: 4
Original Poster
Rep:
|
Trickykid:
I tried both of your suggestions. No luck.
Any other suggestions would be appreciated.
|
|
|
02-24-2003, 10:35 AM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
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
|
|
|
02-24-2003, 10:36 AM
|
#6
|
Member
Registered: Dec 2002
Posts: 226
Rep:
|
after startup, check bcm5700 moudle is insmod'ed
then
ifconfig eth1 $MYHOST netmask 255.255.255.0 up
to verify 2nd card
|
|
|
02-24-2003, 05:08 PM
|
#7
|
LQ Newbie
Registered: Feb 2003
Posts: 4
Original Poster
Rep:
|
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!!!!
|
|
|
All times are GMT -5. The time now is 02:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|