LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nForce2 driver installation problems (https://www.linuxquestions.org/questions/linux-hardware-18/nforce2-driver-installation-problems-190707/)

thorax 06-07-2004 11:29 AM

nForce2 driver installation problems
 
Hi @ all!
I got my Debian distro yesterday and have already managed to compile the new 2.6.6 kernel. As next, I wanted to install the proprietary drivers for my nForce2 onboard network adapter and onboard sound.
I managed to install the audio driver, but i still don't have sound. what do I have to configure? How do I see if the driver really is loaded at startup?
The next problem is the driver for the network adapter. In the kernel configuration I choosed a 'reverse engineered nvidia ethernet driver', but my network still doesn't work. Also, I'm not able to install the proprietary Nvidia driver, as I try 'make', it says that there are 'unresolved Symbols' in a kernel include file (at least the file lies in the usr/src/linux-2.6.6 directory).
Has someone a solutions for this problems? I do not want to install my old Realtek-8139 and Ensoniq ES-5880 in my new computer, as the onboard components are much better :D

PS: There was also an universal sound driver in the kernel config, for an intel chipset, my nvidia chipset and some others. If I still do not manage to install the proprietary drivers, how can I get these to work?

leonscape 06-07-2004 12:13 PM

I've got an Nforce2 on Debian as well, ( with an Nvidia Ti4600 ). I could e-mail you my kernel config for 2.6.5 ( which you can then run through make menuconfig ).

I use a seprate sound card, so I don't know if the sound works on the board ( even though I've set the module ). but my networks fine. Do you have a firewall messing with it?

For the Nvidia card and kernel do

Code:

apt-get install nvidia-kernel-common nvidia-kernel-source
cd /usr/src
tar xvzf nvidia-kernel-source.tar.gz
cd kernel-source-2.6.6
make-kpkg clean
make-kpkg kernel_image modules_image -us -uc
cd ..
dpkg -i kernel-image-2.6.6_123.Custom_i386.deb
dpkg -i nvidia-kernel-2.6.6_1.0.5336-9+123.Custom_i386.deb
apt-get install nvidia-glx

Then alter the /etc/X11/XF86Config-4 as appropriate. Make sure you have nothing about the new framebuffers, as this screws up the nvidia drivers.

Also as your probably using ALSA make sure you have these...

apt-get install alsa-base alsa-utils

Edit:

Hum, no network no apt-get, Try using the Sarge CD ( Official "testing" ) instead for installation, using the 2.6 kernel. So when the CD boot type linux26.

Most of the things you need are included on the Sarge CD and it can set up the network card for you. I'll leave the above as is, because it could be useful for someone. ( you'll still need to rebuild the kernel and nvidia-kernel for the graphics card. )

thorax 06-07-2004 01:52 PM

Humm, I just noticed that the drivers included with the kernel have been installed correctly. I've done an 'ifconfig eth0 inet 192.168.0.233', and there the network was, working perfectly, but... How do I set a Gateway and a DNS Server (to get access to the www via a software router) and store these settings together with the IP-adress to be loaded at system startup?
Is there no all-in-one config-tool for Debian, like in other (commercial) distros?
Sound also working now, I just had to install a mixer (I'd choose tkmixer) and set the Volume to another value than 0 :D. Under root, it's all working perfectly, the volume is loaded at system startup. But under my everyday account, I'm not able to get tkmixer to work, it just says 'access to device /dev/mixer denied.' Is there any solution for this problem?

thx

PS: I own an ATI Radeon 9600XT, which I managed to get working on my own:D

hw-tph 06-07-2004 01:56 PM

You should edit /etc/network/interfaces (if I recall correctly) and enter your network parameters. It is actually very straightforward since the file is very well documented. When done, simply restart networking to let the changes take effect (/etc/init.d/networking restart).


Håkan

thorax 06-07-2004 02:01 PM

And how can I make Debian to configure my network every startup? After I configured my network as mentioned in my 2nd post, I've dona a reboot, and all my settings were gone.

hw-tph 06-08-2004 12:49 PM

That *is* how you configure it.


Håkan

thorax 06-08-2004 01:22 PM

Humm, that's my /etc/network/interfaces:

------<---------

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

------<---------

Now, what do I have to enter? I tried

auto eth0
iface eth0 inet 192.168.0.233

but I got error messages saying that the /etc/netowrk/interfaces could not be read.

And, how do I get my default gateway configured at startup? I have to enter 'route add default gw 192.168.0.1' to get access to the internet.

hw-tph 06-08-2004 05:18 PM

You should have something like this:
Code:

    iface eth0 inet static
            address 192.168.0.233
            netmask 255.255.255.0
            gateway 192.168.0.1

You still need the lo (loopback) device though! It is for local networking and is needed by a whole bunch of things.

Here is the part of the Debian Reference Manual about configuration of static addresses. Bookmark it or download it, it's very handy, I discover new Debian features all the time. :)


Håkan

thorax 06-09-2004 08:50 AM

thx, hw-tph:)
it's working perfectly now:cool:


All times are GMT -5. The time now is 12:10 AM.