[问题]ubuntu 5.10 pre 不能自动连接到adsl
-
- 帖子: 7
- 注册时间: 2005-08-31 17:01
[问题]ubuntu 5.10 pre 不能自动连接到adsl
用pppoeconf配置,已经设置为启动时自动连接,在5.04就是这么弄的,很正常,但是现在在5.10却发现每次启动之后连接不上网络,必须再次运行pppoeconf程序。到了今天,这样都不行了,老是断线。是不是系统还不完善的原因??
- gnix_oag
- 帖子: 1994
- 注册时间: 2005-05-19 18:38
- 来自: 湖南永州
- 联系:
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
-
- 帖子: 105
- 注册时间: 2005-05-02 15:29
awei@Awei:~$ more /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
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.101.114.55 202.101.98.55
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
# added by pppoeconf
#把这个删除了auto eth0
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
awei@Awei:~$
# 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
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
iface eth0 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.101.114.55 202.101.98.55
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
# added by pppoeconf
#把这个删除了auto eth0
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
awei@Awei:~$