求助!拨号上网一直无法连接成功。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

求助!拨号上网一直无法连接成功。

#1

帖子 lynnlin » 2007-11-04 21:59

我在终端中输入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提示结果如上。
cg111
帖子: 24
注册时间: 2007-10-27 20:06

#2

帖子 cg111 » 2007-11-04 22:36

#>sudo pon dsl-privider
#>plog
结果贴一下
#>ifconfig ppp
结果贴一下
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

#3

帖子 lynnlin » 2007-11-04 23:14

sudo pon dsl-privider 的显示内容是
so loaded

ifconfig ppp 好象是显示一个错误什么的。
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

#4

帖子 lynnlin » 2007-11-05 8:53

哪位高手能告诉我一下嘛,谢谢了。
cg111
帖子: 24
注册时间: 2007-10-27 20:06

#5

帖子 cg111 » 2007-11-05 10:11

你不贴结果,神仙也难帮你啊!
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

#6

帖子 lynnlin » 2007-11-05 18: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
cg111
帖子: 24
注册时间: 2007-10-27 20:06

#7

帖子 cg111 » 2007-11-05 19:07

强烈怀疑你的配置过程
请执行下面命令
把结果贴一下
#>cd /etc/ppp/peers
#>ls
#>less dsl-proider
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

#8

帖子 lynnlin » 2007-11-05 19:30

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"
cg111
帖子: 24
注册时间: 2007-10-27 20:06

#9

帖子 cg111 » 2007-11-05 20:00

很奇怪的说 ^_^
贴一下:
#>less /etc/network/interfaces

#>ifconfig -a
的结果
你的plog记录很奇怪
pon dsl-provider
为何会访问/dev/modem?
另外,你确信你的密码是不是没有问题?
我的意思是:在WINDOW下你安装没有安装电信给你安装的“星空极速”这个客户端?
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

#10

帖子 lynnlin » 2007-11-05 20:27

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.
cg111
帖子: 24
注册时间: 2007-10-27 20:06

#11

帖子 cg111 » 2007-11-05 20:34

#>less /etc/network/interfaces
这个没贴

在WINDOW下你安装没有安装电信给你安装的“星空极速”这个客户端?

这个没回答
lynnlin
帖子: 26
注册时间: 2007-11-03 14:41

#12

帖子 lynnlin » 2007-11-05 20:38

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默认的拨号工具的。都可以上。
我可以保证自己的用户名和密码是正确的
cg111
帖子: 24
注册时间: 2007-10-27 20:06

#13

帖子 cg111 » 2007-11-05 20:54

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
看看
还有问题
请尝试重启计算机
switch
帖子: 83
注册时间: 2006-04-24 20:29

#14

帖子 switch » 2007-11-05 20:56

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 是要加后缀的吧。
user "22222222@163.gd"
switch
帖子: 83
注册时间: 2006-04-24 20:29

#15

帖子 switch » 2007-11-05 21:00

从PLOG看,明显是在PPP用户验证过程中断。
windows下能正常拨号,线路没问题,设备没问题,应该是帐户密码不对哦。
回复