2009/1/30 darren <[email protected]> > 设置了静态地址NetWorkManager应该就不管eth0了 > 请问你除了eth0还有其他网络接口吗?比如无线网卡? >
还有一个eth1,但一直没有使用! (刚才又被改了,今天已经是第三回了;我马上重启一下机器试试,已经有十几天没重启了...) > > 2009/1/30 Arthur Wong <[email protected]>: > > 感谢回复! > > 我用的静态IP,请问修改dhch会有效吗?] > > > > $ cat /etc/network/interfaces > > # This file describes the network interfaces available on your system > > # and how to activate them. For more information, see interfaces(5). > > > > # The loopback network interface > > auto lo > > iface lo inet loopback > > > > auto eth0 > > iface eth0 inet static > > address 192.168.1.136 > > netmask 255.255.255.0 > > network 192.168.1.0 > > broadcast 192.168.1.255 > > gateway 192.168.1.1 > > > > > > 2009/1/30 darren <[email protected]> > >> > >> 修改 /etc/dhcp3/dhclient.conf > >> > >> 加入下面这行: > >> prepend domain-name-servers 208.67.222.222,208.67.220.220; > >> > >> 上两个dns server 是 opendns 换成你的可用的dns > >> > >> 2009/1/30 Arthur Wong <[email protected]>: > >> > 大家好,我的系统是debian lenny。 > >> > 这几天系统的域名解析配置文件总是被篡改成如下: > >> > > >> > $ cat /etc/resolv.conf > >> > ### BEGIN INFO > >> > # > >> > # Modified_by: NetworkManager > >> > # Process: /usr/bin/NetworkManager > >> > # Process_id: 15956 > >> > # > >> > ### END INFO > >> > > >> > 导致我的网络总是断掉,请问这是怎么回事,是被人入侵了还是系统软件所为(有是一天被更改了两次,更改前并没有软件包更新操作)? > >> > > >> > > > > > >

