QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3098|回复: 2

[已OK]与Sony Ericsson无线上网卡连接问题!

[复制链接]
发表于 2007-7-1 21:14:32 | 显示全部楼层 |阅读模式
大家好!

我的电脑是IBM X41,系统Gentoo、Kernel 2.6.21-r3。
现刚买到了一块Sony Ericsson GC89无线网卡,这个网卡支持EDGE/GPRS/WIFI等。

我按照这里:http://jakilinux.org/aplikacje/iplus-w-linuksie
进行设置,信息显示已自动获得IP与DNS,但ping不通网址也打不开网页!

希望大伙帮忙看看,如何解决?先多谢大家!

我的ppp设置文件:
/etc/ppp/peers/iplus

  1. noauth
  2. connect "/usr/sbin/chat -v -f /etc/ppp/peers/iplus-connect"
  3. disconnect "/usr/sbin/chat -v -f /etc/ppp/peers/iplus-disconnect"
  4. debug
  5. /dev/ttyS0
  6. 57600
  7. defaultroute
  8. crtscts
  9. lock
  10. local
  11. nodetach
  12. usepeerdns
  13. lcp-echo-failure 4
  14. lcp-echo-interval 65535
复制代码


/etc/ppp/peers/iplus-connect

  1. TIMEOUT 600
  2. ABORT 'BUSY'
  3. ABORT 'NO ANSWER'
  4. ABORT 'ERROR'
  5. SAY 'Starting GPRS connect script\n'

  6. "" 'AT+CFUN=1,1'

  7. OK 'ATE1\d'

  8. SAY 'Setting APN\n'
  9. OK 'AT+CGDCONT=1,"IP","CMNET"'

  10. ABORT 'NO CARRIER'
  11. SAY 'Dialing...\n'
  12. OK 'ATD*99***1#'

  13. CONNECT ''
复制代码


pppd call iplus 的连接信息:

  1. Gentoo jiang # pppd call iplus
  2. Starting GPRS connect script
  3. Setting APN
  4. Dialing...
  5. Serial connection established.
  6. using channel 1
  7. Using interface ppp0
  8. Connect: ppp0 <--> /dev/ttyS0
  9. sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8fd2820e> <pcomp> <accomp>]
  10. rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8fd2820e> <pcomp> <accomp>]
  11. sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8fd2820e> <pcomp> <accomp>]
  12. rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8fd2820e> <pcomp> <accomp>]
  13. rcvd [LCP ConfReq id=0xf3 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0x200069> <pcomp> <accomp>]
  14. No auth is possible
  15. sent [LCP ConfRej id=0xf3 <auth pap>]
  16. rcvd [LCP ConfReq id=0xf4 <mru 1500> <asyncmap 0x0> <magic 0x200069> <pcomp> <accomp>]
  17. sent [LCP ConfAck id=0xf4 <mru 1500> <asyncmap 0x0> <magic 0x200069> <pcomp> <accomp>]
  18. sent [LCP EchoReq id=0x0 magic=0x8fd2820e]
  19. sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
  20. sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
  21. rcvd [IPCP ConfReq id=0xf3 <addr 10.227.133.0> <compress VJ 0f 01>]
  22. sent [IPCP ConfAck id=0xf3 <addr 10.227.133.0> <compress VJ 0f 01>]
  23. rcvd [LCP EchoRep id=0x0 magic=0x8fd2820e]
  24. appear to have received our own echo-reply!
  25. rcvd [LCP ProtRej id=0xf5 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
  26. Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
  27. rcvd [IPCP ConfNak id=0x1 <addr 10.227.133.111> <ms-dns1 211.136.20.203> <ms-dns3 211.136.17.107>]
  28. sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.227.133.111> <ms-dns1 211.136.20.203> <ms-dns3 211.136.17.107>]
  29. rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.227.133.111> <ms-dns1 211.136.20.203> <ms-dns3 211.136.17.107>]
  30. not replacing existing default route to eth0 [192.168.1.1]
  31. local  IP address 10.227.133.111
  32. remote IP address 10.227.133.0
  33. primary   DNS address 211.136.20.203
  34. secondary DNS address 211.136.17.107
  35. Script /etc/ppp/ip-up started (pid 5843)
  36. Script /etc/ppp/ip-up finished (pid 5843), status = 0x1
复制代码

[ 本帖最后由 灵感点亮生活 于 2007-7-1 23:22 编辑 ]
发表于 2007-7-1 23:14:03 | 显示全部楼层
你ifconfig的时候都能看到什么呢?
回复

使用道具 举报

 楼主| 发表于 2007-7-1 23:21:22 | 显示全部楼层
先多谢楼上的兄台帮顶!

呵呵,OK了,好开心!EDGE的速度还是不错哦!原来我没有把/etc/conf.d/net 设置为ttyS0。改为如下就好啦!

  1.   config_ppp0=( "ppp" )
  2.   link_ppp0="/dev/ttyS0"
复制代码


不过还是疑惑与上面的连接信息相同,没有显示"CONNECT"呢?也不返回待输入命令状态!

[ 本帖最后由 灵感点亮生活 于 2007-7-1 23:26 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 17:21 , Processed in 0.046204 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表