LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1251|回复: 6

联想的pcmcia网卡怎样安装?

[复制链接]
发表于 2003-2-17 22:28:28 | 显示全部楼层 |阅读模式
我的网卡是联想的pcmcia卡,linux是红帽子7.3的,系统认不到网卡,请各位帮帮忙!!!!!!!
     我是菜鸟,请帮忙!!!
发表于 2003-2-17 22:37:32 | 显示全部楼层
到硬件版看看,有相关贴子,发贴请看我的签名。
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=2603
 楼主| 发表于 2003-2-18 15:56:12 | 显示全部楼层

急死了

如何在红帽子7.3下安装pcmcia网卡驱动
发表于 2003-2-19 20:59:21 | 显示全部楼层
兄弟不要太急,这个我在linux下还没用过,所以我无法解答,希望看到的兄弟能讲讲,另:linux下所有的设备都是看成文件的,不存在所谓的驱动,linux的网络功能很强的,在8.0下可以检测新硬件的,7.3没用过,我也不知道的说。。。。。。。。。。:(
发表于 2003-2-21 09:56:32 | 显示全部楼层

pcmcia网卡驱动安装的问T,请进!

[联想笔记本,linux]

机子随机附带的驱动盘中有个关于安装pcmcia网卡的说明:
内容如下:

DGC LN200x 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/

返回结果:gcc:realtek_cb.o: no such file or dir...
         gcc: no input file

编译没有成功,哪位大哥熟悉GCC的帮忙看一下,具体这句命令该怎么写呢;
谢谢;
发表于 2003-3-12 09:30:35 | 显示全部楼层
这样来试一下,用
redhat-config-network,把卡设置成8139的,然后激活一下试试。
发表于 2003-3-14 14:45:14 | 显示全部楼层

找一个较新的内核2。4。20

编译时加入网卡的8139的支持即可!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表