Spydir, you didn't tell us what kind of NIC you have. Shame! Shame! Anyway, the best thing to do is just build the driver into the kernel instead of a module. Then you don't have to worry about using modprobe; the card will be detected and installed during kernel initialization. Modules are useful for some devices that aren't always needed or connected, but when was the last time you didn't need your NIC?
If you MUST make it as a module, make sure you're building your kernel properly. Follow these steps (I'm assuming you unpacked the kernel source in /usr/src/linux):
code:
cd /usr/src/linux
make mrproper # clean up any stale .o files
make menuconfig # menu-based configuration utility - VERY nice
make dep # make dependencies
make bzImage # build the kernel image
make modules # build modules
su # become superuser (can't install modules if you're not)
make modules_install # install modules
cp /vmlinuz /vmlinuz.old # save old kernel image just in case
cp /usr/src/linux/arch/i386/boot/bzImage /vmlinuz # install new kernel
lilo # inform LILO of the new image
shutdown -r now # reboot
This message has been edited by damien_s_lucifer on June 20, 2001 at 10:15 PM