Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61

    Realtek RTL8139 won't connect


    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?

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    Luton, England, UK, Earth
    Posts
    639
    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?

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61
    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.

  4. #4
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61
    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

  5. #5
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61
    well I guess I don't have gcc installed........now I have to figure that out

  6. #6
    Linux Enthusiast deltaflyer's Avatar
    Join Date
    May 2005
    Posts
    577
    you can get gcc from your distro cd/dvd & all the make files as well

    andy
    SLOMO: acer extensa 5235 2.2ghz,2gb ram 160gb hdd wireless
    SPEEDY: homebrew desktop,Amd x2 dualcore,2gb ram,500gb +1tb( 2x500gb) hdd suse 11.3,32mb fibreline
    registered linux user #401845

  7. #7
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61
    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.

  8. #8
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61
    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)

  9. #9
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    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.
    Life is complex, it has a real part and an imaginary part.

  10. #10
    Just Joined!
    Join Date
    Sep 2004
    Posts
    61
    ok, I got the kernel sources installed and it's still doing the same thing. Do I need to modify the makefile or something?

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •