Linux tips

Home page | Curriculum Vitae | Acid | Face detection and recognition | Papers | Wonder computer | DarkCut | Dark | Environment | Tips | Links |

After building my Wonder 2 and installed Mandrake 9.2 I found out that no network was available (Mandrake 9.2 with kernel 2.4.22-10mdk). The ethernet card isn't even detected !
Since there are probably more users with a nForce2 chip (my board is a ChainTech 7NIF2), I decided to post step by step instructions to have your sistem working.

You only need the kernel sources (not included in Mandrake 9.2 CD's), and some utilities to compile the kernel (included in the CD's).

Kernel compilation:

I used the sources from kernel 2.4.22-21mdk, ls result in:

-rwxr-xr-x 1 ftomaz ftomaz 42200593 Dez 10 15:03 kernel-source-2.4.22-21mdk.i586.rpm

$ rpm -i kernel-source-2.4.22-21mdk.i586.rpm
$ cd /usr/src/linux-2.4.22-21mdk
$ make mrproper
$ make xconfig
$ make dep
$ make bzImage
$ make modules
$ make modules_install
$ mkinitrd /boot/initrd-2.4.22-21mdk.img 2.4.22-21mdkcustom
$ cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.22-21mdk
$ cp /boot/

Lilo config:

Add the following lines to lilo.conf, located in /etc/lilo:

append="devfs=mount acpi=ht resume=/dev/hdc7 splash=silent"

Don't forget to run 'lilo' after the changes !

Nforce config:

Now the nforce. When this was wrote, no RPM was avaiable from nvidia for mandrake 9.2.

Download the file NVIDIA_nforce-1.0-0261.src.rpm (92Kb), after type (as root):

rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm

this will create a rpm for you system located at:
/usr/src/RPM/RPMS/i586 (or similar)

$ rpm -i /usr/src/RPM/RPMS/i586/NVIDIA_nforce-1.0-0261.i586.rpm

I had some unresolved symbols reported by depmod, but it worked (this all depens on your kernel configuration)

Finally add the following lines to your /etc/modules.config:

alias eth0 nvnet
alias sound-slot-0 nvaudio
alias usb-interface usb-ohci

if not aready present!

You should now get the mandrake control center to detect your nvnet driver. Set your IP, DNS, ...

This should be enough to have network on you system.

Filipe António Gonçalves Tomaz
This page is hosted in the University of Algarve
Last update: Wed, 17 Dec 2003 17:19:03 GMT