OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

OpenBSD FAQ中文版、PF指南中文版、OpenBSD用户手册...
回复
f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2011-11-20 17:24

自己写的东西,放在网上备份:)

一、测试环境

OpenBSD 5.0 current
2G设备:Nokia E71手机,中国移动号码
联通3G设备:Nokia 5230手机,中国联通3G数据卡专用号码
电信3G设备:Huawei EC122,中国电信3G号码

测试地点:广州

二、OpenBSD配置信息


1、/etc/ppp/ppp.conf

代码: 全选

###这里开始
default:
   set log Phase Chat LCP IPCP CCP tun command
###中国电信cdma evdo上网配置
chinatelecom:
   set device /dev/cuaU0
   set speed 1843200
   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
             \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
   set phone "#777"
   set login
   set authname [email protected]
   set authkey vnet.mobi
   set timeout 120
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
   add default HISADDR
   enable dns
###中国移动GPRS edge上网配置
chinamobile:
  set device /dev/cuaU0
  set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"cmnet\\\" OK \\dATD\\T TIMEOUT 40 CONNECT"
  set phone "*99#"
  set speed 460800
  set login
  set timeout 0
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR
  enable dns
###中国联通wcdma 3G上网配置
chinaunicom:
  set device /dev/cuaU0
  set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
            \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"3gnet\\\" OK \\dATD\\T TIMEOUT 40 CONNECT"
  set phone "*99#"
  set speed 7200000
  set login
  set timeout 0
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR
  enable dns
###这里结束
2、冒号前chinatelecom\chinamobile\chinaunicom三个子项目名称可随意修改,但必须顶格,set字符前必须留空格。

3、中国电信的evdo上网用户名密码如下
set authname [email protected]
set authkey vnet.mobi
中国移动2G上网,APN参数是cmnet,set speed为460800
中国联通3G上网,APN参数是3gnet,set speed为7200000


三、拨号方法

首先将三大运营商其中一个设备通过USB接口连接到OpenBSD主机,例如用Micro USB线插上E71手机,内有中国移动号码sim卡。
拨号online方法,输入#ppp -auto chinamobile
断线offline方法,输入ps -x | grep ppp找到进程pid,kill这个pid


四、网络测试
1、Nokia E71手机,中国移动edge
# ping gd.ct10000.com 平均500ms
# lynx平均下载速度10 KiB/sec.

2、Nokia 5230手机,中国联通3g
# ping http://www.chinaunicom.com 平均值 146ms
# lynx 中国电信某网站下载文件平均速度 72 KiB/sec

3、Huawei EC122,中国电信evdo
# ping gd.ct10000.com 平均 100ms
# lynx 中国电信某网站下载文件平均速度 〉100 KiB/sec

4、特别说明,仅有中国电信3g上网能获取到独立公网ip,若开启httpd服务,可被互联网用户直接访问到哦!


五、参考
本文用的是userland PPP daemon
请看
http://www.openbsd.org/faq/faq6.html#PPP
http://www.openbsd.org/cgi-bin/man.cgi? ... ormat=html
http://www.openbsd.org/papers/opencon06-umts/index.html

chinamobile,chinaunicom子项参考/etc/ppp/ppp.conf.sample的mobile子项,关键是替换APN和set speed
chinatelcom子项参考man umsm(Verizon Wireless),不同之处是删除s7=60

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 leo » 2011-11-21 6:21

多谢f5b兄发布,宝贵的个人经验。

头像
acheng
锌 Zn
帖子: 581
注册时间: 2011-07-07 21:52

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 acheng » 2011-11-21 12:34

不错的东东,谢谢分享。

头像
unreal
银 Ag
帖子: 1083
注册时间: 2010-06-07 18:52

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 unreal » 2011-11-21 13:30

我有一支USB 的EDGE modem,有空试试看^o^ 谢谢 f5b兄!
勤能補拙 Just do it now!

levi
铁 Fe
帖子: 87
注册时间: 2011-09-08 14:06

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 levi » 2011-11-21 15:22

写得不错,暂时还不用手机上网,先保存下来,供以后有需要时参考。

另外。搭车问一下,我的adsl也是用的用户级ppp拨号,断开网络用的是和楼主一样的方法,先ps ax找到ppp的pid然后kill掉,不知道有没有更简单的断开ppp拨号的方法?

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2011-11-24 19:38

levi 写了:写得不错,暂时还不用手机上网,先保存下来,供以后有需要时参考。

另外。搭车问一下,我的adsl也是用的用户级ppp拨号,断开网络用的是和楼主一样的方法,先ps ax找到ppp的pid然后kill掉,不知道有没有更简单的断开ppp拨号的方法?
这样还不简单,你研究一下?

wkx9dragon
锌 Zn
帖子: 493
注册时间: 2010-02-02 18:00

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 wkx9dragon » 2011-12-07 19:32

我的华为E1261试了试,失败了!不知道啥原因。

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2011-12-07 21:33

wkx9dragon 写了:我的华为E1261试了试,失败了!不知道啥原因。
插入这个设备时候系统是否正常识别驱动?

拨号出错的话
出错代码如何?
/var/log/daemon里面可以看到

wkx9dragon
锌 Zn
帖子: 493
注册时间: 2010-02-02 18:00

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 wkx9dragon » 2011-12-09 22:20

这是我的daemon,不知道哪出错了?哥们帮我看看,挺多的,不知道从哪跳过。
Dec 10 05:48:06 OS ppp[14220]: Phase: Using interface: tun0
Dec 10 05:48:06 OS ppp[14220]: Phase: deflink: Created in closed state
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set device /dev/cuaU0
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set speed 1843200
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set phone #777
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set login
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set authname [email protected]
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set authkey ********
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set timeout 120
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: add default HISADDR
Dec 10 05:48:06 OS ppp[14220]: tun0: Command: chinatelecom: enable dns
Dec 10 05:48:06 OS ppp[13274]: tun0: Phase: PPP Started (auto mode).
Dec 10 05:48:06 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:48:06 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:48:06 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:48:06 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Received: AT\^M\^M
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Send: ATE1Q0\^M
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Received: ATE1Q0\^M\^M
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:48:06 OS ppp[13274]: tun0: Chat: Send: ATDT#777\^M
Dec 10 05:48:08 OS ppp[13274]: tun0: Chat: Expect(40): CONNECT
Dec 10 05:48:08 OS ppp[13274]: tun0: Chat: Received: ATDT#777\^M\^M
Dec 10 05:48:08 OS ppp[13274]: tun0: Chat: Received: CONNECT\^M
Dec 10 05:48:08 OS ppp[13274]: tun0: Phase: deflink: dial -> carrier
Dec 10 05:48:09 OS ppp[13274]: tun0: Phase: deflink: /dev/cuaU0: CD detected
Dec 10 05:48:09 OS ppp[13274]: tun0: Phase: deflink: carrier -> login
Dec 10 05:48:09 OS ppp[13274]: tun0: Phase: deflink: login -> lcp
Dec 10 05:48:09 OS ppp[13274]: tun0: LCP: FSM: Using "deflink" as a transport
Dec 10 05:48:09 OS ppp[13274]: tun0: LCP: deflink: State change Initial --> Closed
Dec 10 05:48:09 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Stopped
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(2) state = Stopped
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x10c91cd4
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x607468d4
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: SendConfigAck(2) state = Stopped
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x10c91cd4
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: LayerStart
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x607468d4
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: LayerUp
Dec 10 05:48:10 OS ppp[13274]: tun0: Phase: bundle: Authenticate
Dec 10 05:48:10 OS ppp[13274]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Dec 10 05:48:10 OS ppp[13274]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from pdsn)
Dec 10 05:48:10 OS ppp[13274]: tun0: Phase: Chap Output: RESPONSE ([email protected])
Dec 10 05:48:10 OS ppp[13274]: tun0: Phase: Chap Input: FAILURE (lH\M^G/g\M-o\M-4k\^En\M-7Xl\M-h\M-C\^B)
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: LayerDown
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(2) state = Opened
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: State change Opened --> Closing
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: RecvTerminateReq(4) state = Closing
Dec 10 05:48:10 OS ppp[13274]: tun0: LCP: deflink: SendTerminateAck(4) state = Closing
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(2) state = Closing
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(1) state = Closing
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x5fbffb73
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: Error: Got ConfigReq while state = Closing
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: RecvTerminateAck(2) state = Closing
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: LayerFinish
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: State change Closing --> Closed
Dec 10 05:48:13 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Initial
Dec 10 05:48:13 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:13 OS ppp[13274]: tun0: Phase: deflink: lcp -> logout
Dec 10 05:48:13 OS ppp[13274]: tun0: Phase: deflink: logout -> hangup
Dec 10 05:48:13 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: Connect time: 9 secs: 302 octets in, 207 octets out
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: 9 packets in, 6 packets out
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: total 56 bytes/sec, peak 82 bytes/sec on Sat Dec 10 05:48:13 2011
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Received: ~\M^?}#\M-@!}!}!} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&}0\M-I}<\M-T}'}"}(}"F|~
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Received: NO CARRIER
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:15 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:15 OS ppp[13274]: tun0: Warning: Chat script failed
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: dial -> hangup
Dec 10 05:48:15 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:16 OS ppp[13274]: tun0: Phase: deflink: Connect time: 1 secs: 0 octets in, 0 octets out
Dec 10 05:48:16 OS ppp[13274]: tun0: Phase: deflink: 9 packets in, 6 packets out
Dec 10 05:48:16 OS ppp[13274]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Dec 10 05:48:15 2011
Dec 10 05:48:16 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:48:16 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:48:20 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:48:20 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:48:20 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:48:20 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received: OK
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Send: ATE1Q0\^M
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received: \^M
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:48:20 OS ppp[13274]: tun0: Chat: Send: ATDT#777\^M
Dec 10 05:48:22 OS ppp[13274]: tun0: Chat: Expect(40): CONNECT
Dec 10 05:48:22 OS ppp[13274]: tun0: Chat: Received: ATE1Q0\^M\^M
Dec 10 05:48:22 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:48:22 OS ppp[13274]: tun0: Chat: Received: ATDT#777\^M\^M
Dec 10 05:48:22 OS ppp[13274]: tun0: Chat: Received: CONNECT\^M
Dec 10 05:48:22 OS ppp[13274]: tun0: Phase: deflink: dial -> carrier
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: deflink: /dev/cuaU0: CD detected
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: deflink: carrier -> login
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: deflink: login -> lcp
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: FSM: Using "deflink" as a transport
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: State change Initial --> Closed
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Stopped
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(4) state = Stopped
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x5fbffb73
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: SendConfigReq(3) state = Stopped
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x3c0d23b5
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: SendConfigAck(4) state = Stopped
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x5fbffb73
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: LayerStart
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: RecvConfigAck(3) state = Ack-Sent
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x3c0d23b5
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: LayerUp
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: bundle: Authenticate
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from pdsn)
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: Chap Output: RESPONSE ([email protected])
Dec 10 05:48:23 OS ppp[13274]: tun0: Phase: Chap Input: FAILURE (\M-R\M^PQH8M\M-(O\M-T\M^P\M^H\^F5\M-:\M-$q)
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: LayerDown
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(4) state = Opened
Dec 10 05:48:23 OS ppp[13274]: tun0: LCP: deflink: State change Opened --> Closing
Dec 10 05:48:26 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(4) state = Closing
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(1) state = Closing
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x1ef34d91
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: deflink: Error: Got ConfigReq while state = Closing
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: deflink: RecvTerminateAck(4) state = Closing
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: deflink: LayerFinish
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: deflink: State change Closing --> Closed
Dec 10 05:48:27 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Initial
Dec 10 05:48:27 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:27 OS ppp[13274]: tun0: Phase: deflink: lcp -> logout
Dec 10 05:48:27 OS ppp[13274]: tun0: Phase: deflink: logout -> hangup
Dec 10 05:48:27 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:28 OS ppp[13274]: tun0: Phase: deflink: Connect time: 8 secs: 285 octets in, 190 octets out
Dec 10 05:48:28 OS ppp[13274]: tun0: Phase: deflink: 17 packets in, 11 packets out
Dec 10 05:48:28 OS ppp[13274]: tun0: Phase: total 59 bytes/sec, peak 71 bytes/sec on Sat Dec 10 05:48:24 2011
Dec 10 05:48:28 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:48:28 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:48:31 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:48:31 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:48:31 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:48:31 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Received: ~\M^?}#\M-@!}!}"} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&_\M-?\M-{s}'}"}(}"m\M^?~~\M^?}#\M-@!}!}#} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&_\M-?\M-{s}'}"}(}"s1~
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Received: NO CARRIER
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:31 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:31 OS ppp[13274]: tun0: Warning: Chat script failed
Dec 10 05:48:31 OS ppp[13274]: tun0: Phase: deflink: dial -> hangup
Dec 10 05:48:31 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:32 OS ppp[13274]: tun0: Phase: deflink: Connect time: 1 secs: 0 octets in, 0 octets out
Dec 10 05:48:32 OS ppp[13274]: tun0: Phase: deflink: 17 packets in, 11 packets out
Dec 10 05:48:32 OS ppp[13274]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Dec 10 05:48:31 2011
Dec 10 05:48:32 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:48:32 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:48:36 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:48:36 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:48:36 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:48:36 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received: OK
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Send: ATE1Q0\^M
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received: \^M
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:48:36 OS ppp[13274]: tun0: Chat: Send: ATDT#777\^M
Dec 10 05:48:38 OS ppp[13274]: tun0: Chat: Expect(40): CONNECT
Dec 10 05:48:38 OS ppp[13274]: tun0: Chat: Received: ATE1Q0\^M\^M
Dec 10 05:48:38 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:48:38 OS ppp[13274]: tun0: Chat: Received: ATDT#777\^M\^M
Dec 10 05:48:38 OS ppp[13274]: tun0: Chat: Received: CONNECT\^M
Dec 10 05:48:38 OS ppp[13274]: tun0: Phase: deflink: dial -> carrier
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: deflink: /dev/cuaU0: CD detected
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: deflink: carrier -> login
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: deflink: login -> lcp
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: FSM: Using "deflink" as a transport
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: State change Initial --> Closed
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Stopped
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(5) state = Stopped
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x1ef34d91
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: SendConfigReq(5) state = Stopped
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x598c3975
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: SendConfigAck(5) state = Stopped
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x1ef34d91
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: LayerStart
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: RecvConfigAck(5) state = Ack-Sent
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x598c3975
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Dec 10 05:48:39 OS ppp[13274]: tun0: LCP: deflink: LayerUp
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: bundle: Authenticate
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from pdsn)
Dec 10 05:48:39 OS ppp[13274]: tun0: Phase: Chap Output: RESPONSE ([email protected])
Dec 10 05:48:40 OS ppp[13274]: tun0: Phase: Chap Input: FAILURE (\M-e\^[p\^_a71\^C\240\M-T\^?+\M^M\M-;.J)
Dec 10 05:48:40 OS ppp[13274]: tun0: LCP: deflink: LayerDown
Dec 10 05:48:40 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(6) state = Opened
Dec 10 05:48:40 OS ppp[13274]: tun0: LCP: deflink: State change Opened --> Closing
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(6) state = Closing
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(1) state = Closing
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x1072a36c
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: Error: Got ConfigReq while state = Closing
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: RecvTerminateAck(6) state = Closing
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: LayerFinish
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: State change Closing --> Closed
Dec 10 05:48:43 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Initial
Dec 10 05:48:43 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:43 OS ppp[13274]: tun0: Phase: deflink: lcp -> logout
Dec 10 05:48:43 OS ppp[13274]: tun0: Phase: deflink: logout -> hangup
Dec 10 05:48:43 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:44 OS ppp[13274]: tun0: Phase: deflink: Connect time: 8 secs: 284 octets in, 189 octets out
Dec 10 05:48:44 OS ppp[13274]: tun0: Phase: deflink: 25 packets in, 16 packets out
Dec 10 05:48:44 OS ppp[13274]: tun0: Phase: total 59 bytes/sec, peak 90 bytes/sec on Sat Dec 10 05:48:43 2011
Dec 10 05:48:44 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:48:44 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:48:46 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:48:46 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:48:46 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:48:46 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Received: ~\M^?}#\M-@!}!}"} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&}>\M-sM\M^Q}'}"}(}"Y\M^J~~\M^?}#\M-@!}!}#} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&}>\M-sM\M^Q}'}"}(}"GD~~\M^?}#\M-@!}!}$} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&}>\M-sM\M^Q}'}"}(}"?>~
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Received: NO CARRIER
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:46 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:48:46 OS ppp[13274]: tun0: Warning: Chat script failed
Dec 10 05:48:46 OS ppp[13274]: tun0: Phase: deflink: dial -> hangup
Dec 10 05:48:46 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:48:47 OS ppp[13274]: tun0: Phase: deflink: Connect time: 1 secs: 0 octets in, 0 octets out
Dec 10 05:48:47 OS ppp[13274]: tun0: Phase: deflink: 25 packets in, 16 packets out
Dec 10 05:48:47 OS ppp[13274]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Dec 10 05:48:46 2011
Dec 10 05:48:47 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:48:47 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:49:08 OS ppp[10459]: Phase: Using interface: tun1
Dec 10 05:49:08 OS ppp[10459]: Phase: deflink: Created in closed state
Dec 10 05:49:08 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:49:08 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:49:08 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:49:08 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Received: \^M
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Send: ATE1Q0\^M
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Received: ATE1Q0\^M\^M
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Received: OK\^M
Dec 10 05:49:08 OS ppp[13274]: tun0: Chat: Send: ATDT#777\^M
Dec 10 05:49:10 OS ppp[13274]: tun0: Chat: Expect(40): CONNECT
Dec 10 05:49:10 OS ppp[13274]: tun0: Chat: Received: ATDT#777\^M\^M
Dec 10 05:49:10 OS ppp[13274]: tun0: Chat: Received: CONNECT\^M
Dec 10 05:49:10 OS ppp[13274]: tun0: Phase: deflink: dial -> carrier
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: deflink: /dev/cuaU0: CD detected
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: deflink: carrier -> login
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: deflink: login -> lcp
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: FSM: Using "deflink" as a transport
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: State change Initial --> Closed
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Stopped
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: RecvConfigReq(10) state = Stopped
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x1072a36c
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: SendConfigReq(7) state = Stopped
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x5f370b44
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: SendConfigAck(10) state = Stopped
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MRU[4] 1448
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x1072a36c
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: LayerStart
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: RecvConfigAck(7) state = Ack-Sent
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACFCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: PROTOCOMP[2]
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MRU[4] 1500
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: MAGICNUM[6] 0x5f370b44
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: LayerUp
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: bundle: Authenticate
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from pdsn)
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: Chap Output: RESPONSE ([email protected])
Dec 10 05:49:11 OS ppp[13274]: tun0: Phase: Chap Input: FAILURE (\^Do\M-%\^V\M-+\M-w\M-P\^O\M^U\M-@d7F\M-7\M-L\^A)
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: LayerDown
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(8) state = Opened
Dec 10 05:49:11 OS ppp[13274]: tun0: LCP: deflink: State change Opened --> Closing
Dec 10 05:49:14 OS ppp[13274]: tun0: LCP: deflink: SendTerminateReq(8) state = Closing
Dec 10 05:49:16 OS ppp[13274]: tun0: LCP: deflink: RecvTerminateAck(8) state = Closing
Dec 10 05:49:16 OS ppp[13274]: tun0: LCP: deflink: LayerFinish
Dec 10 05:49:16 OS ppp[13274]: tun0: LCP: deflink: State change Closing --> Closed
Dec 10 05:49:16 OS ppp[13274]: tun0: LCP: deflink: State change Closed --> Initial
Dec 10 05:49:16 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:49:16 OS ppp[13274]: tun0: Phase: deflink: lcp -> logout
Dec 10 05:49:16 OS ppp[13274]: tun0: Phase: deflink: logout -> hangup
Dec 10 05:49:16 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:49:17 OS ppp[13274]: tun0: Phase: deflink: Connect time: 9 secs: 225 octets in, 190 octets out
Dec 10 05:49:17 OS ppp[13274]: tun0: Phase: deflink: 32 packets in, 21 packets out
Dec 10 05:49:17 OS ppp[13274]: tun0: Phase: total 46 bytes/sec, peak 75 bytes/sec on Sat Dec 10 05:49:15 2011
Dec 10 05:49:17 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:49:17 OS ppp[13274]: tun0: Phase: bundle: Dead
Dec 10 05:49:18 OS ppp[13274]: tun0: Phase: bundle: Establish
Dec 10 05:49:18 OS ppp[13274]: tun0: Phase: deflink: closed -> opening
Dec 10 05:49:18 OS ppp[13274]: tun0: Phase: deflink: Connected!
Dec 10 05:49:18 OS ppp[13274]: tun0: Phase: deflink: opening -> dial
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Phone: #777
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Send: AT\^M
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Expect(5): OK
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Received: ~\M^?}#\M-@!}!})} }=}!}$}%\M-(}"}&} } } } }#}%\M-B#}%}%}&}0r\M-#l}'}"}(}"Z\M-a~
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Received: NO CARRIER
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:49:18 OS ppp[13274]: tun0: Chat: Received:
Dec 10 05:49:18 OS ppp[13274]: tun0: Warning: Chat script failed
Dec 10 05:49:18 OS ppp[13274]: tun0: Phase: deflink: dial -> hangup
Dec 10 05:49:18 OS ppp[13274]: tun0: Phase: deflink: Disconnected!
Dec 10 05:49:19 OS ppp[13274]: tun0: Phase: deflink: Connect time: 1 secs: 0 octets in, 0 octets out
Dec 10 05:49:19 OS ppp[13274]: tun0: Phase: deflink: 32 packets in, 21 packets out
Dec 10 05:49:19 OS ppp[13274]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Dec 10 05:49:18 2011
Dec 10 05:49:19 OS ppp[13274]: tun0: Phase: deflink: hangup -> closed
Dec 10 05:49:19 OS ppp[13274]: tun0: Phase: bundle: Dead

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2011-12-10 20:51

其实我也看不懂 daemon 日志的ppp相关记录

关键看你的
/etc/ppp/ppp.conf

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2011-12-28 11:00

今日补充,
Huawei 的3g设备 E180,E261兼容OpenBSD 5.0都可以在联通网络使用,城市里面测试下载速度可稳定在300KB/s

wkx9dragon
锌 Zn
帖子: 493
注册时间: 2010-02-02 18:00

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 wkx9dragon » 2011-12-29 10:25

怎么做到,我的1261只能拨号,然后就是不断的错误,也不知道到底是哪里出错了。看来还得好好学学习了。

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2012-04-05 20:18

ppp.conf增加adsl拨号部分,拨号方法同样是ppp -auto pppoe
<username> <password> 替换你的adsl帐号和密码,不用<>符号。
bge0改成你的网卡名字,更多信息man pppoe

pppoe:
set device "!/usr/sbin/pppoe -i bge0"
set mtu max 1492
set mru max 1492
set speed sync
disable acfcomp protocomp
deny acfcomp
set authname <username>
set authkey <password>
enable lqr
enable mssfixup
enable dns
add! default HISADDR

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网

帖子 f5b » 2012-04-11 8:14

补充,
1、中国电信adsl拨号成功拥有独立ip,除80端口外其他所有端口应该都开放,测试8080,22,443,ftp几个端口可用。
2、中国电信3g网卡拨号成功也有独立ip,80端口可用,其他几个端口都可用。
3、联通、移动的3g网卡拨号获取到的ip都是私网地址,无法对外服务。

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 1 访客