xubuntu 6.10 ADSL拔号上网问题

CPU/显卡/打印机/USB设备等硬件问题
回复
throall
帖子: 18
注册时间: 2006-08-18 14:53
来自: 泉州
联系:

xubuntu 6.10 ADSL拔号上网问题

#1

帖子 throall » 2006-12-01 9:04

xubuntu 6.10 ADSL拔号上网设置
懂的朋友请帮帮忙………………
谢谢!!!!!!!!!!!!!!!!!!!!
头像
Beetle
帖子: 1637
注册时间: 2005-10-14 16:55
系统: OS X
来自: 江苏
联系:

#2

帖子 Beetle » 2006-12-01 12:06

代码: 全选

sudo pppoeconf
头像
suntrian
帖子: 37
注册时间: 2008-07-16 10:10

#3

帖子 suntrian » 2008-07-17 16:30

就这样??吗?
2ine
帖子: 200
注册时间: 2008-05-02 15:55

#4

帖子 2ine » 2008-07-17 16:32

应用程序–系统工具–终端  打开一终端,输入命令:

sudo pppoeconf

然后进行下去就行了,中途需要输入adsl用户名和密码。

以后,要手工拨号,打开终端,输入命令:

sudo pon dsl-provider

一般情况下,一次拨通后以后登陆ubuntu都会自动拨通上网的了,不用每次都输入命令拨号。

手工断线:

sudo poff

查看连接情况:

plog 和 ifconfig ppp0

ifconfig ppp0 可查询本机的上网IP。


上网执行: pon dsl-provider

激活ADSL: sudo /etc/ppp/pppoe_on_boot

断开连接: poff

查看日志: sudo plog


-----------------------------------------------------------------------------------------------------------------------------------------------------------
以上一般够用

其它常用网络配置
图形界面有时候配置网络不能生效,可以用命令行配置
IP 命令行配置如下
sudo gedit /etc/network/interfaces
DHCP
DHCP 配置如下(假设通过 eth1 上网)
# The primary network interface - use DHCP to find our address
auto eth1
iface eth1 inet dhcp //指定为 dhcp
然后重启
sudo /etc/init.d/networking restart
Static IP
静态 IP 地址配置如下(假设通过 eth1 上网)
# The primary network interface
auto eth1
iface eth1 inet static //指定为 static
address 192.168.3.90 //IP 地址
gateway 192.168.3.1 //网关
netmask 255.255.255.0 //子网掩码
同样需要重启
sudo /etc/init.d/networking restart
DNS
如果有必要,配置 DNS
sudo gedit /etc/resolv.conf
nameserver 192.168.3.2
回复