khashayar, the Wiki page could have been clearer, you are trying to use two separate methods, DKMS & manually building a custom kernel. This is the section you want:
- Code: Select all
Use DKMS
This is the easiest method and recommended unless you have some reason to not want to install a compiler.
All you need to do is install the kernel headers package for the Linux image that you're running (usually named linux-headers-<version> where <version> is whatever version of kernel you're running) and then install nvidia-kernel-dkms or the nvidia-kernel-legacy-...-dkms package for the legacy version of the drivers that you need.
DKMS will take care of the build and install process automatically.
So the first thing you want to do is install the linux-headers package for your kernel. Possibly this:
root@something:~#
apt-get install linux-headers-2.6.32-5-686
Then install the dkms package:
root@something:~#
apt-get install nvidia-kernel-legacy-173xx-dkms
Make sure that your /etc/X11/xorg.conf file points to the nvidia driver.
http://wiki.debian.org/NvidiaGraphicsDrivers#Configure_X_to_use_the_nvidia_driverIt is probably sufficient if your /etc/X11/xorg.conf looks like this:
- Code: Select all
Section "Module"
Load "glx"
EndSection
Section "Device"
Identifier "Video Card"
Driver "nvidia"
EndSection
That should be sufficient to get you in to the GUI. Unfortunately getting the proper resolution in Linux is often a bit of a PITA. You can use the 'xwininfo' terminal command, then tap your mouse on an empty part of your desktop to see if the recognized resolution is the proper one for your monitor. But once you can log in the graphical user interface you can use IRC to ask for help dialing in your settings. #debian or #smxi on irc.oftc.net are good places to ask around. Good luck.