当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu下网卡驱动怎么装啊
帖子发表于 : 2005-10-19 22:00 

注册: 2005-10-19 21:46
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
刚装了ubuntu,其他驱动都有了,网卡死活装不上.从网上下的驱动需要编译.但是在终端下输入make all,出现 coun't find the comment 的提示,不知道该怎么搞了.还有不知道ubuntu下网卡怎么设置的,netconfig和netconf都不行啊.我小菜,哪位大侠教教我啊.谢谢了.(如果装不上就去买块网卡了)
下面是readme文件
IC Plus IP100 10/100 Ethernet Adapter
Linux Driver

Contents:
-----------
1. File Description
2. Driver Installation for Linux
3. Driver Parameter

1. File Description
-------------------

Filename Description
==================== =======================================================
sundance_main.c IC Plus IP100 Linux Driver Source Code.
This file is the main part of IP100 Linux Driver.

compat.h Network interface message level settings.

crc32.h Crc function for early Linux 2.4.19pre kernel inclusion

ethtool.h: Defines for Linux ethtool.

mii.h definitions for MII-compatible transceivers.

mii.c MII interface library.

makefile Make File For IP100 Linux Driver.
Using "make all" for your kernel.

readme.txt A summary of the contents for Linux Driver.
This file, which you are reading me now.



2. Driver Installation for Linux
-----------------------------------------
a. for kernel 2.4.x
a1. Redhat 7.3 (linux kernel 2.4.18)
a2. Mandrake 8.1 (kernel 2.4.8)
b. for kernel 2.6.x
c. automatically load and configure at next boot time

a.for kernel 2.4.x
-------------------
a1. Redhat 7.3 (linux kernel 2.4.18)
a1.1. install way 1:
#make all =>generate sundance.o
#cp sundance.o /lib/modules/2.4.18-3/kernel/drivers/net/
#insmod ./sundance.o
#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
xxx is your ip address, ex: 192.168.102.211
yyy is your netmask address, ex:255.255.255.0

a1.2. install way 2:
#make all =>generate sundance.o
#cp sundance.o /lib/modules/2.4.18-3/kernel/drivers/net/
#insmod./sundance.o
#setup
[network configuration] =>to setup your ip address
#ifup eth0
eth0 is your network adapter, ex: eth0, eth1...


a2. Mandrake 8.1 (kernel 2.4.8)
#make all => generate sundance.o
#cp sundance.o /lib/modules/2.4.8-26mdk/kernel/drivers/net
#insmod ./sundance.o
#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
xxx is your ip address, ex: 192.168.102.211
yyy is your netmask address, ex:255.255.255.0


b. for kernel 2.6.x
-------------------
#make all => generate sundance.ko
#insmod ./sundance.ko (or sundance.o)
#ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy
eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...
xxx is your ip address, ex: 192.168.102.211
yyy is your netmask address, ex:255.255.255.0

c. automatically load and configure at next boot time
-----------------------------------------------------
c1. cp sundance.o /lib/modules/`uname -r`/kernel/drivers/net
*note: The `uname -r` is a command. Don't replace `uname -r` with
2.4.18, 2.4.20smp, or some others. Must type `uname -r` directly.

c2. Add the following lines at /etc/modules.conf:

alias eth0 sundance
options sundance <optional parameters>

c3. Run "netconfig" or "netconf" to create configuration script

ifcfg-eth0 located at /etc/sysconfig/network-scripts or
create it manually.
[see - Configuration Script Sample]

c4. Driver will automatically load and configure at
next boot time.

c5. Configuration Script Sample
===========================
Here is a sample of a simple configuration script:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
POOTPROTO=none
BROADCAST=207.200.5.255
NETWORK=207.200.5.0
NETMASK=255.255.255.0
IPADDR=207.200.5.2


3. Driver Parameter
-------------------
If you want to change the link speed, you could use parameter after
insmod command.

insmod sundance.o <optional parameter> ; add parameter

========================================================================
example: insmod sundance.o media=100mbps_hd
or insmod sundance.o media=3
or insmod sundance.o media=1,2,3,4 ; for 4 cards or IP100
========================================================================

Parameter Description
=====================
You can install this driver without any addtional parameter. However, if
you are going to have extensive functions then it is necessary to set
extra parameter. Below is a list of the command line parameters supported
by the Linux device driver.

media=xxxxxxxxx - Specifies the media type the NIC operates at.
autosense Autosensing active media.
10mbps_hd 10Mbps half duplex.
10mbps_fd 10Mbps full duplex.
100mbps_hd 100Mbps half duplex.
100mbps_fd 100Mbps full duplex.
0 Autosensing active media.
1 10Mbps half duplex.
2 10Mbps full duplex.
3 100Mbps half duplex.
4 100Mbps full duplex.
By default, the copper devices operate at
autosense, the fiber devices operate at
100Mbps full duplex.
Note that, the fiber adapter only support
100Mbps half/full duplex types.

If wanting to change speed, this driver needed to be unloaded and reloaded with
new media parameter.

flowctrl=[0|1] - Specifies the flow control function.
0 Disable flow control.
1 Enable flow control.


附件:
IP100A Linux driver v1.19.zip [30.2 KiB]
被下载 185 次
页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2005-10-19 22:07 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
晕倒。不应该贴这个吧。应该先看系统为什么不认。贴系统log。dmesg


_________________
● 鸣学


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

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 3 位游客


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

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

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