Results 1 to 6 of 6

Thread: USB NIC hell

  1. #1

    USB NIC hell

    I'm having some trouble compiling a USB module for a USB NIC. Unfortunately, the machine only has USB and one serial port (Intel 810 chipset/Celeron 333) so that's the direction I have to go. I have the driver floppy that came with the NIC with linux drivers included, and instructions, but I'm getting errors and I'm not sure where to go.

    This is a fresh Install of RH 7.3, with the stock (2.4.18-3) kernel and kernel source.

    I found some more recent instructions on the realtek site, but I'm still getting errors. it was mentioned that I should define the path to the include directory (which I did) and then the output metioned that malloc.h was outdated and I should use slab.h instead. I changed that line in the rtl8150.c file and ran again:
    gcc -DMODULE -D__KERNEL__ -c rtl8150.c -I/usr/src/linux-2.4/include

    The output:
    <command line>: macro names must be identifiers
    <command line>: warning: extra tokens at end of #define directives

    I'm pretty new to compiling 3rd party modules, and I don't know what these errors mean. All I've found on searches is very very vague stuff, and nothing directly related to this module.

  2. #2

    Re: USB NIC hell

    hello,
    is the kernel source installed in /usr/src/linux or /usr/src/linux-2.4 ? it looks like it is not seeing all of the #deines it needs to see which would be in /usr/src/linux/include/ or /usr/src/linux-2.4/include/linux

  3. #3

    Re: USB NIC hell

    The kernel source is installed to /usr/src/linux-2.4, but I've also tried it after linking it to /usr/src/linux with the same result. =/

  4. #4

    Re: USB NIC hell - solved

    OK, turn out Redhat no longer links the kernel source to /usr/linux/include in the 7.x releases. That was one problem solved. Spent half the night compiling and recompiling modules trying to get this puppy up and running. Apparently the pegasus module supports the chipset, but I haven't been able to get it working yet. After 15 hours or so, I'd had enough for one day and had to crash. I set the manu's module to recompile one last time and went to bed.
    Lo and behold - it works!

    btw...ever hear of the Barbie PC(TM)? That's what this is...snagged it off my sister when it crapped out(like they all did) and wanted to enjoy the novelty of trying to run linux on this thing.

    It works!
    ;D

  5. #5
    Moderator
    Kind Mastermind
    stryder144's Avatar
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    2,926

    Re: USB NIC hell - solved



    btw...ever hear of the Barbie PC(TM)? That's what this is...snagged it off my sister when it crapped out(like they all did) and wanted to enjoy the novelty of trying to run linux on this thing.

    It works!
    ;D
    My first thought: you sicken me. Second thought...where can I get one of those old PC's? My kids would love one (actually, the Hot Wheels one would be better). Hmmm...you've got me thinking now.

  6. #6

    Re: USB NIC hell - solved




    My first thought: ˙you sicken me. ˙Second thought...where can I get one of those old PC's? ˙My kids would love one (actually, the Hot Wheels one would be better). ˙Hmmm...you've got me thinking now.
    LoL..you might be able to get one from one of the folks that posted here:
    http://www.webbbox.com/business/p/patriotcomp.htm

Similar Threads

  1. They said: Welcome to Sendmail Hell?
    By rhonneil in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-29-2003, 05:10 AM
  2. Are You Going To Hell?
    By cloverm in forum General Chat
    Replies: 11
    Last Post: 05-18-2003, 03:56 PM
  3. Still in resume hell
    By tolstoy in forum General Chat
    Replies: 16
    Last Post: 08-21-2002, 03:51 AM
  4. USB NIC hell
    By Spot in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 05-23-2002, 01:39 AM
  5. Where the hell is everybody??
    By Compunuts in forum General Chat
    Replies: 23
    Last Post: 01-19-2002, 05:32 AM

Bookmarks

Posting Permissions

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