(1)ping www.baidu.com [ping: unknown host www.baidu.com]---(2)xshell 连接虚拟机问题---(3) 网卡重启失败
来源:互联网 发布:宽带拨号软件下载 编辑:程序博客网 时间:2024/05/17 03:17
================================================[root@cdh1 hadoop]# ping www.baidu.comping: unknown host www.baidu.com[root@cdh1 hadoop]# ping 192.138.3.103PING 192.138.3.103 (192.138.3.103) 56(84) bytes of data.^C--- 192.138.3.103 ping statistics ---5 packets transmitted, 0 received, 100% packet loss, time 4264ms[root@cdh1 hadoop]# ping 192.168.3.103PING 192.168.3.103 (192.168.3.103) 56(84) bytes of data.64 bytes from 192.168.3.103: icmp_seq=1 ttl=128 time=1.81 ms64 bytes from 192.168.3.103: icmp_seq=2 ttl=128 time=10.4 ms64 bytes from 192.168.3.103: icmp_seq=3 ttl=128 time=0.329 ms64 bytes from 192.168.3.103: icmp_seq=4 ttl=128 time=0.741 ms64 bytes from 192.168.3.103: icmp_seq=5 ttl=128 time=0.588 ms64 bytes from 192.168.3.103: icmp_seq=6 ttl=128 time=0.284 ms64 bytes from 192.168.3.103: icmp_seq=7 ttl=128 time=0.607 ms64 bytes from 192.168.3.103: icmp_seq=8 ttl=128 time=0.583 ms^C--- 192.168.3.103 ping statistics ---8 packets transmitted, 8 received, 0% packet loss, time 7279msrtt min/avg/max/mdev = 0.284/1.923/10.447/3.252 ms[root@cdh1 hadoop]# ifconfigeth0 Link encap:Ethernet HWaddr 00:0C:29:A8:1F:63 inet addr:192.168.3.110 Bcast:192.168.3.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fea8:1f63/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2393 errors:0 dropped:0 overruns:0 frame:0 TX packets:980 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:203735 (198.9 KiB) TX bytes:118517 (115.7 KiB) Interrupt:19 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:5252 errors:0 dropped:0 overruns:0 frame:0 TX packets:5252 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:627383 (612.6 KiB) TX bytes:627383 (612.6 KiB)virbr0 Link encap:Ethernet HWaddr 16:49:39:3D:E6:49 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:4189 (4.0 KiB)[root@cdh1 hadoop]# cat /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"HWADDR="00:0C:29:A8:1F:63"NM_CONTROLLED="yes"ONBOOT="yes"BOOTPROTO=staticIPADDR=192.168.3.110NETMASK=255.255.255.0GATEWAY=192.168.3.1[root@cdh1 hadoop]# cat /etc/resolv.conf # Generated by NetworkManager# No nameservers found; try putting DNS servers into your# ifcfg files in /etc/sysconfig/network-scripts like so:## DNS1=xxx.xxx.xxx.xxx# DNS2=xxx.xxx.xxx.xxx# DOMAIN=lab.foo.com bar.foo.com[root@cdh1 hadoop]# vim /etc/resolv.conf [root@cdh1 hadoop]# cat /etc/resolv.conf # Generated by NetworkManager# No nameservers found; try putting DNS servers into your# ifcfg files in /etc/sysconfig/network-scripts like so:## DNS1=xxx.xxx.xxx.xxx# DNS2=xxx.xxx.xxx.xxx# DOMAIN=lab.foo.com bar.foo.comnameserver 8.8.8.8nameserver 114.114.114.114[root@cdh1 hadoop]# cat /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"HWADDR="00:0C:29:A8:1F:63"NM_CONTROLLED="yes"ONBOOT="yes"BOOTPROTO=staticIPADDR=192.168.3.110NETMASK=255.255.255.0GATEWAY=192.168.3.1[root@cdh1 hadoop]# vim /etc/sysconfig/network-scripts/ifcfg-eth0[root@cdh1 hadoop]# cat /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"HWADDR="00:0C:29:A8:1F:63"NM_CONTROLLED="yes"ONBOOT="yes"BOOTPROTO=staticIPADDR=192.168.3.110NETMASK=255.255.255.0GATEWAY=192.168.3.1DNS2=114.114.114.114DNS1=8.8.8.8[root@cdh1 hadoop]# ping www.baidu.comPING www.a.shifen.com (119.75.218.70) 56(84) bytes of data.64 bytes from 119.75.218.70: icmp_seq=1 ttl=56 time=7.79 ms64 bytes from 119.75.218.70: icmp_seq=2 ttl=56 time=8.07 ms64 bytes from 119.75.218.70: icmp_seq=3 ttl=56 time=7.30 ms64 bytes from 119.75.218.70: icmp_seq=4 ttl=56 time=9.77 ms64 bytes from 119.75.218.70: icmp_seq=5 ttl=56 time=8.49 ms64 bytes from 119.75.218.70: icmp_seq=6 ttl=56 time=14.9 ms64 bytes from 119.75.218.70: icmp_seq=7 ttl=56 time=9.98 ms64 bytes from 119.75.218.70: icmp_seq=8 ttl=56 time=9.09 ms64 bytes from 119.75.218.70: icmp_seq=9 ttl=56 time=11.0 ms64 bytes from 119.75.218.70: icmp_seq=10 ttl=56 time=28.3 ms64 bytes from 119.75.218.70: icmp_seq=11 ttl=56 time=5.94 ms64 bytes from 119.75.218.70: icmp_seq=12 ttl=56 time=5.62 ms^C--- www.a.shifen.com ping statistics ---12 packets transmitted, 12 received, 0% packet loss, time 21194msrtt min/avg/max/mdev = 5.621/10.534/28.306/5.859 ms[root@cdh1 hadoop]# ================================================
SSH error:a public key file has not been specified by this sessionxshell 连接失败 /etc/ssh/sshd_config的PasswordAuthentication项为yes,重启服务(service sshd restart)
0 0
- (1)ping www.baidu.com [ping: unknown host www.baidu.com]---(2)xshell 连接虚拟机问题---(3) 网卡重启失败
- "ping: unknown host www.baidu.com" 解决方法
- ping: unknown host www.baidu.com
- ping: unknown host www.baidu.com解决
- CentOS7 ping: unknown host www.baidu.com
- ping: unknown host www.baidu.com
- CentOS7 ping: unknown host www.baidu.com
- linux网络设置问题 ping: unknown host www.baidu.com
- linux ping: unknown host www.baidu.com问题
- 解决(Linux)Fedora10下ping: unknown host www.baidu.com
- 解决linux ping: unknown host www.baidu.com
- 解决linux ping: unknown host www.baidu.com
- 解决ubuntu server ping: unknown host www.baidu.com
- linux下 ping: unknown host www.baidu.com” 解决方法
- 解决linux ping: unknown host www.baidu.com
- 解决linux ping: unknown host www.baidu.com
- ubuntu server ping www.baidu.com:unknown host
- LINUX 解决linux ping: unknown host www.baidu.com
- 日历一个小空间
- python3常用的系统标准库
- 如何在Apache 上配置 WebDAV 服务器
- 求100—999之间的水仙花数
- Java Notes: Containers
- (1)ping www.baidu.com [ping: unknown host www.baidu.com]---(2)xshell 连接虚拟机问题---(3) 网卡重启失败
- 面试题(1)
- [刷题]算法竞赛入门经典 3-7/UVa1368 3-8/UVa202 3-9/UVa10340
- 【Android笔记】Android MediaPlayer的生命周期
- 基础总结篇之一:Activity生命周期
- C代码:二分法求三次方程近似根
- html css jquery怎么做开门的效果
- TOJ 2470Robot in Maze (广度搜索应用)
- Ubuntu 之路