免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4257 | 回复: 11
打印 上一主题 下一主题

在solaris8中的Realtek RTl8139网卡配置问题------- [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-03-08 18:34 |只看该作者 |倒序浏览
我照着如下的方法做了
--------------------------------------------------------------------------
1、从http://www.realtek.com.tw/下载8139网卡for solaris x86的驱动。下载的文件为一个zip文件,在win下把这个文件解压到软盘上。注意解压后rtls文件名必须为小写。


2、在solaris下以dos格式mount软盘
    mount -F pcfs /dev/fd0a /mnt
    (如果mount不成功可先执行eject)
    把安装文件copy到一个临时目录


3、执行./Install


4、建新文件 /reconfigure
    touch /reconfigure


5、配置网络参数
(1)建新文件/etc/hostname.rtls0,写上主机名

(2)新建或修改/etc/netmasks文件,写上子网掩码
    例如:
    192.168.0.5 255.255.255.0

(3)修改/etc/hosts文件,写上与主机名对应的IP地址

(4)新建文件/etc/defaultrouter,输入网关IP地址
    例如:
    192.168.0.1

(5)新建文件/etc/resolv.conf,写上DNS的IP地址
    格式:
    nameserver xxx.xxx.xxx.xxx

(6)修改/etc/nsswitch.conf文件,将包含“hosts:”的一行改为:
    hosts: files dns

注意:不能用
ifconfig rtls0 192.168.0.5 netmask 255.255.255.0 up
这个方法配置网络参数。这样配置的参数是临时的,reboot后就失效。


6、reboot

------------------------------------------------------------
可是呢还是不行,出现下面的情况:
# ping 127.0.0.1
127.0.0.1 is alive
# ping -s 127.0.0.1
PING 127.0.0.1: 56 data bytes
64 bytes from localhost (127.0.0.1): icmp_seq=0. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=1. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=2. time=0. ms

^C
----127.0.0.1 PING Statistics----
22 packets transmitted, 22 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0
# ping 192.168.2.1
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.2.1
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.2.1

no answer from 192.168.2.1
----------------------哪位大虾能告诉我哪里出问题了?谢谢

论坛徽章:
0
2 [报告]
发表于 2003-03-08 18:40 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

我没看出来有什么问题呀
你为什么要ping 192.168.2.1呢?
正不正常是要看ping 192.168.0.1通不通

论坛徽章:
0
3 [报告]
发表于 2003-03-08 21:15 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

网卡驱动成功了? PING自己的IP看看
如果不成功 看精华 第3页关于8139的贴

论坛徽章:
0
4 [报告]
发表于 2003-03-09 01:38 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

192.168.2.1是我设的dns的地址。ping 我自己设的IP也ping 不通呀,为什么呢?

论坛徽章:
0
5 [报告]
发表于 2003-03-09 05:59 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

[quote]原帖由 \"flywalker\"]192.168.2.1是我设的dns的地址。ping 我自己设的IP也ping 不通呀,为什么呢?[/quote 发表:


好像dns server的問題嘢!!!  Check dns server??

论坛徽章:
0
6 [报告]
发表于 2003-03-31 08:40 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

我也遇到同样问题呀。。谁能救我。。

论坛徽章:
0
7 [报告]
发表于 2003-03-31 09:08 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

ifconfig -a 显示什么

论坛徽章:
0
8 [报告]
发表于 2003-03-31 09:09 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>; mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rtls0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4>; mtu 1500 index 2
inet 0.0.0.0 netmask 0
ether 0:e0:4c:f7:e8:fd

论坛徽章:
0
9 [报告]
发表于 2003-04-02 05:29 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

给位ANGEL们:
请问,若有如下显示,是否表明我的网卡已经驱动了呢???????

# ping 127.0.0.1
127.0.0.1 is alive
# ping -s 127.0.0.1
PING 127.0.0.1: 56 data bytes
64 bytes from localhost (127.0.0.1): icmp_seq=0. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=1. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=2. time=0. ms


或者说怎么样才能知道自己的网卡已经驱动了呢?

论坛徽章:
0
10 [报告]
发表于 2003-04-29 16:07 |只看该作者

在solaris8中的Realtek RTl8139网卡配置问题-------

rtls0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4>; mtu 1500 index 2
inet 0.0.0.0 netmask 0
ether 0:e0:4c:f7:e8:fd


inet 0.0.0.0 netmask 0
说明网卡没驱动上
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP