LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-16-2003, 01:10 AM   #1
Atero
LQ Newbie
 
Registered: Sep 2003
Distribution: Redhat 9
Posts: 10

Rep: Reputation: 0
nforce2 lan vs. redhat 9


for some reason my linux doesn't want to recognize my onboard lan. used to be a dual boot with win2kpro/rh9, and it worked fine in windows. but now windows is gone, and so I can't use it at all because...i don't have an internet connection. running on a msi k7n2 delta ilsr mainboard (nforce2 chipset). i've tried all sorts of driver rpms, and none of them work. they install, but redhat simply refuses to recognize the device. i found a couple threads from people with similar problems but nothing informative. any ideas?
 
Old 11-16-2003, 02:03 AM   #2
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
id like to know too, i have nforce2 & mandrake 9.2 and no ethernet
worky
 
Old 11-16-2003, 05:48 AM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I build the drivers from source and I have never had any problems whatsoever with it. Justs modprobe nvnet and you're all set.

Håkan
 
Old 11-16-2003, 01:03 PM   #4
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
i dont know how to build a driver from source. and what you mean by modprobe nvnet
 
Old 11-16-2003, 01:51 PM   #5
Has
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Lightbulb answer to nforce lan problem

Hi folks,
Have the same nforce2 board... running Mandrake 9.1 on it. With Mandrake, the solve is that you have to first use the networking wizard... most of the time, this will crash or not save the values. But try it anyway
Following this, use the following commands (logged in as su):
ifconfig eth0 192.168.XXX.XXX up
(replace the xxx with your ip address). Type just ifconfig, eth0 will be up.
Unfortunately you have to do this everytime you want eth0 to startup..
Hope that helped.
Regards,
Has
 
Old 11-16-2003, 02:30 PM   #6
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
thing is, i dont have an eth0, only a lo
 
Old 11-17-2003, 01:18 AM   #7
Darktyco
Member
 
Registered: Aug 2003
Location: michigan
Distribution: slackware
Posts: 59

Rep: Reputation: 15
I think pretty much everyone with an NForce2 has this problem

Download and install nVidia's unified driver http://www.nvidia.com/object/linux_nforce_1.0-0261 (get the source tarball, not the rpm) and do the following steps:

1) tar -xvfz nforce.tar.gz
2) cd /nforce/nvnet/
3) make && make install

Load up a text editor and open "/etc/modules.conf". Even if the file is empty, add the following line without the quotations: "alias eth0 nvnet" (not sure if this does anything, but you can also add the line "options nvnet optimization = 1")

6) netconfig
7) modprobe nvnet


After this you should be set. If you don't have the nVidia unified driver installed, go ahead and do that too (from either the source you have downloaded or the rpm if you feel better about it).

Last edited by Darktyco; 11-17-2003 at 01:20 AM.
 
Old 11-17-2003, 02:09 AM   #8
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
1) tar: z: Cannot open: No such file or directory
tar: Error is not reoverable: exiting now
2) and to get that i type
tar -xvfz NVIDIA_nforce-1.0-0261.tar.gz

3) there is no /nforce/nvnet directory

4)can you please give this to me in english? im one of those dumb noobs

Last edited by voodooutt; 11-17-2003 at 02:13 AM.
 
Old 11-17-2003, 03:55 AM   #9
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Don't use the hyphen, only type tar xfvz NVIDIA_nforce-1.0-0261.tar.gz and it should extract OK. After that you can follow the instructions Darktyco provided.

Håkan
 
Old 11-17-2003, 09:37 AM   #10
Atero
LQ Newbie
 
Registered: Sep 2003
Distribution: Redhat 9
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks hw-tph, I'll try it later today (right now I have to go to school), but I've tried probing it several times and nothing's worked. Is there any reason building the driver from source will change that? (This is an honest question, I'd like to know how that works...)
 
Old 11-17-2003, 09:49 AM   #11
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I use Debian, and there are no ready-to-run drivers for my distribution. Furthermore, I build my own kernel to be able to keep it as small as possible (not much reason to do that actually, considering the amount of memory in current PC's) and to add a few patches.

Now, drivers are built against a certain revision and build of a kernel. So if you try the pre-built (rpm) driver intended for use with SuSE on a RedHat machine, it will probably not work since they use different kernels. Most distributions add quite a few patches to the kernel while an unpatched kernel is often referred to as "plain vanilla" . Since I have built my own kernel there are no ready-to-run driver packages for me.

If you install the kernel source from your distribution CD you will probably get a nice, preconfigured kernel sourcetree against which you can build the driver module.

Hope that helps a little bit.

Håkan
 
Old 11-17-2003, 11:25 AM   #12
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
hi-tph, ty for your help. ima get to it when i get home tonight
 
Old 11-17-2003, 01:05 PM   #13
Darktyco
Member
 
Registered: Aug 2003
Location: michigan
Distribution: slackware
Posts: 59

Rep: Reputation: 15
Oops, sorry about the hyphen
 
Old 11-17-2003, 02:29 PM   #14
voodooutt
Member
 
Registered: Nov 2003
Location: California, USA
Distribution: Mandrake 9.2
Posts: 54

Rep: Reputation: 15
Quote:
Originally posted by Darktyco

1) tar -xvfz nforce.tar.gz
2) cd /nforce/nvnet/
3) make && make install

Load up a text editor and open "/etc/modules.conf". Even if the file is empty, add the following line without the quotations: "alias eth0 nvnet" (not sure if this does anything, but you can also add the line "options nvnet optimization = 1")

6) netconfig
7) modprobe nvnet


After this you should be set. If you don't have the nVidia unified driver installed, go ahead and do that too (from either the source you have downloaded or the rpm if you feel better about it).
ok, i got to the part 3) make && make install

It does something, errors pop up, there are wayyyy to many to type out here... and i cant cut n paste because i still cant write to my floppy drive (Writing to Devices is NOT supported is the error)

then I do "netconfig" and says command not found

and "modprobe nvnet" says Can't locate module nvnet
 
Old 11-17-2003, 03:14 PM   #15
Darktyco
Member
 
Registered: Aug 2003
Location: michigan
Distribution: slackware
Posts: 59

Rep: Reputation: 15
Try running them seperatly so we can at least see where its coming from:

make
make install

Make sure you are logged in as a super user when you run make install. Which one does it error out on?
 
  


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
Slackware 10 nForce2 LAN Support tini1212 Slackware 6 07-12-2004 08:33 AM
nForce2 LAN problem in Mandrake 9.1 smitty1276 Linux - Hardware 7 06-11-2004 05:48 PM
nforce2 on board lan with redhat 9 won't work herbert Linux - Hardware 2 10-19-2003 10:45 PM
nForce2 on-board lan + debian = tears ninab Linux - Networking 3 08-15-2003 02:08 PM
Can't make nforce2 LAN work Johnnie Walker Linux - Newbie 5 08-10-2003 02:29 PM

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

All times are GMT -5. The time now is 05:26 AM.

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