LinuxSir.cn,穿越时空的Linuxsir!

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

rh8下,网卡TP-LINK TF-3239V/TF-3239D 8139

[复制链接]
发表于 2003-5-9 20:57:07 | 显示全部楼层 |阅读模式
我的网卡是TP-LINK TF-3239V/TF-3239D

其在LINUX下的驱动安装指南见附件,问题出在第二步。
(这是README.TXT中的步骤)
"make" the driver
     
    # make  
   or
    #make clean; make
   
   Hopefully, the make utility will be in your path and will run. Also hopefully
gcc, ld, and any other utilities needed will be in your path.

If and when the make completes, there should be an 8139too.o file in the same
directory.

我在终端下,使用
# make  
   or
    #make clean; make
出现如下提示:
# make
make: *** no targets specified and no makefile found. Stop
#make clean; make
make: *** no rule to make target 'clean'.Stop
make: *** no targets specified and no makefile found.Stop


请问我的问题出在哪?
因为,根据其安装指南提示,如果这一步不解决,就无法继续下去。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2003-5-9 20:58:53 | 显示全部楼层

README.TXT文件如下

Document date: 11/8/2002


*******************************************************************************
**      Compiling and Installing the driver                                  **
*******************************************************************************

To compile and install the driver, follow the procedures:

1)login as user or the root.
  #mount /mnt/floppy
  #cd /mnt/floppy/linux2.4.x
  #cp * /root  or #mcopy * /root
  #cd /root/kernel-2.4.18
  
the kernel-2.4.18 folder includes following files:
     8139too.c
     Makefile
     readme.txt      
  
2) "make" the driver
     
    # make  
   or
    #make clean; make
   
   Hopefully, the make utility will be in your path and will run. Also hopefully
gcc, ld, and any other utilities needed will be in your path.

If and when the make completes, there should be an 8139too.o file in the same
directory.

3) Install the driver
  Once you have the driver compiled, you have to switch yourself to user "root".
At the same directory and command prompt, type:
   
    #insmod 8139too.o

This should install the driver module into the kernel. Dependent on what other
ethernet NICs are installed, the NIC will be assigned the desigation eth0, eth1, eth2, etc. Using this designation, you can open the interface using
the "ifconfig" command (man ifconfig), then you are on the way. For example,

    #ifconfig eth0 222.88.88.2


4) Special Notice  
  1.The default include files of the linux gcc compiler is typically under
the  /usr/include directory. However,since the driver is not a application but
a kernel module, it is better to have the kernel source installed on your
system to compile the driver, which is typically
/usr/src/linux-2.4.18-3/include, where the Makefile directs the include path.
This is especially true under Red Hat 7.0,becuase its kernel is version 2.4.2.
if you are using Red Hat 8.0, you have to change the include file as
/usr/src/linux-2.4/include in Makefile,and you have to make sure the /usr/src/linux exists with kernel source codes installed there.
发表于 2003-5-9 21:30:50 | 显示全部楼层
不要急,先说一下系统,版本,内核以及网卡的芯片组。
请看一下这个地址的第一页
www.linuxsir.cn
#lspci
#uname -a
把结果帖上来,多谢。
 楼主| 发表于 2003-5-10 12:32:33 | 显示全部楼层

好,我已把你要求的贴出来了

RedHat Linux8.0
kernel 2.4.18
kde 3.0.3

网卡芯片组是:
TP-LINK
RTL8139D
2B210S2
248E TAIWAN
发表于 2003-5-10 12:50:16 | 显示全部楼层
RedHat Linux8.0
kernel 2.4.18
kde 3.0.3

网卡芯片组是:
TP-LINK
RTL8139D
2B210S2
248E TAIWAN


这样不行,要在linux系统中运行下面的命令
#lspci
#uname -a
把结果发上来,再辛苦一下。多谢。
 楼主| 发表于 2003-5-11 11:47:52 | 显示全部楼层

不好意思,这次找到了

[root@localhost root]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 16)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139 C+ (rev 10)
00:0a.0 Communication controller: Conexant HSF 56k Data/Fax/Voice/Spkp (w/Handset) Modem (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon VE QY
[root@localhost root]# uname -a
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
[root@localhost root]#

谢谢你的帮助啊!!我等你的回复。
发表于 2003-5-11 12:06:36 | 显示全部楼层
这个网卡是8139的,已经支持了。设置一下就能用了。
#redhat-config-network

在添加硬件处,添加网卡RealTek RTL-8139, SMC EZ Card,然后再来设置IP,DNS等。
发表于 2003-5-11 12:55:30 | 显示全部楼层
我的机子用的就是这个网卡。
RH8.0已经支持了。
 楼主| 发表于 2003-5-15 20:41:17 | 显示全部楼层

还是不行啊

linux下,网卡已被识别,但无法上网(通过局域网)。
我有两点疑问:
1、我并没有完全按照网卡驱动中的readme.txt文件来完整地配置网卡。(麻烦大家参照我上面的问题,帮帮忙)
2、在linux下,如果不手动添加IP,网关,路由,掩码等,可否通过局域网上网。

谢谢大家了!!
发表于 2003-11-3 03:41:27 | 显示全部楼层
我刚接触linux,装的redhat9,请问怎么在桌面下进入命令提示符下运行以上命令,
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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