- 论坛徽章:
- 1
|
[求助]网卡的安装
参考文章:
- 我们手里拿到一块网卡,首先应知道它是什么型号的,看一下是否带有为OpenServer5.0.x的驱动程序.如果没有可以找销售商咨询一下,或上网查询一下.当取得了网卡的驱动后(网卡驱动一般是以Media Images的形式发布的).
- 以rtl8139为例.(设置简单,百兆网卡,价格便宜)
- 将rtl8139的Media Images文件拷贝到/下并改名为VOL.000.000
- 用custom安装网卡驱动程序
- 进入安装,然后在菜单中依次选择:
- software->;install new...->;From scosysv(本地主机)->;media Images
- 选择/目录回车,系统自动安装。
- 网卡驱动安装后进行网络配置
- #netconfig
- 出现类似下边画面.
- +----------------------- Network Configuration Manager -----------------------+
- |+---------------------------------------------------------------------------+|
- || Hardware Protocol Help ||
- |+---------------------------------------------------------------------------+|
- |Current networking configuration: |
- |+---------------------------------------------------------------------------+|
- ||*HW SCO TCP/IP Loopback driver ||
- || SCO TCP/IP ||
- || - SCO NFS Runtime System ||
- || ||
- || ||
- || ||
- || ||
- || ||
- || ||
- || ||
- || ||
- || ||
- || ||
- || ||
- |+---------------------------------------------------------------------------+|
- |----------------------------------------------------------------------------+|
- |Add, Remove, or Modify a network adapter or serial link |
- +-----------------------------------------------------------------------------+
-
- 在netconfig程序中选择: Hardware->;add new Lan adapter(硬件->;增加局域网网卡)
- 显示如下
- +----------------------------= Add new LAN adapter --------------------------+
- |Select network adapter to be added: |
- |+---------------------------------------------------------------------------+
- || HP J2970A 10TP/TL PCI Adapter |
- || HP J2973A 10TP PCI Adapter |
- || IBM Auto 16/4 Token-Ring Network ISA-16 (Shared RAM) |
- || IBM Auto LANStreamer PCI Adapter Driver v2.5.0e |
- || IBM LAN Adapter for Ethernet (NE2000 Compatible) |
- || IBM PCI Ethernet Adapter |
- || IBM PCI Token-Ring Adapter |
- || IBM Token-Ring Network ISA Series (Shared RAM) |
- || Intel EtherExpress 16 ISA *
- || Intel EtherExpress PRO/10 LAN Adapter *
- || Intel EtherExpress PRO/100 LAN Adapter *
- || Intel EtherExpress PRO/100B / PRO/100+ LAN Adapter *
- || NSC NE2000plus InfoMover *
- || Novell NE2000 |
- || Novell NE2100 Compatible |
- ||* RTL8139 PCI Fast Ethernet Adapter |
- |+---------------------------------------------------------------------------+
- +----------------------------------------------------------------------------+
- |[ Continue ] [ Cancel ] [ Help ]|
- +----------------------------------------------------------------------------+
- +----------------------------------------------------------------------------+
-
- 在这一步选择RTL8139 PCI Fast Ethernet Adapter项
- 然后依次选择: ->;hardware->;modify hardware configuration进行配置。
- 显示如下.
- +--------------- Network Driver Configuration ---------------++
- | ||
- |Enter the configuration of RTL8139 PCI Fast Ethernet Adapter||
- | ||
- |Set speed and duplex mode:: | HardwareDefault______|v ||
- | ||
- | '*' - indicates conflict with other hardware ||
- |------------------------------------------------------------+|
- |[ OK ] [ Cancel ] [ Help ]||
- +------------------------------------------------------------++
- +------------------------------------------------------------++
- 选则OK取默认设置就可. 出现选择网络协议的画面.
- +-----------------------------MM Add new LAN adaer ----------------------------+
- || Select network adapter to be added: --------------------------------|
- ++----------------------------------------------------------------------------|
- ||-----------------------------MM Add protocol --------------------------------|
- |Select one networking product to be added to |
- |RTL8139 PCI Fast Ethernet Adapter: |
- ||---------------------------------------------------------------------------++
- || HW RTL8139 PCI Fast Ethernet Adapter ||
- ||* - SCO IPX/SPX ||
- || - SCO TCP/IP ||
- || ||
- || ||
- ++---------------------------------------------------------------------------+|
- |----------------------------------------------------------------------------+|
- |[ Add ] [ Cancel ] [ Help ]|
- +-----------------------------------------------------------------------------+
- +-----------------------------------------------------------------------------+
- | * RTL8139 PCI Fast Ethernet Adapter |
- +-----------------------------------------------------------------------------+
- +-----------------------------------------------------------------------------+
- |[ Continue ] [ Cancel ] [ Help ]
- +------------------------------------------------------------------------------
- +------------------------------------------------------------------------------
-
- 选取- SCO TCP/IP 并增加,下边出现SCO TCP/IP的配置画面.
- +--------------- SCO TCP/IP Configuration ----------------++
- | ||
- | ||
- | Local Host Name: |scosysv_____________| [ Advanced ]||
- | IP Address: |____________________| Options... ||
- | Netmask: |____________________| ||
- |Broadcast Address: |____________________| ||
- | Domain Name: |____________________| ||
- | TCP connections: |1024________________| ||
- | Pseudo ttys: |64__________________| ||
- | ||
- |---------------------------------------------------------||
- |[ OK ] [ Cancel ] [ Help ]||
- +---------------------------------------------------------++
- +----------------------------------------------------------+
- 填入TCP/IP的信息.
- Local Host Name: hly (本地主机名)
- IP Address: 192.168.0.33 (IP地址)(注一般局域网的IP网段为192.168.0)
- Netmask: 255.255.255.0 (子网掩码,C类网为255.255.255.0)
- Broadcast Address:192.168.0.255 (广播地址)
- Domain Name: (域名,自行给定,也可不输)
- TCP connections:1024 (TCP连接数目,默认设置就可)
- Pseudo ttys:64 (伪终端数目)
- 配置结束重链内核.重起生效.
- 在系统起动时可看到网卡信息.
- ethernet 0xe400-0xe41f 11 - type=2, addr=00:e0:4c:e||e6:7c
- 接下来就可以用ping 命令测试网卡是否正确安装.
- ping(发送网间控制报文协议请求包到网络主机)
- # ping 192.168.0.33(或ping hly)
- 显示
- PING 192.168.0.33 (192.168.0.33): 56 data bytes
- 64 bytes from hly (192.168.0.33): icmp_seq=0 ttl=64 time=0 ms
- 64 bytes from hly (192.168.0.33): icmp_seq=1 ttl=64 time=0 ms
- 64 bytes from hly (192.168.0.33): icmp_seq=2 ttl=64 time=0 ms
- 64 bytes from hly (192.168.0.33): icmp_seq=3 ttl=64 time=0 ms
- 64 bytes from hly (192.168.0.33): icmp_seq=4 ttl=64 time=0 ms
- 64 bytes from hly (192.168.0.33): icmp_seq=5 ttl=64 time=0 ms
- *
- --- 192.168.0.33 ping statistics ---
- 6 packets transmitted, 6 packets received, 0% packet loss
- round-trip min/avg/max = 0/0/0 ms
- 按del终止ping命令,ping汇报测试情况,上边说明6个测试包传输完毕.6个包接收,无包丢失.
- round-trip min/avg/max = 0/0/0 ms 为测试包的收发的最小/平均/最大速度(以ms为单位)
- 一切都正常,就可以在配置一台计算机,进行网络应用了.
复制代码 [/code] |
|