|
|

楼主 |
发表于 2007-11-17 20:16:57
|
显示全部楼层
我的interface
文件没设gw, 我的ip和dns, route, gw等都是dhcp自动设的。
interface文件内容如下:
# 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
# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet dhcp
#iface provider inet ppp
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider |
|