免费注册 查看新帖 |

Chinaunix

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

Solaris 没有ping 命令吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-28 14:09 |只看该作者 |倒序浏览
Solaris 没有ping 命令吗? 我怎么察看自己的 ip 和怎么配置上网?\r\n我的 ip 是局域网 192.168.1.100

论坛徽章:
0
2 [报告]
发表于 2005-07-28 15:55 |只看该作者

Solaris 没有ping 命令吗?

#ifconfig -a \r\nlo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>; mtu 8232 index 1\r\n        inet 127.0.0.1 netmask ff000000 \r\nce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>; mtu 1500 index 2\r\n        inet 192.168.14.9 netmask ffffff00 broadcast 192.168.14.255\r\n        ether 0:3:ba:ae:3f:ef \r\n\r\n添加路由\r\n#route add net default gateway

论坛徽章:
0
3 [报告]
发表于 2005-07-28 17:49 |只看该作者

Solaris 没有ping 命令吗?

要配置上网 还要修改 \r\n/etc/nsswitch.conf\r\n/etc/defaultrouter\r\n/etc/resolv.conf\r\n3个文件

论坛徽章:
0
4 [报告]
发表于 2005-07-28 21:00 |只看该作者

Solaris 没有ping 命令吗?

ping必须用root才能运行,ping -s试一下

论坛徽章:
0
5 [报告]
发表于 2005-07-28 21:10 |只看该作者

Solaris 没有ping 命令吗?

[quote]原帖由 \"liuhao75926\"]ping必须用root才能运行,ping -s试一下[/quote 发表:\n\r\nobjection, no ping is because of no Path ,env look at your Path , or use full path as the command given by upstair

论坛徽章:
0
6 [报告]
发表于 2005-07-29 11:40 |只看该作者

Solaris 没有ping 命令吗?

[quote]原帖由 \"liuhao75926\"]ping必须用root才能运行,ping -s试一下[/quote 发表:\n\r\n\r\n\r\n\r\nwrong

论坛徽章:
0
7 [报告]
发表于 2005-07-29 11:50 |只看该作者

Solaris 没有ping 命令吗?

晕,还wrong\r\nping -s 后当然要跟ip地址 \r\n就象ping 后跟ip地址一样

论坛徽章:
0
8 [报告]
发表于 2005-07-29 11:53 |只看该作者

Solaris 没有ping 命令吗?

objection, no ping is because of no Path ,env look at your Path , or use full path as the command given by upstair\r\n\r\n你的path 有问题,env或echo $PATH看一下path中有无/usr/sbin

论坛徽章:
0
9 [报告]
发表于 2005-07-29 11:57 |只看该作者

Solaris 没有ping 命令吗?

非root用户也可以使用.\r\n\r\n可以用全路径/usr/sbin/ping执行.

论坛徽章:
0
10 [报告]
发表于 2005-07-29 18:30 |只看该作者

Solaris 没有ping 命令吗?

原帖由 \"liuhao75926\" 发表:\n晕,还wrong\r\nping -s 后当然要跟ip地址 \r\n就象ping 后跟ip地址一样
\r\n\r\n你明白我的意思吗?\r\n不明白就不要乱说话了。\r\n多谢合作!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP