unknown host www.baidu.com network is unreachable
2015-10-04 09:20
519 查看
1、网卡信息配置是否正确
2、路由器加入设置网关
route add default gw 192.168.0.1
3、在、etc/resolv.conf里加入
nameserver 8.8.8.8
4、如果上不去网,配置是不是如下
eth0:动态获取
eth1:静态ip,只能配置IPADDR,其他的都别配置。
或者:
eth0:静态,配置IPADDR GATEWAY DNS都要写
eth1:静态ip,只能配置IPADDR,其他的都别配置。
2、路由器加入设置网关
route add default gw 192.168.0.1
3、在、etc/resolv.conf里加入
nameserver 8.8.8.8
4、如果上不去网,配置是不是如下
eth0:动态获取
eth1:静态ip,只能配置IPADDR,其他的都别配置。
或者:
eth0:静态,配置IPADDR GATEWAY DNS都要写
eth1:静态ip,只能配置IPADDR,其他的都别配置。
相关文章推荐
- kernel painic not syncing
- Software caused connection abort: recv failed
- Hadoop Failed to set permissions of path
- Failed to set permissions of path:\tmp\hadoop-yth\mapred\staging\yth-2036315919\.staging to 0700
- Failed to list databases
- nginx:accept() failed (24: Too many open files)
- Codeforces #323 D. Once Again... (LIS)
- 直接使用JDB解决ndk-gdb调试时的“waiting for debugger”弹窗不消失问题
- Mac Please try running this command again as root/Administrator.
- 责任链模式----ChainOfResponsibility
- Facebook如何使用“我们”的数据去构建人工智能
- nasm : UltraIso制作的MBR的逆向整理
- 每次询问求出两个字符串的最长公共前缀的长度 后缀数组+RMQ+lcp UVA 12338 - Anti-Rhyme Pairs
- 深入理解 [NSBundle mainBundle]
- main cannot be resolved or is not a field
- SSD阵列卡方案优化:考虑使用RAID 50替代RAID 10
- 关于public static void main(string[] args)的典故
- hdu3487 Play with Chain
- daemon reparented / init --user http://blog.csdn.net/ixidof/article/details/42806239
- GOF 23 设计模式之 责任链模式(Chain Of Responsibility)