My nic works fine in XP, but I can't get it to connect in Mandriva LE 2005. It recognizes the card and lets me configure it, but it just won't connect. Anyone have any ideas?
Printable View
My nic works fine in XP, but I can't get it to connect in Mandriva LE 2005. It recognizes the card and lets me configure it, but it just won't connect. Anyone have any ideas?
Have you downloaded the linux drivers for it?
Could be the problemo, does it come up with any error messages when you try to connect?
I downloaded the drivers from here http://www.scyld.com/rtl8139.html
and it says the installation directions are here http://www.scyld.com/driver_updates.html but the source rpm package it links to (netdrivers.tgz) isn't even on the server and the other method seems kinda complicated for someone new to linux like me.
I don't get any error messages, it just says that the network is down and I need to configure the connection.
well, I got the netdrivers.tgz file from another place, but when I try to install it according to the directions, I get this:
make: gcc: command not found
make: *** [pci-skeleton.o] Error 127
well I guess I don't have gcc installed........now I have to figure that out
you can get gcc from your distro cd/dvd & all the make files as well
andy
what are the make files?
I installed gcc and tried to install the drivers again, and it just gave me pages of errors, I'll try to get a copy of them up here if you can copy from konsole.
ok, here are some of the errors I am getting. I won't post all of them as they go on for pages, but most of them are some variant of the errors at the bottom.
You should not include /usr/include/{linux,asm}/ header
files directly for the compilation of kernel modules.
glibc now uses kernel header files from a well-defined
working kernel version (as recommended by Linus Torvalds)
These files are glibc internal and may not match the
currently running kernel. They should only be
included via other system header files - user space
programs should not directly include <linux/*.h> or
<asm/*.h> as well.
To build kernel modules please do the following:
o Have the kernel sources installed
o Make sure that the symbolic link
/lib/modules/`uname -r`/build exists and points to
the matching kernel source directory
o Now copy /boot/vmlinuz.version.h to
/lib/modules/`uname -r`/build/include/linux/version.h
o When compiling, make sure to use the following
compiler option to use the correct include files:
-I/lib/modules/`uname -r`/build/include
instead of -I/usr/include/linux
Please adjust the Makefile accordingly.
/usr/include/linux/cpumask.h:268: error: `len' undeclared (first use in this function)
/usr/include/linux/sched.h:1073: error: dereferencing pointer to incomplete type
/usr/include/linux/sched.h: In function `test_and_set_tsk_thread_flag':
pci-skeleton.c:529: error: structure has no member named `mem_start'
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
I think you need the kernel sources installed, in the same way you installed gcc, find kernel-sources or kernel-headers. In MCC's add/remove software tool, it can be found under the development heading.
ok, I got the kernel sources installed and it's still doing the same thing. Do I need to modify the makefile or something?