ubuntu8.10怎么上网?
来源:百度知道 编辑:UC知道 时间:2024/09/24 13:02:12
我在网上找了很多可都不行啊!比如sudo pppoeconf也不行,
我是用PPPOE上网的
打开应用程序菜单,依次选择附件 - 终端。
sudo pppoeconf依照步骤提示进行,在输入用户名的时候注意把username清空后输入,否则可能会出现usernameXXXXX的现象。
防止 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.20dns-nameservers 是你的dns服务器地址,如果有路由器的同志可