求助!拨号上网一直无法连接成功。
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 26
- 注册时间: 2007-11-03 14:41
求助!拨号上网一直无法连接成功。
我在终端中输入sudo pppoeconf,然后进行下去,中途输入adsl用户名和密码。设置好连接后一直无法连接,不知道为什么。
:~$ plog
Nov 4 21:33:33 lin-desktop pppd[6247]: PAP authentication failed
Nov 4 21:33:33 lin-desktop pppd[6247]: Connection terminated.
Nov 4 21:33:35 lin-desktop pppd[8812]: In file /etc/ppp/peers/provider: unrecognized option '/dev/modem'
Nov 4 21:33:46 lin-desktop pppd[9288]: Plugin rp-pppoe.so loaded.
Nov 4 21:33:46 lin-desktop pppd[9290]: pppd 2.4.4 started by root, uid 0
Nov 4 21:33:46 lin-desktop pppd[9290]: PPP session is 1505
Nov 4 21:33:46 lin-desktop pppd[9290]: Using interface ppp0
Nov 4 21:33:46 lin-desktop pppd[9290]: Connect: ppp0 <--> eth0
Nov 4 21:33:49 lin-desktop pppd[9290]: PAP authentication failed
Nov 4 21:33:49 lin-desktop pppd[9290]: Connection terminated.
我输入plog提示结果如上。
:~$ plog
Nov 4 21:33:33 lin-desktop pppd[6247]: PAP authentication failed
Nov 4 21:33:33 lin-desktop pppd[6247]: Connection terminated.
Nov 4 21:33:35 lin-desktop pppd[8812]: In file /etc/ppp/peers/provider: unrecognized option '/dev/modem'
Nov 4 21:33:46 lin-desktop pppd[9288]: Plugin rp-pppoe.so loaded.
Nov 4 21:33:46 lin-desktop pppd[9290]: pppd 2.4.4 started by root, uid 0
Nov 4 21:33:46 lin-desktop pppd[9290]: PPP session is 1505
Nov 4 21:33:46 lin-desktop pppd[9290]: Using interface ppp0
Nov 4 21:33:46 lin-desktop pppd[9290]: Connect: ppp0 <--> eth0
Nov 4 21:33:49 lin-desktop pppd[9290]: PAP authentication failed
Nov 4 21:33:49 lin-desktop pppd[9290]: Connection terminated.
我输入plog提示结果如上。
-
- 帖子: 26
- 注册时间: 2007-11-03 14:41
-
- 帖子: 26
- 注册时间: 2007-11-03 14:41
sudo pon dsl-privider
显示如下:
Plugin rp-pppoe.so loaded.
:~$ plog
显示如下
Nov 4 21:33:33 lin-desktop pppd[6247]: PAP authentication failed
Nov 4 21:33:33 lin-desktop pppd[6247]: Connection terminated.
Nov 4 21:33:35 lin-desktop pppd[8812]: In file /etc/ppp/peers/provider: unrecognized option '/dev/modem'
Nov 4 21:33:46 lin-desktop pppd[9288]: Plugin rp-pppoe.so loaded.
Nov 4 21:33:46 lin-desktop pppd[9290]: pppd 2.4.4 started by root, uid 0
Nov 4 21:33:46 lin-desktop pppd[9290]: PPP session is 1505
Nov 4 21:33:46 lin-desktop pppd[9290]: Using interface ppp0
Nov 4 21:33:46 lin-desktop pppd[9290]: Connect: ppp0 <--> eth0
Nov 4 21:33:49 lin-desktop pppd[9290]: PAP authentication failed
Nov 4 21:33:49 lin-desktop pppd[9290]: Connection terminated.
ifconfig ppp 和 ifconfig ppo0 以及 ifconfig ppo
三个命令提示的都跟下面的内容显示一样:
ppp: error fetching interface information: Device not found
显示如下:
Plugin rp-pppoe.so loaded.
:~$ plog
显示如下
Nov 4 21:33:33 lin-desktop pppd[6247]: PAP authentication failed
Nov 4 21:33:33 lin-desktop pppd[6247]: Connection terminated.
Nov 4 21:33:35 lin-desktop pppd[8812]: In file /etc/ppp/peers/provider: unrecognized option '/dev/modem'
Nov 4 21:33:46 lin-desktop pppd[9288]: Plugin rp-pppoe.so loaded.
Nov 4 21:33:46 lin-desktop pppd[9290]: pppd 2.4.4 started by root, uid 0
Nov 4 21:33:46 lin-desktop pppd[9290]: PPP session is 1505
Nov 4 21:33:46 lin-desktop pppd[9290]: Using interface ppp0
Nov 4 21:33:46 lin-desktop pppd[9290]: Connect: ppp0 <--> eth0
Nov 4 21:33:49 lin-desktop pppd[9290]: PAP authentication failed
Nov 4 21:33:49 lin-desktop pppd[9290]: Connection terminated.
ifconfig ppp 和 ifconfig ppo0 以及 ifconfig ppo
三个命令提示的都跟下面的内容显示一样:
ppp: error fetching interface information: Device not found
-
- 帖子: 24
- 注册时间: 2007-10-27 20:06
-
- 帖子: 26
- 注册时间: 2007-11-03 14:41
cd /etc/ppp/peers
就进入了
/etc/ppp/peers 目录了
ls 执行的结果如下:
dsl-provider provider wvdial wvdial-pipe
less dsl-proider 执行结果如下:
# Minimalistic default options file for DSL/PPPoE connections
noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth0
usepeerdns
user "910200171158"
就进入了
/etc/ppp/peers 目录了
ls 执行的结果如下:
dsl-provider provider wvdial wvdial-pipe
less dsl-proider 执行结果如下:
# Minimalistic default options file for DSL/PPPoE connections
noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth0
usepeerdns
user "910200171158"
-
- 帖子: 24
- 注册时间: 2007-10-27 20:06
-
- 帖子: 26
- 注册时间: 2007-11-03 14:41
ifconfig -a
的结果如下:
eth0
Link encap:Ethernet HWaddr 00:0F:EA:2A:95:1F
inet6 addr: fe80::20f:eaff:fe2a:951f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2760 (2.6 KB) TX bytes:3082 (3.0 KB)
Interrupt:16 Base address:0xc000
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
plog
我又再执行了一边,结果如下:
Nov 5 20:14:49 lin-desktop pppd[4131]: PPP session is 1196
Nov 5 20:14:49 lin-desktop pppd[4131]: Using interface ppp0
Nov 5 20:14:49 lin-desktop pppd[4131]: Connect: ppp0 <--> eth0
Nov 5 20:14:49 lin-desktop pppd[4131]: PAP authentication failed
Nov 5 20:14:49 lin-desktop pppd[4131]: Connection terminated.
Nov 5 20:14:57 lin-desktop pppd[5515]: PPP session is 1196
Nov 5 20:14:57 lin-desktop pppd[5515]: Using interface ppp0
Nov 5 20:14:57 lin-desktop pppd[5515]: Connect: ppp0 <--> eth0
Nov 5 20:14:57 lin-desktop pppd[5515]: PAP authentication failed
Nov 5 20:14:57 lin-desktop pppd[5515]: Connection terminated.
的结果如下:
eth0
Link encap:Ethernet HWaddr 00:0F:EA:2A:95:1F
inet6 addr: fe80::20f:eaff:fe2a:951f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2760 (2.6 KB) TX bytes:3082 (3.0 KB)
Interrupt:16 Base address:0xc000
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
plog
我又再执行了一边,结果如下:
Nov 5 20:14:49 lin-desktop pppd[4131]: PPP session is 1196
Nov 5 20:14:49 lin-desktop pppd[4131]: Using interface ppp0
Nov 5 20:14:49 lin-desktop pppd[4131]: Connect: ppp0 <--> eth0
Nov 5 20:14:49 lin-desktop pppd[4131]: PAP authentication failed
Nov 5 20:14:49 lin-desktop pppd[4131]: Connection terminated.
Nov 5 20:14:57 lin-desktop pppd[5515]: PPP session is 1196
Nov 5 20:14:57 lin-desktop pppd[5515]: Using interface ppp0
Nov 5 20:14:57 lin-desktop pppd[5515]: Connect: ppp0 <--> eth0
Nov 5 20:14:57 lin-desktop pppd[5515]: PAP authentication failed
Nov 5 20:14:57 lin-desktop pppd[5515]: Connection terminated.
-
- 帖子: 24
- 注册时间: 2007-10-27 20:06
-
- 帖子: 26
- 注册时间: 2007-11-03 14:41
less /etc/network/interfaces
结果如下:
auto lo
iface lo inet loopback
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
auto eth0
iface eth0 inet manual
在windwos下我没有安装电信给你安装的“星空极速”这个客户端。
而且我用的是网通的,我在windows下是用windows默认的拨号工具的。都可以上。
我可以保证自己的用户名和密码是正确的
结果如下:
auto lo
iface lo inet loopback
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
auto eth0
iface eth0 inet manual
在windwos下我没有安装电信给你安装的“星空极速”这个客户端。
而且我用的是网通的,我在windows下是用windows默认的拨号工具的。都可以上。
我可以保证自己的用户名和密码是正确的
-
- 帖子: 24
- 注册时间: 2007-10-27 20:06
iface eth0 inet static
address 192.168.1.42
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
插入
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
以前
保存
再次运行
sudo poff
sudo pon dsl-provider
看看
还有问题
请尝试重启计算机
address 192.168.1.42
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
插入
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
以前
保存
再次运行
sudo poff
sudo pon dsl-provider
看看
还有问题
请尝试重启计算机
-
- 帖子: 83
- 注册时间: 2006-04-24 20:29
我电信的,user 是要加后缀的吧。lynnlin 写了:cd /etc/ppp/peers
就进入了
/etc/ppp/peers 目录了
ls 执行的结果如下:
dsl-provider provider wvdial wvdial-pipe
less dsl-proider 执行结果如下:
# Minimalistic default options file for DSL/PPPoE connections
noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth0
usepeerdns
user "910200171158"
user "22222222@163.gd"