Find the answer to your Linux question:
Results 1 to 3 of 3
After having numerous problems getting my Linksys eg1032v3 cards to work in Mandrake 10.0 I decided to just go with a temporary solution untill I get my Intel cards in... ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    1

    Installing and Compiling a driver...


    After having numerous problems getting my Linksys eg1032v3 cards to work in Mandrake 10.0 I decided to just go with a temporary solution untill I get my Intel cards in...


    Code:
    **
    **
    **  VIA Networking Velocity Family Gigabit Ethernet Adapter
    **
    **  Linux Driver
    **
    **  v1.21  Jul, 2005
    **
    **
    Installation
    ============
        Please enter the following commands at the UNIX prompt. Remember, UNIX is
        case sensitive.
    
        1) Create a temporary directory:
            mkdir /temp
    
        2) Change to the temporary directory:
            cd /temp
    
        3) Copy driver (.tgz file) from DOS disk, (mcopy below is one tool in
           mtools, if you didn't install mtools, you can type
           'mount -t msdos /dev/fd0 /mnt' and use 'cp /mnt/velocityget.tgz /temp'
           command to copy the driver to the temporary directory):
            mcopy a:velocityget.tgz .
    
        4) untar the archive file:
    
            tar xzvf velocityget.tgz
            cd velocityget
    
        5) Compile the driver source files and it will generate object file, and
           copy it to correct driver installation path (The installation directory
           is different in different kernel versions. In 2.4.x/2.6.x kernel, the path
           is /lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
           the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
           above) means the kernel version of your Linux distribution. If you don't
           know your kernel version , please run 'uname -r' command in command
           line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
            make install
    
        6) Check configuration file (/etc/modules.conf or /etc/conf.modules or
           /etc/modprobe.conf, it depends on your Linux distribution) for loading
           kernel modules. Make sure the first line below is appeared in the
           configuration file, where # is the interface number (eg: alias eth0
           velocityfet). If you need to set the driver options, below second line
           is an example to set the NIC to 100Mbps fullduplex mode (remember to
           unmark the line if it is put in the configuration file).
            alias eth# velocityget
    
        7) Reboot now:
            shutdown -r now
    
        8) Install your driver module (If the driver module is in the wrong place,
           an error message will appear, and say that can't find the driver
           module):
            insmod velocityget.o
    
        9) Use ifconfig command to assign the IP address, where # is network
           interface number:
            ifconfig eth# <IP>
    
        10) Check the interface works:
             ping <remote_host_IP>
    OK... so I'm a complete noob at linux... I have no idea how to do steps 5, 6, & 8... Could anyone walk me through it?

    I'm using Mandrake 10.0.

    Thank you.

    -Mike

  2. #2
    Just Joined! letmeknowlinux's Avatar
    Join Date
    Mar 2006
    Posts
    82
    5) You just need to type `make install` at the prompt, that will do the compilation of all the necessary files for you. If you have problems with this then please run the `uname -r` in your machine and post the problem you encounter at this phase.

    6) If you are lucky enough and got through the phase 5 successfully, then you check for one of these files conf.modules, modules.conf, modprobe.conf in your /etc directory. Only of those files will be in your /etc directory and then find for the entry "alias eth0 velocityget" in that file. If its present you have successfully compiled your driver.

    7) You know this, for installing they are asking you to reboot the machine.

    After starting up execute the command `insmod velocityget.o`

    Good luck,

  3. #3
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    Before you type 'make install', don't forget to run ./configure (if it's there) and 'make'. Make install does no compilation; that's what make does. Make install, well, installs.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

Posting Permissions

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