出大问题啦!!网络老是莫名其妙的断开!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 42
- 注册时间: 2007-07-15 7:38
- 来自: 山东潍坊
出大问题啦!!网络老是莫名其妙的断开!
上着上着就自己断开网络了,必须在终端下面输入sudo pon dsl-provider命令才能重新连接上,过不了一会又断开了,然后再输入命令又能上了,怎么一回事啊!谢谢解答!
- bhyb985
- 帖子: 16
- 注册时间: 2007-08-11 10:10
- 来自: 九江
- 联系:
防止 ADSL 掉线
防止 ADSL 掉线
*
在终端内
sudo gedit /etc/network/interfaces
复制下面内容完全复盖即可
# /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 eth1
# The primary network interface
iface eth1 inet static
address 10.0.0.139
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 211.162.32.1 211.162.32.20
dns-nameservers 是你的dns服务器地址,如果有路由器的同志可以打开路由器设置看看,把路由器上的默认dns服务器贴上
*
在终端内
sudo gedit /etc/network/interfaces
复制下面内容完全复盖即可
# /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 eth1
# The primary network interface
iface eth1 inet static
address 10.0.0.139
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 211.162.32.1 211.162.32.20
dns-nameservers 是你的dns服务器地址,如果有路由器的同志可以打开路由器设置看看,把路由器上的默认dns服务器贴上
- Peace
- 帖子: 498
- 注册时间: 2006-02-01 14:37
- 来自: 火星
- jsonic
- 帖子: 158
- 注册时间: 2005-12-10 13:55
- 联系:
除了 Linux 与開源軟件,您还应该喜欢 美食