Android 4.4.2 Pptp VPN route&ifconfig ---SUCCESS (LG Nexus)
来源:互联网 发布:淘宝寄拍模特价格 编辑:程序博客网 时间:2024/05/27 20:46
Android 4.4.2 Pptp VPN route&ifconfig ---SUCCESS (LG Nexus)
1. root phone, can use "su"
root@mako:/system/xbin # ll
-rw-r----- root root 0 2014-02-21 08:44 abc.txt
-rwxr-xr-x root root 1847668 2014-02-21 08:51 busybox
-rwxr-xr-x root shell 59816 2013-12-10 02:41 dexdump
-rw-r--r-- root root 41 2008-08-01 12:00 ksud
-rwsr-sr-x root root 30864 2008-08-01 12:00 ku.sud
-rwsr-sr-x root root 30864 2008-08-01 12:00 su
2. remount
mount -w -o remount /dev/block/platform/msm_sdcc.1/by-name/system /system
3. adb push toolbox
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: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)
p2p0 Link encap:Ethernet HWaddr 02:11:22:97:F4:7F
UP BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.9.14 P-t-P:192.168.9.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1388 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:124 (124.0 B) TX bytes:344 (344.0 B)
wlan0 Link encap:Ethernet HWaddr 00:11:22:97:F4:7F
inet addr:192.168.28.163 Bcast:192.168.29.255 Mask:255.255.254.0
inet6 addr: fe80::211:22ff:fe97:f47f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:781 errors:0 dropped:0 overruns:0 frame:0
TX packets:191 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:141520 (138.2 KiB) TX bytes:20960 (20.4 KiB)
root@mako:/ # toolbox route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.28.1 0.0.0.0 UG 0 0 0 wlan0
192.168.9.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.28.0 * 255.255.254.0 U 0 0 0 wlan0
192.168.28.0 * 255.255.254.0 U 0 0 0 wlan0
192.168.28.1 * 255.255.255.255 UH 0 0 0 wlan0
1. root phone, can use "su"
root@mako:/system/xbin # ll
-rw-r----- root root 0 2014-02-21 08:44 abc.txt
-rwxr-xr-x root root 1847668 2014-02-21 08:51 busybox
-rwxr-xr-x root shell 59816 2013-12-10 02:41 dexdump
-rw-r--r-- root root 41 2008-08-01 12:00 ksud
-rwsr-sr-x root root 30864 2008-08-01 12:00 ku.sud
-rwsr-sr-x root root 30864 2008-08-01 12:00 su
2. remount
mount -w -o remount /dev/block/platform/msm_sdcc.1/by-name/system /system
3. adb push toolbox
root@mako:/ # toolbox ifconfig
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: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)
p2p0 Link encap:Ethernet HWaddr 02:11:22:97:F4:7F
UP BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.9.14 P-t-P:192.168.9.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1388 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:124 (124.0 B) TX bytes:344 (344.0 B)
wlan0 Link encap:Ethernet HWaddr 00:11:22:97:F4:7F
inet addr:192.168.28.163 Bcast:192.168.29.255 Mask:255.255.254.0
inet6 addr: fe80::211:22ff:fe97:f47f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:781 errors:0 dropped:0 overruns:0 frame:0
TX packets:191 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:141520 (138.2 KiB) TX bytes:20960 (20.4 KiB)
root@mako:/ # toolbox route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.28.1 0.0.0.0 UG 0 0 0 wlan0
192.168.9.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.28.0 * 255.255.254.0 U 0 0 0 wlan0
192.168.28.0 * 255.255.254.0 U 0 0 0 wlan0
192.168.28.1 * 255.255.255.255 UH 0 0 0 wlan0
0 0
- Android 4.4.2 Pptp VPN route&ifconfig ---SUCCESS (LG Nexus)
- Android 4.4.2 Pptp VPN connecting log ---SUCCESS (LG Nexus)
- android vpn pptp 自动切换VPN
- VPN column: PPTP(2)--PPTP协议解析
- VPN column: PPTP(2)--PPTP协议解析
- VPN column: PPTP(2)--PPTP协议解析
- VPN column: PPTP(2)--PPTP协议解析
- ifconfig route
- pptp vpn
- pptp vpn
- PPTP VPN
- Android 安卓 VPN设置 PPTP教程
- [Android] PPTP VPN客户端拨号操作步骤
- vpn route
- route Vpn
- Nexus 5 (LG D820,LG D821)区别
- routeros pptp vpn接触
- debian6 安装pptp vpn
- 安全会议--list
- lua函数递归
- 今年的WWDC,真的很难说
- VC子窗口不响应OnLButtonDown
- 对Android近期任务列表(Recent Applications)的简单分析
- Android 4.4.2 Pptp VPN route&ifconfig ---SUCCESS (LG Nexus)
- 菜鸟都能理解的线段树入门经典
- Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- ie10中元素超出父元素的宽度时不能自动隐藏
- android 增量更新之 服务端 附带java 调用示例
- 新年新气象
- windows下使用mongodb dos命令
- iOS字母排序、数字排序
- 微信Android客户端中表情雨效果的实现