免费注册 查看新帖 |

Chinaunix

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

[OpenBSD] OpenBSD的2G(移动GPRS EDGE)和3G(电信EVDO联通UMTS)上网 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-26 18:35 |只看该作者 |倒序浏览
本帖最后由 f5b 于 2011-08-25 17:45 编辑

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

一、测试环境

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

测试地点:广州

二、OpenBSD配置信息

1、/etc/ppp/ppp.conf

  1. default:
  2.   set log Phase Chat LCP IPCP CCP tun command
  3. ###
  4. chinatelcom:
  5.   set device /dev/cuaU0
  6.   set speed 1843200
  7.   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  8.            \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
  9.   set phone "#777"
  10.   set login
  11.   set authname ctnet@mycdma.cn
  12.   set authkey vnet.mobi
  13.   set timeout 120
  14.   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  15.   add default HISADDR
  16.   enable dns
  17. ###
  18. chinamobile:
  19.   set device /dev/cuaU0
  20.   set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  21.            \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"cmnet\\\" OK \\dATD\\T TIMEOUT 40 CONNECT"
  22.   set phone "*99#"
  23.   set speed 460800
  24.   set login
  25.   set timeout 0
  26.   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  27.   add default HISADDR
  28.   enable dns
  29. ###
  30. chinaunicom:
  31.   set device /dev/cuaU0
  32.   set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  33.            \"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"3gnet\\\" OK \\dATD\\T TIMEOUT 40 CONNECT"
  34.   set phone "*99#"
  35.   set speed 7200000
  36.   set login
  37.   set timeout 0
  38.   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  39.   add default HISADDR
  40.   enable dns
复制代码
2、冒号前chinatelecom\chinamobile\chinaunicom三个子项目名称可随意修改,但必须顶格,set字符前必须留空格。

3、中国电信的evdo上网用户名密码如下
set authname ctnet@mycdma.cn
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 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/m ... 386&format=html
http://www.openbsd.org/papers/opencon06-umts/index.html

论坛徽章:
0
2 [报告]
发表于 2010-06-27 14:19 |只看该作者
好帖 赞一个

论坛徽章:
20
CU大牛徽章
日期:2013-04-17 11:48:26羊年新春福章
日期:2015-03-10 22:39:202015年中国系统架构师大会
日期:2015-06-29 16:11:282015亚冠之平阳省
日期:2015-07-31 09:19:042015七夕节徽章
日期:2015-08-21 11:06:17IT运维版块每日发帖之星
日期:2015-09-30 06:20:002015亚冠之柏太阳神
日期:2015-10-19 20:29:5915-16赛季CBA联赛之天津
日期:2016-11-29 14:03:4315-16赛季CBA联赛之北控
日期:2016-12-24 20:51:492015年辞旧岁徽章
日期:2015-03-03 16:54:15双鱼座
日期:2015-01-12 20:58:532014年中国系统架构师大会
日期:2014-10-14 15:59:00
3 [报告]
发表于 2010-06-27 22:51 |只看该作者
好帖,顶一个

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-10-05 06:20:00操作系统版块每日发帖之星
日期:2015-10-05 06:20:00
4 [报告]
发表于 2010-06-28 00:13 |只看该作者
可惜现在给不了原创了,这个问题已经反映过了,但不知道啥时候能解决下来。

论坛徽章:
0
5 [报告]
发表于 2010-06-28 15:29 |只看该作者
very cool.

论坛徽章:
0
6 [报告]
发表于 2011-03-09 13:52 |只看该作者
我现在也在用3G拨号,在freebsd8.1下,但是始终不成功,请指教。


我的拨号过程如下:

sem# ppp
Loading /lib/libalias_cuseeme.so
Loading /lib/libalias_ftp.so
Loading /lib/libalias_irc.so
Loading /lib/libalias_nbt.so
Loading /lib/libalias_pptp.so
Loading /lib/libalias_skinny.so
Loading /lib/libalias_smedia.so
Working in interactive mode
Using interface: tun0
ppp ON sem> term
deflink: Entering terminal mode on /dev/cuaU0.0
Type `~?' for help
at
OK
atdt*99#
CONNECT 53600

(卡住在这里长时间不动了。)


我的ppp.conf文件内容如下:
==================================
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION

# Ensure that "device" references the correct serial port
# for your modem. (cuau0 = COM1, cuau1 = COM2)
#
set device /dev/cuaU0.0

set speed 460800
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180                        # 3 minute idle timer (the default)
enable dns                             # request DNS info (for resolv.conf)

papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#

set phone *99#

set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR                    # Add a (sticky) default route
====================================================

论坛徽章:
0
7 [报告]
发表于 2011-03-09 14:34 |只看该作者
接上面,

下面是我的拨号日志,

Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: read (0): Got zero bytes
Mar  9 06:28:49 sem ppp[1524]: tun0: CCP: deflink: State change Stopped --> Closed
Mar  9 06:28:49 sem ppp[1524]: tun0: CCP: deflink: State change Closed --> Initial
Mar  9 06:28:49 sem ppp[1524]: tun0: LCP: deflink: LayerDown
Mar  9 06:28:49 sem ppp[1524]: tun0: LCP: deflink: State change Opened --> Starting
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: open -> lcp
Mar  9 06:28:49 sem ppp[1524]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Mar  9 06:28:49 sem ppp[1524]: tun0: IPCP: deflink: State change Closed --> Initial
Mar  9 06:28:49 sem ppp[1524]: tun0: LCP: deflink: LayerFinish
Mar  9 06:28:49 sem ppp[1524]: tun0: LCP: deflink: State change Starting --> Initial
Mar  9 06:28:49 sem ppp[1524]: tun0: Warning: deflink: Unable to set physical to speed 0
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: Disconnected!
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: lcp -> logout
Mar  9 06:28:49 sem ppp[1524]: tun0: Warning: deflink: Unable to set physical to speed 0
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: Disconnected!
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: logout -> hangup
Mar  9 06:28:49 sem ppp[1524]: tun0: Warning: deflink: Unable to set physical to speed 0
Mar  9 06:28:49 sem ppp[1524]: tun0: Warning: deflink: tcsetattr: Unable to restore device settings
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: Connect time: 250 secs: 971 octets in, 971 octets out
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: 44 packets in, 45 packets out
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase:  total 7 bytes/sec, peak 143 bytes/sec on Wed Mar  9 06:24:48 2011
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: deflink: hangup -> closed
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: bundle: Dead
Mar  9 06:28:49 sem ppp[1524]: tun0: Phase: PPP Terminated (normal).
Mar  9 06:29:02 sem ppp[1535]: tun1: Phase: Signal 15, terminate.
Mar  9 06:29:02 sem ppp[1535]: tun1: Phase: PPP Terminated (normal).
Mar  9 06:29:41 sem ppp[1553]: Phase: Using interface: tun0
Mar  9 06:29:41 sem ppp[1553]: Phase: deflink: Created in closed state
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: set device /dev/cuaU0.0
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: 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
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: set phone *99#
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: set speed 460800
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: set login
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: set timeout 0
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: add default HISADDR
Mar  9 06:29:41 sem ppp[1553]: tun0: Command: mobile: enable dns
Mar  9 06:29:41 sem ppp[1554]: tun0: Phase: PPP Started (auto mode).
Mar  9 06:29:41 sem ppp[1554]: tun0: Phase: bundle: Establish
Mar  9 06:29:41 sem ppp[1554]: tun0: Phase: deflink: closed -> opening
Mar  9 06:29:41 sem ppp[1554]: tun0: Phase: deflink: Connected!
Mar  9 06:29:41 sem ppp[1554]: tun0: Phase: deflink: opening -> dial
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Phone: *99#
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: deflink: Dial attempt 1 of 1
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Send: ATZ^M
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Expect(5): OK
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Received: ATZ^M^M
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Received: OK^M
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Send: AT+CGDCONT=1,"IP","3gnet"^M
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Expect(5): OK
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Received: AT+CGDCONT=1,"IP","3gnet"^M^M
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Received: OK^M
Mar  9 06:29:41 sem ppp[1554]: tun0: Chat: Send: ATD*99#^M
Mar  9 06:29:43 sem ppp[1554]: tun0: Chat: Expect(40): CONNECT
Mar  9 06:29:43 sem ppp[1554]: tun0: Chat: Received: ATD*99#^M^M
Mar  9 06:29:43 sem ppp[1554]: tun0: Chat: Received: CONNECT 53600^M
Mar  9 06:29:43 sem ppp[1554]: tun0: Phase: deflink: dial -> carrier
Mar  9 06:29:44 sem ppp[1554]: tun0: Phase: deflink: /dev/cuaU0.0 doesn't support CD
Mar  9 06:29:44 sem ppp[1554]: tun0: Phase: deflink: carrier -> login
Mar  9 06:29:44 sem ppp[1554]: tun0: Phase: deflink: login -> lcp
Mar  9 06:29:44 sem ppp[1554]: tun0: LCP: FSM: Using "deflink" as a transport
Mar  9 06:29:44 sem ppp[1554]: tun0: LCP: deflink: State change Initial --> Closed
Mar  9 06:29:44 sem ppp[1554]: tun0: LCP: deflink: State change Closed --> Stopped
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: LayerStart
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACFCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  PROTOCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  MRU[4] 1500
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  MAGICNUM[6] 0x107aa045
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: RecvConfigReq(0) state = Req-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  MAGICNUM[6] 0x00f2a2bb
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  PROTOCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACFCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: SendConfigAck(0) state = Req-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  MAGICNUM[6] 0x00f2a2bb
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  PROTOCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACFCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACFCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  PROTOCOMP[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  MRU[4] 1500
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP:  MAGICNUM[6] 0x107aa045
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: LayerUp
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: bundle: Authenticate
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: RecvDiscardReq(1) state = Opened
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from UMTS_CHAP_SRVR)
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: Chap Output: RESPONSE ()
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: Chap Input: SUCCESS
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP: Using trigger address 0.0.0.0
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: FSM: Using "deflink" as a transport
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: deflink: State change Initial --> Closed
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: deflink: LayerStart.
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: MPPE: Not usable without CHAP81
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP:  DEFLATE[4] win 15
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP:  PRED1[2]
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: deflink: State change Closed --> Req-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: deflink: lcp -> open
Mar  9 06:29:45 sem ppp[1554]: tun0: Phase: bundle: Network
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP: FSM: Using "deflink" as a transport
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP: deflink: State change Initial --> Closed
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP: deflink: LayerStart.
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.14
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Mar  9 06:29:45 sem ppp[1554]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: RecvProtocolRej(2) state = Opened
Mar  9 06:29:45 sem ppp[1554]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Mar  9 06:29:45 sem ppp[1554]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(1) state = Req-Sent
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:46 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(2) state = Req-Sent
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(3) state = Req-Sent
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:47 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(3) state = Req-Sent
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(4) state = Req-Sent
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:48 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(4) state = Req-Sent
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(5) state = Req-Sent
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:49 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(5) state = Req-Sent
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(6) state = Req-Sent
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:50 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(6) state = Req-Sent
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(7) state = Req-Sent
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:51 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(7) state = Req-Sent
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq( state = Req-Sent
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:52 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak( state = Req-Sent
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(9) state = Req-Sent
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:53 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(9) state = Req-Sent
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  PRINBNS[6] 10.11.12.13
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP: MS NBNS req 130 - NAK??
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  SECNBNS[6] 10.11.12.14
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP: MS NBNS req 132 - NAK??
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP: Primary nameserver set to 10.11.12.13
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP: Secondary nameserver set to 10.11.12.14
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP: deflink: SendConfigReq(10) state = Req-Sent
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  PRIDNS[6] 10.11.12.13
Mar  9 06:29:54 sem ppp[1554]: tun0: IPCP:  SECDNS[6] 10.11.12.14
Mar  9 06:29:55 sem ppp[1554]: tun0: IPCP: deflink: RecvConfigNak(10) state = Req-Sent

论坛徽章:
0
8 [报告]
发表于 2011-03-09 22:03 |只看该作者
好文,收藏。

论坛徽章:
0
9 [报告]
发表于 2011-08-25 12:33 |只看该作者
今天更新过,增加huawei EC122 中国电信evdo上网,修改优化ppp.conf文件,哈
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP