当前位置:  首页  >  服务器技术  >  Linux/unix  >  Linux入门

linux下如何安?vt6102?卡??樱?红联Linux系统门户

linux下如何安?vt6102?卡??樱?-Linux通用技术-Linux技术与应用信息,下面是详情阅读。
这是下载的驱动中的说明文件。
VIA PCI 10/100Mb Fast Ethernet Adapter
**
** Linux Driver
**
** v3.28 Nov. 2001
**
**


Introduction:
=============

The instructions listed below are for linux driver installation. You must
compile the source code to generate linuxfet.o and use insmod command to
insert linuxfet.o as module.


Contents of the Subdirectory:
=============================

linux.txt This file.
linuxfet.tar Tar file includes following files
Makefile Makefile for generating driver object file
linuxfet.h The linux driver header file
linuxfet.c The linux driver source code file


Kernel Supported
================
This driver support linux kernel version 2.2.x and 2.4.x (2.4.1-2.4.6) now.

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

2) Copy driver (linuxfet.tar) 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/linuxfet.tar /temp'
command to copy the driver to the temporary directory):
mcopy a:linuxfet.tar . 在这里没什么问题

3) untar the archive file:
tar xvf linuxfet.tar 在这里没什么问题

4) Compile the driver source files and it will generate linuxfet.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.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 问题出在这 请问我要如何编译驱动文件 使其产生一下linuxfet.o ? 请帮忙解决这一步要要怎样做? 我在tar xvf linuxfet.tar 得到了 Makefile, linuxfet.h , linuxfet.c 这三个文件。

[ 本帖最后由 zhangcobi 于 2008-2-28 09:49 编辑 ]
吐了个 "CAO" !
扫码关注 PHP1 官方微信号
PHP1.CN | 中国最专业的PHP中文社区 | 凯发国际娱乐 | 凯发国际娱乐下载 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | PHP问答
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有