免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1158 | 回复: 6
打印 上一主题 下一主题

Realtek CardBus Ethernet Card Installation on Linux [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-05-06 10:05 |只看该作者 |倒序浏览
Realtek CardBus Ethernet Card Installation on Linux

1. Compile the source code :
->;Copy the source code rtl8139.c (ver 1.08 above) to a directory
   and execute "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
   -O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/"
   The directory "pcmcia-cs-3.0.9" stands for the card service version you
   use. Please change it to the version on your system in order to include
   proper .h file. The final file is realtek_cb.o

2. Copy driver :

->;Copy the file "realtek_cb.o" to "/lib/modules/2.2.14-5.0/pcmcia"

3. Edit config:
->;Add 5 lines to the file "/etc/pcmcia/config"
   
   #
   # Device driver definitions
   #
  
   device "realtek_cb"                                         (==>;Add 1/5)
     class "network" module "cb_enabler", "realtek_cb"   (==>;Add 2/5)


   :
   :

   #
   # CardBus Cards
   #

   card "Realtek CardBus Ethernet Card"                        (==>;Add 3/5)
     manfid 0x0000, 0x024C                                (==>;Add 4/5)
     bind "realtek_cb"                                        (==>;Add 5/5)

   
   The values 0x0000, 0x024C are JEDEC ID and can be read by typing
   "cardctl ident" on console with one card on socket.
                  

4. Edit linuxconf
->;Type "linuxconf" and choose "Config"-->;"Networking"-->;"Client tasks"-->;
   "Basic host information". Select an adapter, enable it, and type "realtek_cb"
   on "Kernel module" and "eth0" (or eth1, eth2) on "Net device". Click on
   "Accept" button and "Act/change" button.


5. Restart the computer.

6. More information about kernel compile: http://metalab.unc.edu/mdw/HOWTO/Kernel-HOWTO.html
   More information about install: man pcmcia
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==   
"gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
   -O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/"               通不过,请高手指点

论坛徽章:
0
2 [报告]
发表于 2005-05-06 11:17 |只看该作者

Realtek CardBus Ethernet Card Installation on Linux

我下载的reltek8139的驱动只要三个文件
makefile,8139too,readme
没有rtl8139.c
从那里下的?

论坛徽章:
0
3 [报告]
发表于 2005-05-07 21:55 |只看该作者

Realtek CardBus Ethernet Card Installation on Linux

不是下的,从哪可以下啊

我的是买的,带着一张驱动盘,里面有linux的驱动和安装说明

结果按安装说明操作时失败

论坛徽章:
0
4 [报告]
发表于 2005-05-07 22:02 |只看该作者

Realtek CardBus Ethernet Card Installation on Linux

我的信箱是jiaowenx@163.com
请教驱动从哪里可以下载
谢谢

论坛徽章:
0
5 [报告]
发表于 2005-05-07 22:11 |只看该作者

Realtek CardBus Ethernet Card Installation on Linux

8139too.c
Makefile
readme
=====================
找到了,就是这三个文件,你的8139too文件就是8139too.c。因为你没看到后缀

论坛徽章:
0
6 [报告]
发表于 2005-05-09 14:10 |只看该作者

Realtek CardBus Ethernet Card Installation on Linux

怎么安装,我make file 生成8139too.o了,可在sbindepmod -a时提示失败啊,安装不成功

论坛徽章:
0
7 [报告]
发表于 2006-04-15 22:44 |只看该作者
你的这个问题解决了没有?
我也碰到这个问题了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP