Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
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...

**  VIA Networking Velocity Family Gigabit Ethernet Adapter
**  Linux Driver
**  v1.21  Jul, 2005
    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
        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.

Reply With Quote
Sponsored Links
Old 12th July 2006, 13:46
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

What's the output of
ls -l /temp/velocityget
uname -a
What's the output of
ls -la /lib/modules
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Debian Sarge from an USB flash. bullshit Installation/Configuration 3 1st April 2006 16:26
error while installing..... securitywonks Installation/Configuration 1 23rd December 2005 13:07

All times are GMT +2. The time now is 17:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.