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...
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?
** 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
1) Create a temporary directory:
2) Change to the temporary directory:
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
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.) :
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
9) Use ifconfig command to assign the IP address, where # is network
ifconfig eth# <IP>
10) Check the interface works:
I'm using Mandrake 10.0. :)