Open GoogleCodeExporter opened 9 years ago
it works manually now using this tun.ko that was compiled for htc evo, thanks
to npace at xda developers. still does not connect via the gui
Original comment by security...@gmail.com
on 17 Jun 2010 at 3:03
Attachments:
works via the gui now if you insmod tun.ko first, then load the gui app
Original comment by security...@gmail.com
on 18 Jun 2010 at 3:16
Same problem occurring for me on HTC EVO using the tun.ko and the revoked root.
Original comment by adam.n...@gmail.com
on 24 Jun 2010 at 3:39
[deleted comment]
My kernel is also 2.6.32.15-g746f4f0 and I need the tun.ko file for this. How
can I look/compile this? Is it safe to install another kernel? Very new to
this, but I was able to successfully install 3.26.651.6 Froyo DeOdexed RevE.1,
but don't know how to update a kernel that will work with VPN Connections.
Thanks very much in advance!
Original comment by Peter.H...@gmail.com
on 18 Aug 2010 at 2:29
FYI - on Evo, you can use Netarchy's Kernels (go over to XDA Dev forum -
http://forum.xda-developers.com/showthread.php?t=719763). Netarchy included in
the kernel the tun.ko file that you can use to insmod before launching VPNC.
For loading the module in the memory, you can use GScript lite from the market,
and you can save this command as a script:
insmod /system/lib/modules/tun.ko
Again - this will only work with Netarchy's custom kernel, that you will need
to flash over your ROM.
Original comment by mih...@gmail.com
on 18 Aug 2010 at 2:36
Thanks so much. I will dive in.
Original comment by Peter.H...@gmail.com
on 18 Aug 2010 at 2:43
I am using Fresh 2.2 with Netarchy's latest kernels and VPNC does not work. I
tried using GScript lite to do the insmod /system/lib/modules/tun.ko, but I get
an error:
"stderr: insmod: init_module '/system/lib/modules/tun.ko' failed (File Exists)
VPNC shows me as 'Connected' but I cannot access anything within my company
firewall. I did notice that kernel 3.7.8b froyoized (based on 2.6.29) does
work correctly as expected. All of the 4.* kernels (based on 2.6.32) do not
work.
Here is the logcat of the difference..
Not working (4.0+ kernels)
D/VPN_Connections( 2018): filemanager: Loaded module tun with return code 1
W/Parcel ( 335): Attempt to read object from Parcel 0x4e73ade0 at offset 468
that is not in the object list
D/SuRequest( 2038): Sending result: ALLOW
D/su ( 2048): 10075 org.codeandroid.vpnc_frontend executing 0 sh using shell
/system/bin/sh : sh
D/VPN_Connections( 2018): filemanager: Loaded module /system/lib/modules/tun.ko
with return code 0
W/Parcel ( 335): Attempt to read object from Parcel 0x4f833de0 at offset 468
that is not in the object list
D/SuRequest( 2038): Sending result: ALLOW
D/su ( 2052): 10075 org.codeandroid.vpnc_frontend executing 0 sh using shell
/system/bin/sh : sh
D/VPN_Connections( 2018): filemanager: Done creating directory /dev/net with
return code 0
D/VPN_Connections( 2018): filemanager: ln -s /dev/tun /dev/net/tun
W/Parcel ( 335): Attempt to read object from Parcel 0x500bade0 at offset 468
that is not in the object list
D/SuRequest( 2038): Sending result: ALLOW
D/su ( 2055): 10075 org.codeandroid.vpnc_frontend executing 0 sh using shell
/system/bin/sh : sh
D/VPN_Connections( 2018): filemanager: Done creating sym link /dev/net/tun
withreturn code 0
W/Parcel ( 335): Attempt to read object from Parcel 0x4e93ade0 at offset 468 t
hat is not in the object list
D/SuRequest( 2038): Sending result: ALLOW
D/su ( 2058): 10075 org.codeandroid.vpnc_frontend executing 0 sh using shell
/system/bin/sh : sh
D/VPN_Connections( 2018): filemanager: Done setting permission with return code
0
D/VPN_Connections( 2018): On Activity Result: resultcode 0
Working (3.7.8b froyoized)
D/VPN_Connections( 1603): filemanager: Found /dev/net/tun in place
W/Parcel ( 448): Attempt to read object from Parcel 0x513bbde0 at offset 468
that is not in the object list
I/ActivityManager( 448): Start proc com.noshufou.android.su for broadcast
com.noshufou.android.su/.SuRequestReceiver: pid=1623 uid=10057 gids={}
I/ActivityManager( 448): Displayed activity
org.codeandroid.vpnc_frontend/.BackendFileManager: 293 ms (total 626 ms)
D/SuRequest( 1623): Sending result: ALLOW
D/su ( 1622): 10075 org.codeandroid.vpnc_frontend executing 0 sh using shell
/system/bin/sh : sh
D/VPN_Connections( 1603): filemanager: Done setting permission with return code
0
D/VPN_Connections( 1603): On Activity Result: resultcode 0
Original comment by driz...@gmail.com
on 19 Aug 2010 at 3:24
Ok, me too! I just switched to 2.6.32.15-netarchy-toastmod-4.1.2 with
3.26.651.6 Froyo DeOdexed RevE.1 and I'm having the same issue. It says I'm
connected but I lose 3G accessibly and can't ping servers I know are available.
Any ideas? Or any other kernels that'll be just as fast as netarchy?
Original comment by Peter.H...@gmail.com
on 19 Aug 2010 at 3:41
i'm running fresh 3.1.0.1 with Netarchy 4.0.3 , and i just tested this - it's
not working. since this is working with the previous (2.1) kernels, i believe
we can as him for help, hopefully he's able to help.
It's also possible that VPNC does not work with Froyo kernels - no way to say
though.
Original comment by mih...@gmail.com
on 19 Aug 2010 at 3:48
I put a few posts on xda-developers.com in the netarchy kernel forum for Evo.
I haven't heard much back though. It looks like I was the only one who
mentioned the tun.ko issue. Maybe it would help if you both got on board on
xda to see if he could resolve it..
It looks like from the logcat it might be a problem with the location of tun.ko
for VPNC. Here is my latest post on xda:
http://forum.xda-developers.com/showpost.php?p=7747747&postcount=3857
Original comment by driz...@gmail.com
on 19 Aug 2010 at 3:51
i would donate to the developers of VPNC if i could (they have no site or
paypal donate link) so they would fix this for us.
Original comment by mih...@gmail.com
on 19 Aug 2010 at 4:53
+1 - I really want this to work again for my Evo... :(
Original comment by driz...@gmail.com
on 19 Aug 2010 at 4:59
+1 as well. Have you guys tried the current version 4.1.7?
Original comment by Peter.H...@gmail.com
on 19 Aug 2010 at 5:49
Yes, that's the version I am running right now actually. It appears as if all
the 4.* versions are working identical (which is not working at all)
Right now if I need VPN, I have to reboot recovery, clear cache, flash 3.7.8b,
restart, then connect. It's a 5 minute workaround to getting connected - but
damn, it's still a pain.
Original comment by driz...@gmail.com
on 19 Aug 2010 at 5:51
I am on 4.0.3, and I tried to upgrade to 4.1.5 (I think) and got bootloop :(
so I nand restored.
However, I don't think the tun.love changes between minor versions.
Original comment by mih...@gmail.com
on 19 Aug 2010 at 5:55
unrelated... but 4.1.7 does fix some bootloop issues. So does clearing the
cache before you flash the kernel. i've never had bootloop issues on any of
netarchy's kernels, but I don't OC with SetCPU
Original comment by driz...@gmail.com
on 19 Aug 2010 at 6:28
Interesting, I'm gonna go 4.1.7 now. Pretty dumb/lame question but, when I
flash a new kernel it blows out my scene. Is there a way to keep/save the scene
then load it again? Thanks.
Original comment by Peter.H...@gmail.com
on 19 Aug 2010 at 7:04
yeah, from the home screen do... Menu>Scenes>Save, then you should be able to
load it again. If you want to save scenes between ROMs then I think you have
to do a Titanium Backup of Apps + User Data (after saving the scene), then
Titanium restore, then reboot.
Original comment by driz...@gmail.com
on 19 Aug 2010 at 7:11
Very cool, thanks.
Original comment by Peter.H...@gmail.com
on 19 Aug 2010 at 7:29
Should we switch to another kernel? Any luck with the new 4.1.8? Didn't see
VPNC in the changelog or comments, so I doubt it.
Original comment by Peter.H...@gmail.com
on 20 Aug 2010 at 2:34
If I get time today - I'm going to flash the Fresh kernel back, and try the
insmod with the tun.ko posted on here.. I'll let you know if I have any success
Original comment by driz...@gmail.com
on 20 Aug 2010 at 2:36
Just did Revision 4.1.8-cfs edition with no luck. :(
Original comment by Peter.H...@gmail.com
on 20 Aug 2010 at 11:34
Making any headway, drizkol? I see some of your comments on the Netarchy thread
and that one guy got it to work on openVPN, but no Cisco. :(
I'm on 4.1.9.1 with obviously no luck.
Original comment by Peter.H...@gmail.com
on 30 Aug 2010 at 8:36
Ok, finally found something that works. Running Froyo 2.2, v3.28.651.6
│Rooted│ DeOdexed RevF1
(http://forum.xda-developers.com/showthread.php?t=743781) with kernel: [KERNEL]
[2.6.32.15] [HAVS][BFS][BFQ][FPS][OC][UV] KiNgxKernel #9 "Still Alive".
You have to use this method:
http://forum.xda-developers.com/showpost.php?p=8127746&postcount=12
"ip rule del from all lookup gprs" if on celluler network
"ip ru del table wifi" wifi
Original comment by Peter.H...@gmail.com
on 14 Sep 2010 at 12:10
This worked on my Evo running that same kernel on Fresh 3.2.0.0
I use an app called GScript Lite to run the commands
Original comment by driz...@gmail.com
on 14 Sep 2010 at 1:18
Also tested using Fresh 3.2.0.0 with the stock HTC kernel that comes with Fresh
3.2 (I had to recompile tun.ko for that kernel) - it worked on there as well.
Original comment by driz...@gmail.com
on 14 Sep 2010 at 7:16
I have gotten the connection to work on my Evo running Fresh stock 3.28 ROM,
using the commands above. However, when I disconnect the phone freezes and I
have to pull the battery to reset. Any ideas of what would be causing this?
Original comment by dafr...@gmail.com
on 21 Sep 2010 at 6:05
Have you figured out how to get this to stop freezing?
Original comment by driz...@gmail.com
on 28 Oct 2010 at 8:59
Ya, you basically have to use Netarchy's kernels and get gscript to run the
commands in Comment 25
Original comment by Peter.H...@gmail.com
on 29 Oct 2010 at 2:24
Oh, sorry, didn't read the full comment. Maybe try the latest Netarchy kernel?
Original comment by Peter.H...@gmail.com
on 29 Oct 2010 at 2:24
I compiled a tun.ko for the latest Fresh and have it working; just get the
freezing problem when I disconnect. I think I will actually dive into this
source code at some point to see what is causing the freeze..
Original comment by driz...@gmail.com
on 29 Oct 2010 at 3:24
is this for fresh 3.4.0.1? would you please upload it here, or post the link to
it?
Original comment by mih...@gmail.com
on 29 Oct 2010 at 3:52
This should work for Fresh 3.4.0.1, let me know if it doesn't - I may have
uploaded the wrong one...
I also couldn't write it to /system/lib/modules (even in recovery), so I have
to insmod every time I reboot the phone.
If you can't write it to /system/lib/modules, you can just put it on the SD
card, then create a GScript script that does 'insmod /sdcard/tun.ko' and then
connect, and run the scripts from post #25 on here
Original comment by driz...@gmail.com
on 29 Oct 2010 at 3:56
Attachments:
cheers. will try it later today - and let you know how it goes.
Original comment by mih...@gmail.com
on 29 Oct 2010 at 4:26
I never did have any success with the freezing-I ended up going back to a 3.26
rom with netarchy 4.1.9 and everything just works. I did use the updated vpnc
script from issue #124 on this project and that took care of the need to run
the commands in post #25-they are incorporated into that script.
Original comment by dafr...@gmail.com
on 4 Nov 2010 at 12:59
can anyone please help me ... i amuseing Samsung Galaxy S2 and i want to use
the get-a-robot vpnc ... after i installed the vpnc it is giving me an error
((process org.codeandroid.vpnc_frontend) has stopped unexpectedly) i found
that i didn't copy the tun.ko.. where will i copy it and how to do it .. can
anyone help with a full steps one by one please
Original comment by VaG...@gmail.com
on 19 Feb 2012 at 11:04
yes VaG...@gmail.com there is a solution to run droidvpn even i am using it.
Tell me your complete problem on ritujbhatnagar@gmail.com
Original comment by ritujbha...@gmail.com
on 27 Feb 2012 at 12:08
Original issue reported on code.google.com by
security...@gmail.com
on 17 Jun 2010 at 2:42