View Single Post
  #1  
Old 11th July 2006, 06:37
MikeX MikeX is offline
Junior Member
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links