LinuxSir.cn,穿越时空的Linuxsir!

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

请问怎么装上龙维En-589网卡驱动?随带的驱动盘里只有一个文本文件。

[复制链接]
发表于 2004-1-17 02:18:34 | 显示全部楼层 |阅读模式
****************************************************************************

                    Fast Ethernet Controller Provider Inc.

                       PCI 10/100 Fast Ethernet Adapter



                          Linux Driver Installation

                          ~~~~~~~~~~~~~~~~~~~~~~~~~



           Copyright (C) 2000 Fast Ethernet Controller Provider Inc.

                             All rights reserved.

****************************************************************************





A. Get source Code and produce a binary code

=============================================

Step 1 : Get the source code from the following site;



        FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/tulip.c

        FTP://cesdis.gsfc.nasa.gov/pub/l ... n-2.3/kern_compat.h



Step 2 : Build compiler environment on your Linux system.



Step 3 : Compile source code to produce a binary code (tulip.o).





B. Installation guide using Slackware 3.XX

==========================================



Step 1 : Copy tulip.o into the latest kernel's modules:

         cp tulip.o /lib/modules/2.0.XX/net/tulip.o

         Where the XX is the version number of the latest kernel.



Step 2 : Modify /etc/rc.d/rc.modules:

         Unmark the line /sbin/modprobe  tulip



Step 3 : Reboot system:

         reboot



Step 4 : when system boots, the driver will be load.



Step 5 : run netconfig to setup TCP/IP

         (run 'ifconfig' or 'netstat -i' to see if there is a

         interface 'eth0')







C. Installation guide using Redhat 5.XX

=======================================



Step 1 : Copy tulip.o into the latest kernel's modules:

         cp tulip.o /lib/modules/2.0.XX/net/tulip.o

         Where the XX is the version number of the latest kernel.



Step 2 : Update kernel's module dependencies:

         /sbin/depmod -a



Step 3 : Check /etc/conf.modules:

         alias eth0 tulip

         options tulip options=X debug=X



Step 4 : Valid media types selections for options=X are:

         0 Auto-select (default to the 10baseT link)

         1 10base2

         2 AUI

         3 100baseTx

         4 10baseT-FD

         5 100baseTx-FD

         6 100baseT4

         7 100baseFx

         8 100baseFx-FD

         9 MII 10baseT

        10 MII 10baseT-FD

        11 MII (autoselect)

        12 10baseT (no autoselect), v0.69 and later only

        13 MII 100baseTx

        14 MII 100baseTx-FD

        15 MII 100baseT4



Step 5 : Valid debug levels for debug=X are:

         1 normal output

         2 more verbose

         3 even more verbose

         4 even more verbose

         6 insanely verbose



Step 6 : Reboot system:

         /sbin/shutdown -r now



Step 7 : when system boots, the driver will be load.



Step 8 : run netconfig to setup TCP/IP

         (run 'ifconfig' or 'netstat -i' to see if there is a interface

         'eth0')



D. Installation guide using TurboLinux 6.0

==========================================

Step 1 : recompile tulip.c

         note: Add a parameter '-V2.7.2.3' after gcc.

               Please reference goturbo.

Step 2 : other installation steps is the same as Slackware 3.XX



Step 3 : Modify /etc/modules.conf

         add the line alias eth0 tulip



Step 4 : other network configuration, please use turbonetcfg.
发表于 2004-1-17 02:36:45 | 显示全部楼层
2.4.22以上内核才支持tulip芯片的网卡,这种所谓“官方驱动”,根本不负责任
还不清楚的话,装fedora就可以
 楼主| 发表于 2004-1-17 09:25:08 | 显示全部楼层

多谢版主回贴,我装的刚好就是fedora,

由于原来安装系统的时候是两块同型号的8139网卡,均能自动识别出来,后来其中一块网卡坏了,买了个新的却是所谓的龙维EN-589TX,其官方网站(www.longway.com)指出的是AN983芯片,由于原来都没装过硬件驱动,所以请版主进一步帮忙。
另,网卡带驱动盘的说明文件里面给出的那两个ftp联接的文件下载都不可用,我上那找这文件?
[root@localhost root]# uname -a
Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i 686 i686 i386 GNU/Linux
[root@localhost root]# lspci -v
00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Contro ller Hub (rev 04)
        Subsystem: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controll er Hub
        Flags: bus master, fast devsel, latency 0
        Memory at e8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [88] #09 [e104]
        Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82815 815 Chipset AGP Bridge (rev 04) (prog-if 0 0 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        Memory behind bridge: ec000000-edffffff
        Prefetchable memory behind bridge: e0000000-e7ffffff

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 05) (prog-if 00  [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: ee000000-efffffff

00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05) (prog-if 80 [Master ])
        Subsystem: Intel Corp.: Unknown device 2442
        Flags: bus master, medium devsel, latency 0
        I/O ports at f000

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05) (prog-if 0 0 [UHCI])
        Subsystem: Intel Corp. 82801BA/BAM USB (Hub #1)
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at d000

00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
        Subsystem: Intel Corp.: Unknown device 2442
        Flags: medium devsel, IRQ 11
        I/O ports at 5000

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05) (prog-if 0 0 [UHCI])
        Subsystem: Intel Corp.: Unknown device 2442
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at d800

01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) (prog-if 00 [VGA])
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
        Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 2.0

02:02.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
        Subsystem: Ensoniq Creative Sound Blaster AudioPCI128
        Flags: bus master, slow devsel, latency 32, IRQ 5
        I/O ports at c000
        Capabilities: [dc] Power Management version 1

02:03.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 mod el NC100 (rev 11)
        Subsystem: Accton Technology Corporation: Unknown device 1216
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at c400 [size=256]
        Memory at ef000000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [c0] Power Management version 2

02:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139 C+ (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at c800 [size=256]
        Memory at ef001000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at <unassigned> [disabled] [size=32K]
        Capabilities: [50] Power Management version 2

[root@localhost root]#
发表于 2004-1-17 13:57:13 | 显示全部楼层
如果大家发问前都能提供准确信息就好了

modprobe tulip试试,看看能不能用
 楼主| 发表于 2004-1-17 14:37:56 | 显示全部楼层

对版主置以120万分的感谢!!

运行了modprobe tulip后在网络设置终于可以看见网卡了。

还有个小问题,下面显示的第三个“lo”是什么东西?有影响吗?能把它删除掉吗?还有就是modprobe tulip命令是什么意思?虽然问题解决了,但还是不明白是怎么回事,看起来很复杂的问题一个命令就解决了……
[root@localhost root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:E8:22:38:B8
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4539 (4.4 Kb)  TX bytes:336 (336.0 b)
          Interrupt:11 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 00:E0:4C:91:2D:09
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:275 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:234195 (228.7 Kb)  TX bytes:65582 (64.0 Kb)
          Interrupt:10 Base address:0xf000

lo        Link encapocal Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:246 errors:0 dropped:0 overruns:0 frame:0
          TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:80682 (78.7 Kb)  TX bytes:80682 (78.7 Kb)

[root@localhost root]# netstat -i
Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0       1500   0       21      0      0      0        8      0      0      0 BMRU
eth1       1500   0      244      0      0      0      275      0      0      0 BMRU
lo        16436   0      246      0      0      0      246      0      0      0 LRU
[root@localhost root]#
发表于 2004-1-18 10:42:21 | 显示全部楼层
lo是回环地址127.0.0.1啊,不用删的
modprobe是加载内核模块命令,tulip就是你那块新网卡的驱动模块
发表于 2004-2-10 14:06:42 | 显示全部楼层
我的情况也是这样,Alpha8139D网卡,i815主板,rh9(2.4.20内核),用以上方法不行,请问应该怎么办?
急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
发表于 2004-2-10 14:17:01 | 显示全部楼层
最初由 hljqsc 发表
我的情况也是这样,Alpha8139D网卡,i815主板,rh9(2.4.20内核),用以上方法不行,请问应该怎么办?
急!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


modprobe 8139too
发表于 2004-2-10 14:22:51 | 显示全部楼层
试过了,不好使,提示io和irq错误,没有那样的设备。
发表于 2004-2-10 20:39:37 | 显示全部楼层
网卡不好搞,我的方正fe-200d用winbond w89c841f芯片,也认不出,带w841.c,不会编译成w841.o,唉。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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