摘要: 例如网关地址为:192.168.1.1route add default gw 192.168.1.1sudo vim /etc/resolv.conf在 /etc/resolv.conf 中加入# Generated by NetworkManagernameserver 192.168.1.1修改后可正常ping通,但系统重启后再ping会显示unknow host,因此需要锁定/etc/resolv.conf文件,不允许系统启动时重写。sudo chattr +i /etc/resolv.conf 阅读全文
posted @ 2014-01-31 01:29 傲雪星枫 阅读(518) 评论(0) 推荐(0) 编辑