当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]EN-235 PCMCIA网卡驱动如何在UBUNTU Linux 7.04中安装
帖子发表于 : 2007-02-08 13:53 

注册: 2007-01-24 11:34
帖子: 4
送出感谢: 0 次
接收感谢: 0 次
我是初次学习Linux,安装过程中提示无法找到网络设备,安装完后,看到en-235中有关于Linux驱动的安装方法,可我还是看不懂!请各位大哥详细指点。附上说明文档,请各位大哥指点如何在Ubuntu 7.04中正确安装!!万分感谢!

LINUX Driver for 32-bit CardBus Ethernet PCCard
***********************************************************************************

---------
File list
---------
\
README.TXT ----- This file.
REALTEK_CB.O ----- LINUX driver binary file (compiled for RedHat 6.1, you have to
compile the source file by yourself if you are using another
distribution of Linux).
REALTEK_CB.C ----- LINUX driver source file.
CONFIG.ARI ----- Configuration file for the Ethernet card.


------------------
System requirement
------------------
LINUX kernel 2.2.x
PCMCIA package (pcmcia-cs-3.0.9 or higher) installed and start.


------------
Installation
------------
1) Copy the realtek_cb.o to the pcmcia modules folder in /lib
( it usually = /lib/modules/2.2.x/pcmcia )

2) Copy the config.ari to /etc/pcmcia.

3) Add the following to the bottom of /etc/pcmcia/config.opts:

source config.ari

4) Reboot computer, plug the Ethernet CardBus card into the PCMCIA socket before
booting LINUX.

5) During the LINUX bootig procedure, you can hear a high tone beeps, it means the
Ethernet CardBus card is initialed.

6) Change the network settings if needed.


-----------------------
Compile the source file
-----------------------
If the driver is failed with an error message -- Module version mismatch, you have
to compile the source file (realtek_cb.c) to meets your Linux system.

Please follow the procedures:

1) A completely kernel source file (including pcmcia-cs-3.x.x source file) must be
installed in your system.

2) Find the directory contains the pcmcia-cs-3.x.x source file (example, in RedHat,
the directory is /usr/src/linux/pcmcia-cs-3.x.x).

3) Copy the realtek_cb.c to /usr/src/linux/pcmcia-cs-3.x.x/clients.

4) Edit the Makefile in /usr/src/linux/pcmcia-cs-3.x.x/clients:

(a) find the lines:

ifdef CONFIG_CARDBUS
SRCS := $(SRCS) 3c575_cb.c tulip_cb.c memory_cb.c serial_cb.c
Modules := $(MODULES) 3c575_cb.o tulip_cb.o memory_cb.o serial_cb.o

modify the above lines to:

ifdef CONFIG_CARDBUS
SRCS := $(SRCS) 3c575_cb.c tulip_cb.c memory_cb.c serial_cb.c \
realtek_cb.c
Modules := $(MODULES) 3c575_cb.o tulip_cb.o memory_cb.o serial_cb.o \
realtek_cb.o

(b) find the lines:

tulip_cb.o: tulip_cb.c
$(CC) -MD -c $(XFLAGS) -DMODULE -DCARDBUS -o $@ $<
@mkdir -p .depfiles ; mv tulip_cb.d .depfiles

add the following lines under the above lines:

realtek_cb.o: realtek_cb.c
$(CC) -MD -c $(XFLAGS) -DMODULE -DCARDBUS -o $@ $<
@mkdir -p .depfiles ; mv realtek_cb.d .depfiles

(c) after finishing the above modifications, save and close this Makefile.

4) Move to the directory /usr/src/linux/pcmcia-cs-3.x.x, type the following command:

make config

answer the questions, remember answer 'Y' in 'Support 32-bit CardBus card?'.

5) After the above configuration, type the following command:

make all

don't care the warning message during compile the realtek_cb.o, it is no problem.

6) After the compiling, move to the directory /usr/src/linux/pcmcia-cs-3.x.x/clients,
copy the realtek_cb.o to the pcmcia modules folder in /lib
( it usually = /lib/modules/2.2.x/pcmcia )

7) A new driver named realtek_cb.o is presented in /usr/src/linux/pcmcia-cs-3.x.x/clients, copy it to the pcmcia modules folder in /lib
( it usually = /lib/modules/2.2.x/pcmcia ).

Follow the step 2 to step 6 in 'Installation' chapter for the next.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译