LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2004, 02:23 PM   #1
jvk
LQ Newbie
 
Registered: Sep 2004
Location: Michigan
Distribution: Fedora 10 (32 and 64-bit)
Posts: 14

Rep: Reputation: 0
Changing network driver permanently


I have SuSE 9.1 Personal and installed Cisco VPN client for Linux. I was having intermittant issues connecting. Cisco support tells me that the tg3 network driver is known to be buggy with their software. They recommended that I use the bcm5700 driver instead.

I downloaded bcm5700 and installed.
ifdown eth0
rmmod tg3
modprobe bcm5700
ifup eth0

The Cisco VPN client for Linux now works great.

How do make this change permanent so I do not have to run all these commands every session?

I do not see the bcm5700 while in Yast to select it as a permanent change.

By the way, Linux already has me hooked........
 
Old 10-07-2004, 02:28 PM   #2
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 14.1, 14.2; Debian Jessie; Centos 6; FreeBSD 9 & 10
Posts: 272

Rep: Reputation: 35
The loading of modules in Redhat type distributiions is in /etc/modules.conf. Edit the file and save it with your new information. Put a # on the line with the module you no longer want to load.
 
Old 10-07-2004, 02:59 PM   #3
jvk
LQ Newbie
 
Registered: Sep 2004
Location: Michigan
Distribution: Fedora 10 (32 and 64-bit)
Posts: 14

Original Poster
Rep: Reputation: 0
My /etc/modules.conf file is empty (0 bytes). Any ideas?
 
Old 10-07-2004, 06:25 PM   #4
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 14.1, 14.2; Debian Jessie; Centos 6; FreeBSD 9 & 10
Posts: 272

Rep: Reputation: 35
Sometimes when you speak without having a machine in front of you, you end up screwing up. I'm at home now. You would put the change in /etc/modprobe.conf
 
Old 10-07-2004, 09:34 PM   #5
jvk
LQ Newbie
 
Registered: Sep 2004
Location: Michigan
Distribution: Fedora 10 (32 and 64-bit)
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for your time. When I look at the modprobe.conf file I do not have any driver specific entries. There's an entry "install eth0 /bin/true" but nothing related to the old tg3 driver which continues to get loaded each time I start the system up.

Per the Broadcom docs for the bcm5700 driver it states to put an "alias eth0 bcm5700" in the modules.conf file. This file was originally empty but I put it there anyway. It did not work. I tried putting the alias in the modprobe.conf file above the install eth0 line but that did not work either.

Each time I boot I'm stuck with the tg3 driver until I manually rmmod and modprobe the new bcm5700 driver.

Does this make sense?
 
Old 10-07-2004, 10:17 PM   #6
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 14.1, 14.2; Debian Jessie; Centos 6; FreeBSD 9 & 10
Posts: 272

Rep: Reputation: 35
The modules.conf directory is where I sent you to initially. Unfortunately, every distribution is slightly different. That's why I modified my answer when I got home. Suse has quite good hardware detection, so it produces a file automatically called modprobe.conf. In my /etc/modprobe.conf file I have (toward the bottom) an entry showing a commented out prototype:
#alias eth0 nvnet
make a copy of the line, remove the # to uncomment it, and substitute your driver for the nvnet
alias eth0 bcm5700

Good luck.
 
Old 10-07-2004, 10:19 PM   #7
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
You can use yast and select advanced and enter the module there, or if you want to edit it command line wise,
cd /etc/sysconfig/hardware, find the file that looks like
hwhwcfg-bus-pci-0000:00:12.0 and change the module there. Then run SuSEconfig
 
Old 10-08-2004, 09:27 AM   #8
jvk
LQ Newbie
 
Registered: Sep 2004
Location: Michigan
Distribution: Fedora 10 (32 and 64-bit)
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks to both of you for your help.

The tweaking of the file in /etc/sysconfig/hardware and running SuSEconfig did the trick.

JVK....
 
  


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
Changing hostname, dnsdomainname, and domainname permanently. xemous Linux - Networking 6 12-16-2009 02:21 PM
Changing network segment of a Windows network eantoranz Linux - Networking 3 10-18-2005 10:58 AM
Changing bath PATH permanently ... angel115 Linux - General 7 09-04-2005 11:05 PM
Changing application menu permanently in GNOME trotsky Linux - Software 1 12-28-2004 03:33 PM
Permanently mapping a Windows network share gvaught Linux - Networking 7 05-28-2004 10:14 PM


All times are GMT -5. The time now is 04:24 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