Results 1 to 8 of 8

Thread: newbie needs help with NIC card!! (again this topic)

  1. #1
    conan
    Guest

    newbie needs help with NIC card!! (again this topic)

    hi, i have mandrake 8.2 and it's the very first time i have contact with linux and although hard it's very very interesting!! i need to install my ethernet card it's a surecom EP-320X-S and the driver instructions in the disk are :

    Installation:

    1. copy the source code fealnx.c to Linux,

    2. compile the source code, the instruction for compiling the driver is
    as follows:

    #gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
    -Wstrict-prototypes -O6 -c fealnx.c

    3. insert the driver as module,

    #insmod fealnx.o

    4. bind your card to an IP address

    #ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

    5. add your card to IP routing table,

    #route add -net ${NETWORK} netmask ${NETMADK} eth0

    6. now, you should be able to ping local network.
    

    PS : I have installed the linux kernel and copied the fealnx.c to /usr/src/linux/ folder but haven't made it further, plz help the new linux enthousiast noob!!

    PS 2: my NIC is not supported and i tried all (!! yes one by one) the models in the installation procedure!

    thanks again!!

  2. #2
    JimH
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    Hmmm, interesting the fealnx.o module source code is included in the kernel source on my Red Hat install. Red Hat however chose not to enable it in the default kernel configs. That might not be a good sign. :P

    Lets see if the module is on your system already maybe you don't have to compile it. Type these commands one at a time at a shell prompt.

    You will have to be the root user to run this command.
    updatedb

    Don't have to be root to run this one. Post the output.
    locate fealnx

    Jim H


  3. #3
    conan
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    first of all thank u for your fast reply....

    Well after copying the fealnx.c to the linux kernel i try to do the rest of the instrunctions of my driver diskette.. i got a lot of error msgs so i stopped, then in the graphic environment i opened the hardware list but all i got was a blank (black) screen.. so i decided to do a fresh install !!
    After the new istallation i did the above (updade and locate) and i got the following output :

    /lib/modules/2.4.18-6mdk/kernel/drivers/net/fealnx.o.gz

    so i suppose that i had the file after all, but what can i do from now on?? will it help if i e-mail u the object file (fealnx.o) and/or the fealnx.c file??

    thank you in advance!!

  4. #4
    JimH
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    Open /etc/modules.conf in a text editor.

    Add the line:

    alias eth0 fealnx

    Save your changes and exit.

    Then at the shell prompt:

    /sbin/modprobe -v eth0

    This should load the module. Post any error messages you get.

    To see if the module loaded:

    /sbin/lsmod

    You can see if there is an eth0 interface now with:

    /sbin/ifconfig

    You must be root to edit /etc/modules.conf and to load the module.

    Jim H

  5. #5
    conan
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    the line at fealnx was already there...

    i executed /sbin/modprobe -v eth0 with no errors
    then /sbin/lsmod and got the following :

    # /sbin/lsmod
    Module
    Size Used by Not tainted sr_mod
    15160 0 (autoclean)emu10k1
    57984 0 ac97_codec
    9568 0 [emu10k1]sound
    57292 0 [emu10k1]soundcore
    4068 7 [emu10k1 sound]af_packet
    12488 0 (autoclean)usb-uhci
    21668 0 (unused)usbcore
    59072 1 [usb-uhci]fealnx
    11016 0 (autoclean) (unused)mii
    1360 0 (autoclean) [fealnx]nls_iso8859-15
    3360 3 (autoclean)nls_cp850
    3584 3 (autoclean)vfat
    9788 3 (autoclean)fat
    31384 0 (autoclean) [vfat]supermount
    62180 3 (autoclean)ide-scsi
    8032 0 scsi_mod
    92488 2 [sr_mod ide-scsi]rtc
    5912 0 (autoclean)ext3
    62092 2 jbd
    39356 2 [ext3]nd

    and then the /sbin/ifconfig and got the following:


    # /sbin/ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1
    Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:220 errors:0 dropped:0 overruns:0 frame:0
    TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:14988 (14.6 Kb)
    TX bytes:14988 (14.6 Kb)

    i hope this will help u help me and the next time i will post it will be from mandrake !!!

  6. #6
    JimH
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    Ok the module is loaded. you just need to configure the network setting.

    Look in Mandrake Control Center under Network & Internet Connections

    If you have any problems from there one of the Mandrake users on the board should be able to help you out. I don't use Mandrake.

    Jim H


  7. #7
    conan
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    well i MADE it working!! this is my last post from windows, so the next one will be from mozilla (muahahha) thx and see u!!!

  8. #8
    conan
    Guest

    Re:newbie needs help with NIC card!! (again this topic)

    this current post is made from mozilla thanx again, let's try to install the nvdia driver now

Similar Threads

  1. Another WTF Topic :D
    By CoolJsa14 in forum Windows - General Topics
    Replies: 8
    Last Post: 02-27-2005, 10:54 PM
  2. Newbie question-Need help installing LAN card
    By Jared5755 in forum Linux - General Topics
    Replies: 6
    Last Post: 02-05-2005, 06:36 PM
  3. *NEW TOPIC*????
    By Rastar in forum Announcements and Suggestions
    Replies: 6
    Last Post: 05-27-2003, 08:32 PM
  4. New topic shouldn't display topic summary
    By gorn in forum Announcements and Suggestions
    Replies: 1
    Last Post: 05-15-2003, 02:24 PM

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
  •