免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1882 | 回复: 2
打印 上一主题 下一主题

求助:关于pppd拨号,郁闷! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-31 12:30 |只看该作者 |倒序浏览
[root@localhost ppp]# ../cxacru.service start
>;>;>; Inits Conexant AccessRunner <<<

>;>;>; Loading USB controller...

>;>;>; Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <jcomas@gna.es>;
See credits in documentation

I found ADSL modem with VendorID = 0572 & ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
.......
ADSL line is up (Downstream 1024 Kbits/s, Upstream 384 Kbits/s)
>;>;>; Loading driver...
FATAL: Module crc32 not found.   //上一次装系统成功上网的时候,也有这样的提示,但不妨碍;所以问题不在这里
Launching driver in normal mode...

/usr/sbin/cxload.sh successful
Setting PPP over ATM...
>;>;>; Setting PPPoA <<<

>;>;>; Loading ppp_generic...

>;>;>; Loading pppoatm...

>;>;>; Activating send/receive data...
Conexant AccessRunner ioctl call. 6/9/2003
Josep Comas <jcomas@gna.es>;
See credits in documentation

I found ADSL modem with VendorID = 0572 & ProductID = cb00

>;>;>; Loading pppd daemon...
Plugin /usr/lib/pppd/2.4.1/pppoatm.so loaded.
PPPoATM plugin_init
PPPoATM setdevname - remove unwanted options
PPPoATM setdevname_pppoatm - SUCCESS:0.33

/usr/sbin/cxnet2up.sh successful
[root@localhost ppp]#






[root@localhost ppp]# cat options
lock
defaultroute
#noipdefault
noauth
sync
noaccomp
nopcomp
novj
nodeflate
novjccomp
persist
name aa87167@adsla
user aa87167@adsla
plugin /usr/lib/pppd/2.4.1/pppoatm.so 0.33
[root@localhost ppp]#





[root@localhost ppp]# ifconfig -a
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:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11509 (11.2 Kb)  TX bytes:11509 (11.2 Kb)

ppp0      Link encapoint-to-Point Protocol
          inet addr:218.57.*.*  P-t-P:218.57.*.*  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:71 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:13508 (13.1 Kb)  TX bytes:2823 (2.7 Kb)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)

[root@localhost ppp]#




可以肯定的是,adsl modem的驱动是没有问题的,因为可以和远端同步。我的问题主要集中在pppd拨号上,从上面的ifconfig -a显示来看,
系统已经成功的登陆到远端系统,并且分配了一个ip地址。
但是,我的linux却不能上网!包括浏览器和qq都不行。ping不通。

什么问题呢?我初步怀疑 /etc/ppp/options这个文件的配置有问题,但不知道问题出在哪里;当驱动载入成功并且modem和远端同步后,
驱动开始调用pppd,下面是pppd的显示

>;>;>; Loading pppd daemon...    //调用pppd
Plugin /usr/lib/pppd/2.4.1/pppoatm.so loaded.  //我的拨号方式为ppp over atm,所以要用到pppoatm.so插件
PPPoATM plugin_init
PPPoATM setdevname - remove unwanted options    //这一句是什么意思?
PPPoATM setdevname_pppoatm - SUCCESS:0.33

那么,那一句“remove unwanted options"是什么意思呢?

论坛徽章:
0
2 [报告]
发表于 2004-08-31 12:35 |只看该作者

求助:关于pppd拨号,郁闷!

不用kppp 用系统工具 网络 然后激活可以上吗?

论坛徽章:
0
3 [报告]
发表于 2004-08-31 13:06 |只看该作者

求助:关于pppd拨号,郁闷!

谢谢

我没有用kppp,而是命令行下的pppd,因为设备是usb adsl modem(UT-300U),所以系统根本不认。只有安装驱动之后,使用驱动本身的script初始化modem并拨号。

即便安装驱动后,你所说的那个地方也没有任何的设备,即便添加也是没有的。


我能够拨号,因为已经分配了一个公网的ip地址,我的疑问在于:为什么ip地址都分配了,却不能ping,和 打开网站?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP