1.ping命令:与Windows下基本功能一样但也有所区别1.命令格式: ping [选项] ip地址或域名主机等选项 -c 加次数 1 -d 使用Socket的SO_DEBUG功能。 2 -f 极限检测。大量且快速地送网络封包给一台机器,看它的回应。 3 -n 只输出数值。 4 -q 不显示.....
分类:
系统相关 时间:
2015-07-01 17:16:35
阅读次数:
159
VirtualBox下CentOS网络连接方式为:网络地址转换(NAT),此时,windows下无法ping通CentOS网络,需要做端口转发。1.CentOS安装ssh#rpm -qa | grep ssh // 查看是否安装SSH#yum -y install openssh-server //...
分类:
其他好文 时间:
2015-07-01 17:16:28
阅读次数:
178
1、android ping和netstat可以通过Runtime.getRuntime().exec(cmd)执行。跟windows的命令相似,可以直接参考windows下的对应的CMD命令
2、Android要想运行Telnet命令需要借助于Apache的commons-net-3.3.jar下的TelnetClient。下载地址:
http://commons.apache.or...
分类:
移动开发 时间:
2015-07-01 10:16:06
阅读次数:
141
#!/bin/bashPREFIX=192.168.1NODE=1while["$NODE"-lt"255"];doecho-en"Pinging${PREFIX}.${NODE}..."ping-c1-w1-t5${PREFIX}.${NODE}>/dev/null2>&1if["$?"-eq"0"];thenecho"OK"elseecho"Failed"filetNODE=$NODE+1done
分类:
其他好文 时间:
2015-06-30 13:10:24
阅读次数:
106
ifconfig命令:查看和配置网络状态命令ifdown 网卡设备名 :禁用该网卡设备
ifup 网卡设备名 :启用该网卡设备netstat 选项 :查询网络状态
选项: -t : 列出TCP协议端口
-u : 列出UDP协议端口
-n : 不使用域名和服务名,而使用IP地址和端口号
-l : 仅列出在监听状态网...
分类:
系统相关 时间:
2015-06-29 11:44:14
阅读次数:
228
仅针对以下系统YJWTsystemversion2.r1950BRI#pingTargetIPaddress:202.97.0.1测试的目标IPSourceIPaddress:183.61.153.34测试使用源IPtransmitinterface:gigabitethernet0/[0]:5桥的出接口nexthopMACaddress:7C:A2:3E:F1:7D:1B下一跳MAC地址vlan[0]:51使用的互联vlanrepeattime..
分类:
其他好文 时间:
2015-06-29 00:41:21
阅读次数:
175
1)打开站长工具(http://tool.chinaz.com/)的“超级PING”2)填入dl-ssl.google.com,监测点只选择“海外”3)将点击后列出的所有ip挨个ping一下,记录下能ping通的4)在hosts文件末尾添加:xxx.xxx.xxx.xxx dl-ssl.google...
分类:
其他好文 时间:
2015-06-28 13:59:27
阅读次数:
210
Project demonstration
Here is the source code of the project based on OpenCV anc C++.
Before you run this code on Linux, you should install the OpenCV library first.
#include
#include
#inclu...
分类:
其他好文 时间:
2015-06-26 22:28:04
阅读次数:
235
在linux上 Ping www.baidu.com 不通, 这说明 域名服务器 没配好。
cat /etc/resolv.conf 看一下 配置的IP 。 如何能知道 域名服务器的IP呢我发现windows电脑是可以上百度的, 说明这个有域名服务器。
在windows上找到DNS的IP
在cmd中 ping一下 cns的域名, 可能会显示出IP地址来, 把这个地址 填到/etc/reso...
分类:
系统相关 时间:
2015-06-26 13:02:11
阅读次数:
219