VPN doesn't working on ICS Aurora - Huawei Ideos X5 U8800

VPN doesn't working on ICS Aurora, here's the log msg from server side.
Any solutions?
Code:
Mar 6 13:05:47 ubuntu pptpd[10894]: CTRL: Starting call (launching pppd, opening GRE)
Mar 6 13:05:47 ubuntu pppd[10895]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Mar 6 13:05:47 ubuntu pppd[10895]: pppd 2.4.5 started by root, uid 0
Mar 6 13:05:47 ubuntu pppd[10895]: Using interface ppp0
Mar 6 13:05:47 ubuntu pppd[10895]: Connect: ppp0 <--> /dev/pts/1
Mar 6 13:05:47 ubuntu pptpd[10894]: GRE: Bad checksum from pppd.
Mar 6 13:05:47 ubuntu pptpd[10894]: CTRL: EOF or bad error reading ctrl packet length.
Mar 6 13:05:47 ubuntu pptpd[10894]: CTRL: couldn't read packet header (exit)
Mar 6 13:05:47 ubuntu pptpd[10894]: CTRL: CTRL read failed
Mar 6 13:05:47 ubuntu pptpd[10894]: CTRL: Reaping child PPP[10895]
Mar 6 13:05:47 ubuntu pppd[10895]: Hangup (SIGHUP)
Mar 6 13:05:47 ubuntu pppd[10895]: Modem hangup
Mar 6 13:05:47 ubuntu pppd[10895]: Connection terminated.
Mar 6 13:05:47 ubuntu pppd[10895]: Exit.

Related

SQUAT failed to open index file

Hi,
everytime I try to connect to my Postfix Server (with Cyrus IMAP) I get the following "error"
Code:
/var/log/mail.log
Apr 21 02:49:47 h137XXXX cyrus/imap[11563]: accepted connection
Apr 21 02:49:51 h137XXXX cyrus/imap[11563]: client id: "vendor" "Microsoft" "os" "Windows Mobile" "os-version" "5.2" "os-revision" "0.7.2" "guid" "294b479XXXXb91003c10fcXXXXb5f4a20a657c09"
Apr 21 02:49:52 h137XXXX cyrus/imap[11562]: seen_db: user XXX opened /var/lib/cyrus/user/c/XXX.seen
Apr 21 02:49:52 h137XXXX cyrus/imap[11562]: open: user XXX opened INBOX
Apr 21 02:49:53 h137XXXX cyrus/imap[11563]: login: 16.106.113.82.net.de.o2.com [82.113.106.16] XXX plaintext User logged in
Apr 21 02:49:54 h137XXXX cyrus/imap[11562]: SQUAT failed to open index file
Apr 21 02:49:54 h137XXXX cyrus/imap[11562]: SQUAT failed
Any idea what is going wrong? Using a Prophet with Windows Mobile 6 (Shadow 1.0).
I know its more or less a Linux question, but an XDA is involved
(/usr/lib/cyrus/bin/reconstruct -r user.XXX - had no effect at all)

[Q] OpenVPN para Milestone 2

Alguem já consegui instalar e usar o OpenVPN no milestone 2 com android 2.2 ? podem explicar como fizeram ?
Obrigado
Um. Yah. Might try English.
Sent from my DROID2 using XDA App
I believe he's looking for an explanation on how to use OpenVPN for the milestone 2 or he wants to know how it's made. not sure which. It is Portuguese though.
Sorry,
I am unable to use the openvpn milestone in February with android 2.2
I installed openvpn and openvpn sentings install, busybox.
The options are
Load kernel module tun
lsnmod 'system / lib / modules / tun
Path to configurations
/ sdcard / openvpn
Path to binary openvpn
/ system / xbin / openpvn
client.conf
client
fast-io
dev tun
proto tcp
nobind
remote XXX.XXX.XXX.XXX: 1194
route-method exe
route-delay 2
resolv-retry infinite
persist-key
persist-tun
auth-user-pass
ca / sdcard / openvpn / turquesa.cer
comp-lzo
verb 3
Status / sdcard / openvpn / openvpn_status.log
log-append / sdcard / openvpn / openvpn.log
The error is this
Sun Feb 13 14:38:18 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Feb 13 14:38:18 2011 NOTE: --fast-io is disabled since we are not using UDP
Sun Feb 13 14:38:18 2011 LZO compression initialized
Sun Feb 13 14:38:18 2011 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sun Feb 13 14:38:18 2011 MANAGEMENT: >STATE:1297618698,RESOLVE,,,
Sun Feb 13 14:38:18 2011 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Feb 13 14:38:18 2011 Local Options hash (VER=V4): '69109d17'
Sun Feb 13 14:38:18 2011 Expected Remote Options hash (VER=V4): 'c0103fa8'
Sun Feb 13 14:38:18 2011 Attempting to establish TCP connection with 189.71.249.81:443 [nonblock]
Sun Feb 13 14:38:18 2011 MANAGEMENT: >STATE:1297618698,TCP_CONNECT,,,
Sun Feb 13 14:38:18 2011 MANAGEMENT: CMD 'bytecount 0'
Sun Feb 13 14:38:19 2011 MANAGEMENT: CMD 'bytecount 0'
Sun Feb 13 14:38:20 2011 TCP connection established with XXX.XXX.XXX.XXX:1194
Sun Feb 13 14:38:20 2011 Socket Buffers: R=[131072->131072] S=[131072->131072]
Sun Feb 13 14:38:20 2011 TCPv4_CLIENT link local: [undef]
Sun Feb 13 14:38:20 2011 TCPv4_CLIENT link remote: XXX.XXX.XXX.XXX:1194
Sun Feb 13 14:38:20 2011 MANAGEMENT: >STATE:1297618700,WAIT,,,
Sun Feb 13 14:38:20 2011 MANAGEMENT: CMD 'bytecount 0'
Sun Feb 13 14:38:20 2011 MANAGEMENT: >STATE:1297618700,AUTH,,,
Sun Feb 13 14:38:20 2011 TLS: Initial packet from XXX.XXX.XXX.XXX:1194, sid=9e42ad84 c9a371e6
Sun Feb 13 14:38:20 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Feb 13 14:38:20 2011 MANAGEMENT: CMD 'bytecount 0'
Sun Feb 13 14:38:21 2011 VERIFY OK: depth=1, /C=IT/O=efw/CN=efw_CA
Sun Feb 13 14:38:21 2011 VERIFY OK: depth=0, /C=IT/O=efw/CN=127.0.0.1
Sun Feb 13 14:38:23 2011 WARNING: 'dev-type' is used inconsistently, local='dev-type tun', remote='dev-type tap'
Sun Feb 13 14:38:23 2011 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1544', remote='link-mtu 1576'
Sun Feb 13 14:38:23 2011 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
Sun Feb 13 14:38:23 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Feb 13 14:38:23 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Feb 13 14:38:23 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Feb 13 14:38:23 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Feb 13 14:38:23 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sun Feb 13 14:38:23 2011 [127.0.0.1] Peer Connection Initiated with 189.71.249.81:443
Sun Feb 13 14:38:24 2011 MANAGEMENT: >STATE:1297618704,GET_CONFIG,,,
Sun Feb 13 14:38:24 2011 MANAGEMENT: CMD 'bytecount 0'
Sun Feb 13 14:38:26 2011 SENT CONTROL [127.0.0.1]: 'PUSH_REQUEST' (status=1)
Sun Feb 13 14:38:26 2011 PUSH: Received control message: 'PUSH_REPLY,route-gateway 192.168.0.0,route 192.168.0.0 255.255.255.0,route-gateway 192.168.0.0,ping 8,ping-restart 30,ifconfig 192.168.0.240 255.255.255.0'
Sun Feb 13 14:38:26 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:2: route (2.1.1)
Sun Feb 13 14:38:26 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: ifconfig (2.1.1)
Sun Feb 13 14:38:26 2011 OPTIONS IMPORT: timers and/or timeouts modified
Sun Feb 13 14:38:26 2011 OPTIONS IMPORT: route-related options modified
Sun Feb 13 14:38:26 2011 Note: Cannot open TUN/TAP dev /dev/tun: No such file or directory (errno=2)
Sun Feb 13 14:38:26 2011 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sun Feb 13 14:38:26 2011 MANAGEMENT: Client disconnected
Sun Feb 13 14:38:26 2011 Cannot allocate TUN/TAP dev dynamically
Sun Feb 13 14:38:26 2011 Exiting
Thiago
You might want to put. " CODE /CODE " (with brackets around both without perenths) tags around that for readability and space.
Sent from my DROID2 using XDA App

[Problem] [CM9] Cannot open TUN/TAP dev openvpn: No such file or directory (errno=2)

Hello!
I have installed app "OpenVPN Settings" to setup a VPN connection to my OpenVPN server.
When I start the app, I can see this in the corresponding client log:
Sat Jun 30 11:21:28 2012 OpenVPN 2.2.2 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Jun 24 2012
Sat Jun 30 11:21:28 2012 MANAGEMENT: TCP Socket listening on 127.0.0.1:26370
Sat Jun 30 11:21:28 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Jun 30 11:21:28 2012 Need password(s) from management interface, waiting...
Sat Jun 30 11:21:31 2012 MANAGEMENT: Client connected from 127.0.0.1:26370
Sat Jun 30 11:21:31 2012 MANAGEMENT: CMD 'state'
Sat Jun 30 11:21:31 2012 MANAGEMENT: CMD 'state on'
Sat Jun 30 11:21:31 2012 MANAGEMENT: CMD 'bytecount 0'
Sat Jun 30 11:21:58 2012 MANAGEMENT: CMD 'password [...]'
Sat Jun 30 11:21:59 2012 WARNING: file '/sdcard/openvpn/mobile2.key' is group or others accessible
Sat Jun 30 11:21:59 2012 WARNING: file '/sdcard/openvpn/static.key' is group or others accessible
Sat Jun 30 11:21:59 2012 Control Channel Authentication: using '/sdcard/openvpn/static.key' as a OpenVPN static key file
Sat Jun 30 11:21:59 2012 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Jun 30 11:21:59 2012 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Jun 30 11:21:59 2012 LZO compression initialized
Sat Jun 30 11:21:59 2012 Control Channel MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sat Jun 30 11:21:59 2012 Socket Buffers: R=[110592->131072] S=[110592->131072]
Sat Jun 30 11:21:59 2012 MANAGEMENT: >STATE:1341048119,RESOLVE,,,
Sat Jun 30 11:21:59 2012 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Sat Jun 30 11:21:59 2012 Local Options hash (VER=V4): '13a273ba'
Sat Jun 30 11:21:59 2012 Expected Remote Options hash (VER=V4): '360696c5'
Sat Jun 30 11:21:59 2012 UDPv4 link local: [undef]
Sat Jun 30 11:21:59 2012 UDPv4 link remote: 77.2.182.171:1194
Sat Jun 30 11:21:59 2012 MANAGEMENT: >STATE:1341048119,WAIT,,,
Sat Jun 30 11:21:59 2012 MANAGEMENT: CMD 'bytecount 0'
Sat Jun 30 11:21:59 2012 MANAGEMENT: CMD 'bytecount 0'
Sat Jun 30 11:22:00 2012 MANAGEMENT: >STATE:1341048120,AUTH,,,
Sat Jun 30 11:22:00 2012 TLS: Initial packet from 77.2.182.171:1194, sid=6be307be 1c6229c8
Sat Jun 30 11:22:00 2012 MANAGEMENT: CMD 'bytecount 0'
Sat Jun 30 11:22:02 2012 VERIFY OK: depth=1, /C=DE/ST=BW/L=location/O=OpenVPN/OU=orga/CN=orga/name=orga/[email protected]
Sat Jun 30 11:22:02 2012 VERIFY OK: nsCertType=SERVER
Sat Jun 30 11:22:02 2012 VERIFY OK: depth=0, /C=DE/ST=BW/L=location/O=OpenVPN/OU=orga/CN=net1/name=orga/[email protected]
Sat Jun 30 11:22:08 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Jun 30 11:22:08 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Jun 30 11:22:08 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Jun 30 11:22:08 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Jun 30 11:22:08 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sat Jun 30 11:22:08 2012 [net1] Peer Connection Initiated with 77.2.182.171:1194
Sat Jun 30 11:22:09 2012 MANAGEMENT: >STATE:1341048129,GET_CONFIG,,,
Sat Jun 30 11:22:09 2012 MANAGEMENT: CMD 'bytecount 0'
Sat Jun 30 11:22:10 2012 SENT CONTROL [net1]: 'PUSH_REQUEST' (status=1)
Sat Jun 30 11:22:10 2012 PUSH: Received control message: 'PUSH_REPLY,route-gateway 192.168.178.1,route 192.168.178.0 255.255.255.0,route 192.168.178.1,ping 10,ping-restart 120,ifconfig 192.168.178.101 255.255.255.0'
Sat Jun 30 11:22:10 2012 OPTIONS IMPORT: timers and/or timeouts modified
Sat Jun 30 11:22:10 2012 OPTIONS IMPORT: --ifconfig/up options modified
Sat Jun 30 11:22:10 2012 OPTIONS IMPORT: route options modified
Sat Jun 30 11:22:10 2012 OPTIONS IMPORT: route-related options modified
Sat Jun 30 11:22:10 2012 ROUTE default_gateway=10.66.180.1
Sat Jun 30 11:22:10 2012 Note: Cannot open TUN/TAP dev openvpn: No such file or directory (errno=2)
Sat Jun 30 11:22:10 2012 MANAGEMENT: >STATE:1341048130,ASSIGN_IP,,192.168.178.101,
Sat Jun 30 11:22:10 2012 /system/bin/ip link set dev up mtu 1500
Usage: ip link add [link DEV] [ name ] NAME
[ txqueuelen PACKETS ]
[ address LLADDR ]
[ broadcast LLADDR ]
[ mtu MTU ]
type TYPE [ ARGS ]
ip link delete DEV type TYPE [ ARGS ]
ip link set { dev DEVICE | group DEVGROUP } [ { up | down } ]
[ arp { on | off } ]
[ dynamic { on | off } ]
[ multicast { on | off } ]
[ allmulticast { on | off } ]
[ promisc { on | off } ]
[ trailers { on | off } ]
[ txqueuelen PACKETS ]
[ name NEWNAME ]
[ address LLADDR ]
[ broadcast LLADDR ]
[ mtu MTU ]
[ netns PID ]
[ netns NAME ]
[ alias NAME ]
[ vf NUM [ mac LLADDR ]
[ vlan VLANID [ qos VLAN-QOS ] ]
[ rate TXRATE ] ]
[ spoofchk { on | off} ] ]
[ master DEVICE ]
[ nomaster ]
ip link show [ DEVICE | group GROUP ]
TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can | bridge }
Sat Jun 30 11:22:10 2012 MANAGEMENT: Client disconnected
Sat Jun 30 11:22:10 2012 Linux ip link set failed: external program exited with error status: 255
Sat Jun 30 11:22:10 2012 Exiting
My understanding is that the tun-module is not used / loaded.
Checking on the device with lsmod, I get this output:
[email protected]:/ $ lsmod
Si4709_driver 17043 0 - Live 0xbf015000
j4fs 65970 1 - Live 0xbf000000 (P)
Is there a known problem or bug with tun-module with CM9?
I thought tun is not integrated in the kernel?
If this is wrong or simply not working, I assume I have to install a tun.ko on the device in /system/lib/modules. Where can I get this file?
Or is it advised to install another kernel?
If yes, which kernel is recommended?
THX
RESOLVED
Modification of client configuration:
comment out parameter
dev-node openvpn

LG G2 D802 bricked with QHSUSB__BULK after trying to flash new recovery

When trying to change to bootloader to kitkat using the file "BLChanger-d802_5_6-nevax-2.3.2-signed.zip" I got a brick on the D802. Can't enter into recovery or download or operating system. The screen stays on but black, and when I connect the phone to the computer to restore the partitions with dd it does a bootloop that stops as soon as I disconnect it from the usb port. I'm following this thread:
http://forum.xda-developers.com/showthread.php?t=2582142
It's very weird that the g2 reboots continuously when connected to the computer but doesn't when not. I can't effectively restore the partitions with dd. This is the log:
Code:
Jun 8 12:67:08 ubuntu kernel: [ 3950.009662] usb 2-1.2: new high-speed USB device number 101 using ehci-pci
Jun 8 12:67:08 ubuntu kernel: [ 3950.102338] usb 2-1.2: config 1 has an invalid interface number: 20 but max is 1
Jun 8 12:67:08 ubuntu kernel: [ 3950.102346] usb 2-1.2: config 1 has no interface number 1
Jun 8 12:67:08 ubuntu kernel: [ 3950.103273] usb 2-1.2: New USB device found, idVendor=05c6, idProduct=9006
Jun 8 12:67:08 ubuntu kernel: [ 3950.103279] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 8 12:67:08 ubuntu kernel: [ 3950.103284] usb 2-1.2: Product: QHSUSB__BULK
Jun 8 12:67:08 ubuntu kernel: [ 3950.103287] usb 2-1.2: Manufacturer: LG Electronics Inc.
Jun 8 12:67:08 ubuntu kernel: [ 3950.103291] usb 2-1.2: SerialNumber: 1234567890ABCDEF
Jun 8 12:67:08 ubuntu kernel: [ 3950.103897] usb-storage 2-1.2:1.20: USB Mass Storage device detected
Jun 8 12:67:08 ubuntu kernel: [ 3950.104048] scsi host1324: usb-storage 2-1.2:1.20
Jun 8 12:67:08 ubuntu mtp-probe: checking bus 2, device 101: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jun 8 12:67:08 ubuntu mtp-probe: bus: 2, device: 101 was not an MTP device
Jun 8 12:67:09 ubuntu kernel: [ 3951.101623] scsi 1324:0:0:0: Direct-Access Qualcomm MMC Storage 1.00 PQ: 0 ANSI: 2
Jun 8 12:67:09 ubuntu kernel: [ 3951.102042] sd 1324:0:0:0: Attached scsi generic sg4 type 0
Jun 8 12:67:09 ubuntu kernel: [ 3951.102658] sd 1324:0:0:0: [sde] 61071360 512-byte logical blocks: (31.2 GB/29.1 GiB)
Jun 8 12:67:09 ubuntu kernel: [ 3951.103273] sd 1324:0:0:0: [sde] Write Protect is off
Jun 8 12:67:09 ubuntu kernel: [ 3951.103278] sd 1324:0:0:0: [sde] Mode Sense: 0f 0e 00 00
Jun 8 12:67:09 ubuntu kernel: [ 3951.103909] sd 1324:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jun 8 12:67:09 ubuntu kernel: [ 3951.115090] sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7 sde8 sde9 sde10 sde11 sde12 sde13 sde14 sde15 sde16 sde17 sde18 sde19 sde20 sde21 sde22 sde23 sde24 sde25 sde26 sde27 sde28 sde29 sde30 sde31 sde32 sde33 sde34 sde35 sde36
Jun 8 12:67:09 ubuntu kernel: [ 3951.120388] sd 1324:0:0:0: [sde] Attached SCSI disk
Jun 8 12:67:09 ubuntu kernel: [ 3951.169892] usb 2-1.2: USB disconnect, device number 101
Jun 8 12:67:09 ubuntu kernel: [ 3951.173185] sd 1324:0:0:0: [sde] Synchronizing SCSI cache
Jun 8 12:67:09 ubuntu kernel: [ 3951.173221] sd 1324:0:0:0: [sde] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jun 8 12:67:09 ubuntu kernel: [ 3951.173227] sd 1324:0:0:0: [sde] CDB: Read(10) 28 00 00 00 00 80 00 00 f0 00
Jun 8 12:67:09 ubuntu kernel: [ 3951.173230] blk_update_request: I/O error, dev sde, sector 128
Jun 8 12:67:09 ubuntu kernel: [ 3951.173254] sd 1324:0:0:0: [sde] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jun 8 12:67:09 ubuntu kernel: [ 3951.173257] sd 1324:0:0:0: [sde] CDB: Read(10) 28 00 00 00 01 70 00 00 90 00
Jun 8 12:67:09 ubuntu kernel: [ 3951.173259] blk_update_request: I/O error, dev sde, sector 368
Jun 8 12:67:09 ubuntu kernel: [ 3951.173301] sd 1324:0:0:0: [sde] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jun 8 12:67:09 ubuntu kernel: [ 3951.174272] Buffer I/O error on dev sde, logical block 16, async page read
Jun 8 12:67:09 ubuntu kernel: [ 3951.174310] Buffer I/O error on dev sde, logical block 2, async page read
Jun 8 12:67:09 ubuntu systemd-udevd[27313]: inotify_add_watch(9, /dev/sde, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27328]: inotify_add_watch(9, /dev/sde3, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27313]: inotify_add_watch(9, /dev/sde1, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27328]: inotify_add_watch(9, /dev/sde18, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27329]: inotify_add_watch(9, /dev/sde4, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27326]: inotify_add_watch(9, /dev/sde17, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27313]: inotify_add_watch(9, /dev/sde19, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27326]: inotify_add_watch(9, /dev/sde23, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27328]: inotify_add_watch(9, /dev/sde20, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27327]: inotify_add_watch(9, /dev/sde22, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27329]: inotify_add_watch(9, /dev/sde21, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27338]: inotify_add_watch(9, /dev/sde29, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27329]: inotify_add_watch(9, /dev/sde27, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27327]: inotify_add_watch(9, /dev/sde28, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27313]: inotify_add_watch(9, /dev/sde24, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27329]: inotify_add_watch(9, /dev/sde30, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27309]: inotify_add_watch(9, /dev/sde34, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27309]: inotify_add_watch(9, /dev/sde35, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27309]: inotify_add_watch(9, /dev/sde36, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27327]: inotify_add_watch(9, /dev/sde31, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27329]: inotify_add_watch(9, /dev/sde33, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27338]: inotify_add_watch(9, /dev/sde32, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27326]: inotify_add_watch(9, /dev/sde25, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27328]: inotify_add_watch(9, /dev/sde26, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27339]: inotify_add_watch(9, /dev/sde9, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27342]: inotify_add_watch(9, /dev/sde12, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27340]: inotify_add_watch(9, /dev/sde10, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27337]: inotify_add_watch(9, /dev/sde7, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27343]: inotify_add_watch(9, /dev/sde13, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27341]: inotify_add_watch(9, /dev/sde11, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27344]: inotify_add_watch(9, /dev/sde14, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27346]: inotify_add_watch(9, /dev/sde16, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu systemd-udevd[27345]: inotify_add_watch(9, /dev/sde15, 10) failed: No such file or directory
Jun 8 12:67:10 ubuntu kernel: [ 3952.056384] usb 2-1.2: new high-speed USB device number 102 using ehci-pci
Jun 8 12:67:10 ubuntu kernel: [ 3952.149081] usb 2-1.2: config 1 has an invalid interface number: 20 but max is 1
Jun 8 12:67:10 ubuntu kernel: [ 3952.149090] usb 2-1.2: config 1 has no interface number 1
Finally forced the LG G2 D802 to enter QHSUSB_BULK mode following this tutorial and short-circuiting the two capacitors:
LG G2 is UNBRICKABLE NOW! [FIX REAL HARD BRICK]

AFTV stick (OS 5.2.1.0) and OpenVPN

Hello all,
I am trying to run openvpn on the aftv stick (OS 5.2.1.0) that has been rooted. There are reports of successes online (cannot post link apprently)
I performed the following steps:
1) Root the device using kingoroot
2) Installed the openvpn installer manually (could not do it through the GUI), that involved transferring the executable openvpn to /system/xbin
3) Installed BusyBox
4) Pushed my ovpn configuration files to /sdcard/openvpn
5) Installed the openVPN settings apk
6) Logged into abd shell and ran the following command:
Code:
# su
# openvpn --iproute /system/xbin/ip --config my_file.ovpn
I had to specify the iproute because openvpn looks for iproute2 in /sbin/ip and not /system/xbin/ip.
Although it connects, the public IP does not change..... FAIL
Here is the log of the command above:
Code:
Sat Jul 9 17:52:55 2016 OpenVPN 2.1.1 jc v0.1 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Aug 7 2015
Sat Jul 9 17:52:55 2016 WARNING: file 'pass.txt' is group or others accessible
Sat Jul 9 17:52:55 2016 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Jul 9 17:52:55 2016 NOTE: --fast-io is disabled since we are not using UDP
Sat Jul 9 17:52:55 2016 LZO compression initialized
Sat Jul 9 17:52:55 2016 Attempting to establish TCP connection with 195.154.235.91:443 [nonblock]
Sat Jul 9 17:52:56 2016 TCP connection established with 195.154.235.91:443
Sat Jul 9 17:52:56 2016 TCPv4_CLIENT link local: [undef]
Sat Jul 9 17:52:56 2016 TCPv4_CLIENT link remote: 195.154.235.91:443
Sat Jul 9 17:52:56 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sat Jul 9 17:52:57 2016 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1544', remote='link-mtu 1576'
Sat Jul 9 17:52:57 2016 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
Sat Jul 9 17:52:57 2016 [TG-OVPN-CA] Peer Connection Initiated with 195.154.235.91:443
Sat Jul 9 17:52:59 2016 TUN/TAP device tun0 opened
Sat Jul 9 17:52:59 2016 /system/xbin/ip link set dev tun0 up mtu 1500
Sat Jul 9 17:52:59 2016 /system/xbin/ip addr add dev tun0 local 10.8.0.14 peer 10.8.0.13
Sat Jul 9 17:52:59 2016 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
ip: RTNETLINK answers: No such process
Sat Jul 9 17:52:59 2016 ERROR: Linux route add command failed: external program exited with error status: 2
Sat Jul 9 17:52:59 2016 Initialization Sequence Completed
^CSat Jul 9 17:53:13 2016 event_wait : Interrupted system call (code=4)
Sat Jul 9 17:53:13 2016 /system/xbin/ip addr del dev tun0 local 10.8.0.14 peer 10.8.0.13
Sat Jul 9 17:53:13 2016 SIGINT[hard,] received, process exiting
iproute /system/xbin/ip --config TorGuard.France.ovpn <
Sat Jul 9 17:53:52 2016 OpenVPN 2.1.1 jc v0.1 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Aug 7 2015
Sat Jul 9 17:53:52 2016 WARNING: file 'pass.txt' is group or others accessible
Sat Jul 9 17:53:52 2016 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sat Jul 9 17:53:52 2016 NOTE: --fast-io is disabled since we are not using UDP
Sat Jul 9 17:53:52 2016 LZO compression initialized
Sat Jul 9 17:53:52 2016 Attempting to establish TCP connection with 195.154.235.91:443 [nonblock]
Sat Jul 9 17:53:53 2016 TCP connection established with 195.154.235.91:443
Sat Jul 9 17:53:53 2016 TCPv4_CLIENT link local: [undef]
Sat Jul 9 17:53:53 2016 TCPv4_CLIENT link remote: 195.154.235.91:443
Sat Jul 9 17:53:53 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sat Jul 9 17:53:54 2016 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1544', remote='link-mtu 1576'
Sat Jul 9 17:53:54 2016 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
Sat Jul 9 17:53:54 2016 [TG-OVPN-CA] Peer Connection Initiated with 195.154.235.91:443
Sat Jul 9 17:53:56 2016 TUN/TAP device tun0 opened
Sat Jul 9 17:53:56 2016 /system/xbin/ip link set dev tun0 up mtu 1500
Sat Jul 9 17:53:56 2016 /system/xbin/ip addr add dev tun0 local 10.8.0.14 peer 10.8.0.13
Sat Jul 9 17:53:56 2016 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
ip: RTNETLINK answers: No such process
Sat Jul 9 17:53:56 2016 ERROR: Linux route add command failed: external program exited with error status: 2
Sat Jul 9 17:53:56 2016 Initialization Sequence Completed
It seems that the key in the log are these two lines:
Code:
Sat Jul 9 17:53:56 2016 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
ip: RTNETLINK answers: No such process
Sat Jul 9 17:53:56 2016 ERROR: Linux route add command failed: external program exited with error status: 2
I guess this is a problem with the routing table, however this is the limit of my knowledge.
Although most people suggest using a DDWRT router for this, it seems strange to me that it won't work even on this highly modified version of android.
Any help would be very much appreciated
EDIT: OK I realised the cause of the error came from the fact that I was using a bad openvpn binary when I was installing it (step 2) (sorry no links because of xda policy) manually. It explains why I had to specify the --iproute since it was pointing to it in /sbin when it was in /xbin. The error is because it uses the native ifconfig, and we need it to use the busybox ifconfig
If I extract the correct one (with busybox bin) I get:
Code:
error: only position independent executables (PIE) are supported.[\CODE]
Apparently this is a new security feature from google. This means that openvpn needs to be compiled with PIE and the correct paths for the xbin ip and ifconfig.
Any one knows how to do that?
melclic said:
Hello all,
I am trying to run openvpn on the aftv stick (OS 5.2.1.0) that has been rooted. There are reports of successes online (cannot post link apprently)
I performed the following steps:
1) Root the device using kingoroot
2) Installed the openvpn installer manually (could not do it through the GUI), that involved transferring the executable openvpn to /system/xbin
3) Installed BusyBox
4) Pushed my ovpn configuration files to /sdcard/openvpn
5) Installed the openVPN settings apk
6) Logged into abd shell and ran the following command:
I had to specify the iproute because openvpn looks for iproute2 in /sbin/ip and not /system/xbin/ip.
Although it connects, the public IP does not change..... FAIL
Here is the log of the command above:
It seems that the key in the log are these two lines:
I guess this is a problem with the routing table, however this is the limit of my knowledge.
Although most people suggest using a DDWRT router for this, it seems strange to me that it won't work even on this highly modified version of android.
Any help would be very much appreciated
EDIT: OK I realised the cause of the error came from the fact that I was using a bad openvpn binary when I was installing it (step 2) (sorry no links because of xda policy) manually. It explains why I had to specify the --iproute since it was pointing to it in /sbin when it was in /xbin. The error is because it uses the native ifconfig, and we need it to use the busybox ifconfig
If I extract the correct one (with busybox bin) I get:
Code:
error: only position independent executables (PIE) are supported.[\CODE]
Apparently this is a new security feature from google. This means that openvpn needs to be compiled with PIE and the correct paths for the xbin ip and ifconfig.
Any one knows how to do that?[/QUOTE]
Instalar
Click to expand...
Click to collapse
Jael1 said:
Instalar
Click to expand...
Click to collapse
Cheers for the reply. Care to elaborate?
Hi got some News?
hi,
iam connected, but my ip is the same ?
i got some errors:
Authenticate/Decrypt packet error: packet HMAC authentication failed
any ideas?
I had the same problem.
Just installed the "OpenVPN Connect" Client, works like a charm!
LeBroesel said:
I had the same problem.
Just installed the "OpenVPN Connect" Client, works like a charm!
Click to expand...
Click to collapse
how do u installed it?
i only have a .ca & .ovpn file
cant connect .-(
got fragment error
when I run Open-VPN-Connect, it connects but then the Fire TV Stick says it does not have network connection anymore.
same with app from my VPN Provider.
when trying to run OpenVPN-Installer-app it keeps failing to install...
Is it possible to install openvpn in kodi as a plugin?
I think it is not possible to get openvpn workbon the stick as apk.
Mayby in kodi?
On openelec it works!
But Android is a little bit different.
Some suggestions?
I sideloaded the Apk from APKDownloader.
I have a rooted FireTV 2 with OS 5.2.
And I also sideloaded and installed BusyBox.
On firetv2 it's working but not on the stick.

Categories

Resources