Closed ScrewChineseCommunist closed 9 years ago
能否回滚到原来的逐步安装配置版本?现在整个编译或安装一旦有问题连日志都看不到。
按照提示信息似乎是无法解压ipk包得到安装脚本(control file 我是这样理解的),很有可能你需要重新下载完整的ipk包然后上传安装
看提示应该是文件没有下全,如果你的路由器空间不紧张的话,可以安装完整版的wget,直接在路由器上下载安装。
opkg update
opkg install wget
wget --no-check-certificate -O /tmp/gfw-vpn_0.2_all.ipk https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-dns_0.1.2_all.ipk?raw=true
md5sum /tmp/gfw-vpn_0.2_all.ipk
opkg install /tmp/gfw-vpn_0.2_all.ipk
gfw-vpn_0.2_all.ipk 的 md5码应该是 21920141a1b7f0f5e11be43be6f0e8c7 19c79e36007b028bd07f2d53a1a2cfc8
至于查看原来的逐步安装配置版,可以查看项目的commits记录, https://github.com/hackgfw/openwrt-gfw/tree/069ddd2cbd66eba52eb8d83eb5c276307c683c5a 这个是项目去年的状态
UPDATE:修正链接和md5码
root@OpenWrt:~# wget -O /tmp/gfw-vpn_0.2_all.ipk http://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk --2014-12-08 15:07:15-- http://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Resolving github.com... 192.30.252.131 Connecting to github.com|192.30.252.131|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk [following] --2014-12-08 15:07:16-- https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Connecting to github.com|192.30.252.131|:443... connected. ERROR: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. To connect to github.com insecurely, use `--no-check-certificate'. root@OpenWrt:~# wget -O /tmp/gfw-vpn_0.2_all.ipk http://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk --no-check-certificate --2014-12-08 15:07:38-- http://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Resolving github.com... 192.30.252.131 Connecting to github.com|192.30.252.131|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk [following] --2014-12-08 15:07:40-- https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Connecting to github.com|192.30.252.131|:443... connected. WARNING: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: '/tmp/gfw-vpn_0.2_all.ipk'
/tmp/gfw-vpn_0.2_all.ipk [ <=> ] 23.84K 74.5KB/s in 0.3s
2014-12-08 15:07:42 (74.5 KB/s) - '/tmp/gfw-vpn_0.2_all.ipk' saved [24409]
root@OpenWrt:~# md5sum /tmp/gfw-vpn_0.2_all.ipk 6b8e3a54813a9b8ce231be73dbbfe618 /tmp/gfw-vpn_0.2_all.ipk root@OpenWrt:~# wget -O /tmp/gfw-vpn_0.2_all.ipk https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk --2014-12-08 15:09:30-- https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Resolving github.com... 192.30.252.131 Connecting to github.com|192.30.252.131|:443... connected. ERROR: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. To connect to github.com insecurely, use `--no-check-certificate'. root@OpenWrt:~# wget -O /tmp/gfw-vpn_0.2_all.ipk https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk --no-check-certificate --2014-12-08 15:09:38-- https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Resolving github.com... 192.30.252.131 Connecting to github.com|192.30.252.131|:443... connected. WARNING: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: '/tmp/gfw-vpn_0.2_all.ipk'
/tmp/gfw-vpn_0.2_all.ipk [ <=> ] 23.84K 14.1KB/s in 1.7s
2014-12-08 15:09:42 (14.1 KB/s) - '/tmp/gfw-vpn_0.2_all.ipk' saved [24409]
root@OpenWrt:~# md5sum /tmp/gfw-vpn_0.2_all.ipk 9be6cfb8b769e540d1df220bdd34ba84 /tmp/gfw-vpn_0.2_all.ipk
root@OpenWrt:~# rm /tmp/gfw-vpn_0.2_all.ipk root@OpenWrt:~# wget -O /tmp/gfw-vpn_0.2_all.ipk https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk --no-check-certificate --2014-12-08 15:11:27-- https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-vpn_0.2_all.ipk Resolving github.com... 192.30.252.131 Connecting to github.com|192.30.252.131|:443... connected. WARNING: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: '/tmp/gfw-vpn_0.2_all.ipk'
/tmp/gfw-vpn_0.2_all.ipk [ <=> ] 23.84K 7.38KB/s in 3.2s
2014-12-08 15:11:34 (7.38 KB/s) - '/tmp/gfw-vpn_0.2_all.ipk' saved [24409]
root@OpenWrt:~# md5sum /tmp/gfw-vpn_0.2_all.ipk e5f6022d19427148562a9ffb98aae3f8 /tmp/gfw-vpn_0.2_all.ipk
怎么每次的md5sum值都不一样。。。WTFFF
不好意思,链接打错了,当时没有仔细检查,正确应该是
wget --no-check-certificate -O /tmp/gfw-vpn_0.2_all.ipk https://github.com/hackgfw/openwrt-gfw/blob/master/gfw/gfw-dns_0.1.2_all.ipk?raw=true
另外文件大小应该是 2297 字节,md5码是 19c79e36007b028bd07f2d53a1a2cfc8
装好了,还是没任何日志输出。。。准备逐步安装配置再试试,还不行的话就是优化内核的问题了。。。
root@OpenWrt:~# opkg install ppp-mod-pptp ip ipset iptables-mod-ipopt Installing ppp-mod-pptp (2.4.7-2) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ppp-mod-pptp_2.4.7-2_ar71xx.ipk. Installing ip (3.15.0-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ip_3.15.0-1_ar71xx.ipk. Installing ipset (6.20.1-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ipset_6.20.1-1_ar71xx.ipk. Installing iptables-mod-ipopt (1.4.21-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/iptables-mod-ipopt_1.4.21-1_ar71xx.ipk. Configuring ip. Collected errors:
14.07测试过优化内核吗?怎么iptables-mod-ipopt都装不上去了。。。
root@OpenWrt:~# opkg install ppp-mod-pptp ip ipset iptables-mod-ipopt --force-depends Installing ppp-mod-pptp (2.4.7-2) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ppp-mod-pptp_2.4.7-2_ar71xx.ipk. ^CInterrupted. Writing out status database. root@OpenWrt:~# opkg install ppp-mod-pptp ip ipset iptables-mod-ipopt --force-depends Installing ppp-mod-pptp (2.4.7-2) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ppp-mod-pptp_2.4.7-2_ar71xx.ipk. Installing kmod-pptp (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-pptp_3.10.49-1_ar71xx.ipk. Installing kmod-gre (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-gre_3.10.49-1_ar71xx.ipk. Installing kmod-iptunnel (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-iptunnel_3.10.49-1_ar71xx.ipk. Installing kmod-mppe (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-mppe_3.10.49-1_ar71xx.ipk. Installing kmod-crypto-sha1 (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-crypto-sha1_3.10.49-1_ar71xx.ipk. Installing kmod-crypto-hash (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-crypto-hash_3.10.49-1_ar71xx.ipk. Installing kmod-crypto-ecb (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-crypto-ecb_3.10.49-1_ar71xx.ipk. Installing kmod-crypto-manager (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-crypto-manager_3.10.49-1_ar71xx.ipk. Installing kmod-crypto-pcompress (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-crypto-pcompress_3.10.49-1_ar71xx.ipk. Installing resolveip (2) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/resolveip_2_ar71xx.ipk. Package ip (3.15.0-1) installed in root is up to date. Installing ipset (6.20.1-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/ipset_6.20.1-1_ar71xx.ipk. Installing kmod-ipt-ipset (3.10.49+6.20.1-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-ipt-ipset_3.10.49+6.20.1-1_ar71xx.ipk. Installing kmod-nfnetlink (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-nfnetlink_3.10.49-1_ar71xx.ipk. Installing libmnl (1.0.3-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/libmnl_1.0.3-1_ar71xx.ipk. Installing iptables-mod-ipopt (1.4.21-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/iptables-mod-ipopt_1.4.21-1_ar71xx.ipk. Installing kmod-ipt-ipopt (3.10.49-1) to root... Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base/kmod-ipt-ipopt_3.10.49-1_ar71xx.ipk. Configuring kmod-crypto-hash. Configuring kmod-crypto-pcompress. Configuring kmod-crypto-manager. Configuring kmod-nfnetlink. Configuring kmod-iptunnel. kmod: failed to insert /lib/modules/3.10.49/ip_tunnel.ko Configuring kmod-gre. kmod: failed to insert /lib/modules/3.10.49/ip_gre.ko Configuring libmnl. Configuring resolveip. Configuring kmod-pptp. Configuring kmod-ipt-ipopt. Configuring iptables-mod-ipopt. Configuring kmod-ipt-ipset. kmod: failed to insert /lib/modules/3.10.49/ip_set.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_bitmap_ip.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_bitmap_ipmac.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_bitmap_port.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_ip.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_ipport.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_ipportip.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_ipportnet.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_net.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_netiface.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_hash_netport.ko kmod: failed to insert /lib/modules/3.10.49/ip_set_list_set.ko kmod: failed to insert /lib/modules/3.10.49/xt_set.ko Configuring ipset. Configuring kmod-crypto-sha1. Configuring kmod-crypto-ecb. Configuring kmod-mppe. Configuring ppp-mod-pptp. Collected errors:
看提示应该是你用的内核和http://downloads.openwrt.org/barrier_breaker/14.07不符, 你是用 http://downloads.openwrt.org/barrier_breaker/14.07 下载的固件刷机的吗?
我用了你优化过的patch编译的内核啊,不然费这么大劲干嘛。。。
如果是自己编译的内核,是用不了 http://downloads.openwrt.org/barrier_breaker/14.07 上的内核模块,如果你发现有某些模块没编译/安装,只能重新编译/安装. 不过用户态程序没有这个限制,你可以使用自编内核+官网的用户态程序
另外你好像没有在编译的时候把 kmod-pptp 编译进内核,,如果你准备用自编译内核,,最好一开始就把所有需要的内核模块编译进固件里。
都有哪些是内核模块?
以 kmod 开头的包都是内核模块
kmod-iptunnel在哪个目录里?kernel的子目录都看了一遍,找不到。。。只有个kmod-iptunnel6
我看了下 kmod-iptunnel ,这个包貌似没有放到分类列表里,不过你可以用搜索找到: 先执行 make menuconfig 进入buildroot,然后按 "/" 输入 kmod-iptunnel 就可以看到这个包了 ,例如:
Symbol: PACKAGE_kmod-iptunnel [=y]
Type : tristate
Selected by: PACKAGE_kmod-gre [=y] || PACKAGE_kmod-gre6 [=n] && !LINUX_3_3 && !LINUX_3_6 || PACKAGE_kmod-ipip [=n]......
Symbol: PACKAGE_kmod-iptunnel 后面的 [=y] 表示这个包会被编译到固件里 Selected by: PACKAGE_kmod-gre [=y] 表示如果kmod-gre被编译到固件里,那么kmod-iptunnel也会被编译到固件里
嗯。已经逐步安装配置好,并且可以看到/var/log/ppp和ifconfig -a pptp-wall了,流量也跑的蹭蹭蹭,但google、youtube连不上。因为一直用sysupgrade,以前编译的gfw-vpn的配置文件还保留着,所以重新用 mtd -r write /tmp/openwrt-ar71xx-generic-mw4530r-v1-squashfs-sysupgrade.bin firmware 覆盖了一下,再逐步安装配置好,再刷google非常慢,十分钟也只有几十kb。这是什么情况?
Plugin pptp.so loaded.
PPTP plugin version 1.00
pptp: call manager for 108.x.x.x
window size: 50
call id: 1
control connection
unix_sock
Sent control packet type is 1 'Start-Control-Connection-Request'
Received Start Control Connection Reply
Client connection established.
Sent control packet type is 7 'Outgoing-Call-Request'
Received Outgoing Call Reply.
Outgoing call established (call ID 1, peer's call ID 14336).
using channel 1
Using interface pptp-wall
Connect: pptp-wall <--> pptp (108.x.x.x)
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x793ce667>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x793ce667>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>
在 pptp-wall 建立后,可以执行 cat /proc/pptp/pptp-wall 查看统计信息,ping VPN的网关看是否丢包太高。另外就是域名防污染是否已正常工作?
yuangg@kingston:~$ ping google.com PING google.com (173.194.127.163) 56(84) bytes of data. 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=1 ttl=41 time=276 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=2 ttl=41 time=278 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=3 ttl=41 time=276 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=4 ttl=41 time=274 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=5 ttl=41 time=277 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=7 ttl=41 time=292 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=8 ttl=41 time=342 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=9 ttl=41 time=347 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=11 ttl=41 time=319 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=12 ttl=41 time=309 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=13 ttl=41 time=292 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=14 ttl=41 time=277 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=15 ttl=41 time=278 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=16 ttl=41 time=276 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=17 ttl=41 time=278 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=18 ttl=41 time=278 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=19 ttl=41 time=279 ms 64 bytes from hkg03s14-in-f3.1e100.net (173.194.127.163): icmp_seq=20 ttl=41 time=277 ms ^C --- google.com ping statistics --- 20 packets transmitted, 18 received, 10% packet loss, time 19013ms rtt min/avg/max/mdev = 274.833/290.848/347.840/22.747 ms
root@OpenWrt:~# ping 10.0.1.1 PING 10.0.1.1 (10.0.1.1): 56 data bytes 64 bytes from 10.0.1.1: seq=0 ttl=64 time=151.724 ms 64 bytes from 10.0.1.1: seq=1 ttl=64 time=155.740 ms 64 bytes from 10.0.1.1: seq=2 ttl=64 time=152.426 ms 64 bytes from 10.0.1.1: seq=3 ttl=64 time=150.974 ms 64 bytes from 10.0.1.1: seq=4 ttl=64 time=149.563 ms 64 bytes from 10.0.1.1: seq=5 ttl=64 time=148.718 ms 64 bytes from 10.0.1.1: seq=6 ttl=64 time=148.590 ms 64 bytes from 10.0.1.1: seq=7 ttl=64 time=148.119 ms 64 bytes from 10.0.1.1: seq=8 ttl=64 time=150.254 ms 64 bytes from 10.0.1.1: seq=9 ttl=64 time=151.726 ms 64 bytes from 10.0.1.1: seq=10 ttl=64 time=150.405 ms 64 bytes from 10.0.1.1: seq=11 ttl=64 time=149.047 ms 64 bytes from 10.0.1.1: seq=12 ttl=64 time=149.311 ms 64 bytes from 10.0.1.1: seq=13 ttl=64 time=1150.723 ms 64 bytes from 10.0.1.1: seq=14 ttl=64 time=150.393 ms 64 bytes from 10.0.1.1: seq=15 ttl=64 time=151.235 ms 64 bytes from 10.0.1.1: seq=16 ttl=64 time=1160.065 ms 64 bytes from 10.0.1.1: seq=17 ttl=64 time=159.856 ms 64 bytes from 10.0.1.1: seq=18 ttl=64 time=152.055 ms 64 bytes from 10.0.1.1: seq=19 ttl=64 time=150.363 ms 64 bytes from 10.0.1.1: seq=20 ttl=64 time=150.176 ms ^C --- 10.0.1.1 ping statistics --- 21 packets transmitted, 21 packets received, 0% packet loss round-trip min/avg/max = 148.119/246.736/1160.065 ms
root@OpenWrt:~# cat /proc/pptp/pptp-wall Accepted: 1581 Under Window: 0 Buffered: 801 Duplicated: 0 Lost: 308
到我的网关(10.0.1.1)正常,ping google也正常,但是刷google会提示: The connection to www.google.com was interrupted. Check your Internet connection Check any cables and reboot any routers, modems, or other network devices you may be using. Allow Chromium to access the network in your firewall or antivirus settings. If it is already listed as a program allowed to access the network, try removing it from the list and adding it again. If you use a proxy server... Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Chromium menu > Settings > Show advanced settings... > Change proxy settings... and make sure your configuration is set to "no proxy" or "direct." Error code: ERR_CONNECTION_RESET
在/etc/config/network里注掉wall,重启network,用电脑登录vpn,可以正常访问173.194.127.163,是google首页。所以应该不是dns污染的问题,也不是vpn的问题,而这条内容就是用vpn发的。
若挂着pptp-wall所有国外网站包括github都无法访问
Plugin pptp.so loaded.
PPTP plugin version 1.00
pptp: call manager for fkccp.fkccp.fkccp.fkccp
window size: 50
call id: 1
control connection
unix_sock
Sent control packet type is 1 'Start-Control-Connection-Request'
Received Start Control Connection Reply
Client connection established.
Sent control packet type is 7 'Outgoing-Call-Request'
Received Outgoing Call Reply.
Outgoing call established (call ID 1, peer's call ID 640).
using channel 1
Using interface pptp-wall
Connect: pptp-wall <--> pptp (fkccp.fkccp.fkccp.fkccp)
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2d08dd9f>]
read returned zero, peer has closed
Closing connection (shutdown)
Sent control packet type is 12 'Call-Clear-Request'
read returned zero, peer has closed
Closing connection (call state)
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup
pptp: call manager for fkccp.fkccp.fkccp.fkccp
window size: 50
call id: 2
control connection
unix_sock
Sent control packet type is 1 'Start-Control-Connection-Request'
Received Start Control Connection Reply
Client connection established.
Sent control packet type is 7 'Outgoing-Call-Request'
Received Outgoing Call Reply.
using channel 2
Outgoing call established (call ID 2, peer's call ID 768).
Using interface pptp-wall
Connect: pptp-wall <--> pptp (fkccp.fkccp.fkccp.fkccp)
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x995aa2da>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>
root@OpenWrt:~# cat /proc/pptp/pptp-wall
Accepted: 1581
Under Window: 0
Buffered: 801
Duplicated: 0
Lost: 308
首先从这个统计信息看丢包非常多,丢包率大概是 307/(1581+307) = 16%,这么高的丢包率会导致网页打开非常慢。
另外你提到电脑上能打开 google,我估计可能和 https://github.com/hackgfw/openwrt-gfw/issues/5#issuecomment-27190060 是一个问题,你可以在 pptp-wall 建立后再执行
ifconfig pptp-wall mtu 1000
调整下mtu试试看,如果还不行的话可以用 tcpdump 抓包看下。
果然啊!以前恐怕也是这个问题吧!早知道早解脱了。。。但只有google能访问,facebook/twitter/youtube还不行。我再看看以前的帖子吧。
root@OpenWrt:~# opkg install /tmp/gfw-vpn_0.2_all.ipk Collected errors:
root@OpenWrt:~# opkg install /tmp/gfw-vpn_0.2_all.ipk --force-depends Collected errors: