Jump to content

Cisco VPN client on HTC Desire (short howto)


Guest Mihai2

Recommended Posts

Guest gforums

okay, I tried another VPN connection today which HAS worked.

So the problem seems to be our vpn at the university.

This is our pcf config file:

[main]
Description=Uni-VPN
Host=141.99.13.251
AuthType=1
GroupName=univpn
GroupPwd=
enc_GroupPwd=E7B1D2581DE91DDBFC3F03EED4DFB1651DE6394E67E9F6AEC3B9C66EF7E6C182E93
3DF0C54FFC78C5247C669B8AC4C4
EnableISPConnect=0
ISPConnectType=0
ISPConnect=
ISPPhonebook=
ISPCommand=
Username=
SaveUserPassword=0
UserPassword=
enc_UserPassword=
NTDomain=
EnableBackup=0
BackupServer=
EnableMSLogon=1
MSLogonType=0
EnableNat=1
TunnelingMode=1
TcpTunnelingPort=13227
CertStore=0
CertName=
CertPath=
CertSubjectName=
CertSerialHash=00000000000000000000000000000000
SendCertChain=0
PeerTimeout=90
EnableLocalLAN=0
[/codebox]

my username consists of one letter and six numbers.

So any idea what within this could be not supported by vpnc?

Link to comment
Share on other sites

Guest gforums

okay some more news:

I now tried to connect over adb and got the following error with my settings:

"Error binding to source port. Try '--local-port 0'

Failed to bind to 0.0.0.0:4500: Address already in use"

Now - is it possible the VPN GUI/frontend doesnt call ./vpnc but ./vpnc --local-port 0 ??

How to achieve it?

(Sorry, I am a complete new android user :P

thanks!!

Link to comment
Share on other sites

Guest Mihai2
I now tried to connect over adb and got the following error with my settings:

"Error binding to source port. Try '--local-port 0'

Failed to bind to 0.0.0.0:4500: Address already in use"

This means that vpnc is already running on your phone and cannot bind that port because it is already used. Just run "killall vpnc" in order to terminate the previous session. Of course it would be nice to end it nicely, from the "VPN Connections" GUI, but if for some reason that doesn't work you can use killall.

If that "failed to bind" error persists then you might need to use a bigger hammer and run "killall -9 vpnc".

About the PCF file that you posted... It seems that your University is using TCP tunneling mode, but unfortunately this is not supported by vpnc. Anyway, try to find out if anyone of you colleagues is able to connect to VPN using Linux. If they cannot do it from a "mighty" desktop machine there are little chances you will be able to do it from a tiny phone...

Link to comment
Share on other sites

Guest Mihai2
Mihai2 I need little help with VPN for Cisco.

1.)Im install tun_desire_signed.zip because I already have A2SD.

2.)Im install VPN_Connections_v097.apk package

3.)Configure it(Im not shure if Im right configure it)

4.)Connect VPN(Status is connected)

But I can't open http page from Phone. From PC with Cisco VPN client and same wireless connection work ok.

Unfortunately vpnc is not a complete implementation of things that Cisco supports. This means that you might stumble upon some configurations that vpnc simply cannot handle. I'm not familiar with your configuration, but maybe this is your case. I'll suggest you to consult with your friends/colleagues. If you can find somebody using Linux and being able to connect to that VPN there are some chances you will too.

Link to comment
Share on other sites

Guest _Dejan_
Unfortunately vpnc is not a complete implementation of things that Cisco supports. This means that you might stumble upon some configurations that vpnc simply cannot handle. I'm not familiar with your configuration, but maybe this is your case. I'll suggest you to consult with your friends/colleagues. If you can find somebody using Linux and being able to connect to that VPN there are some chances you will too.

Thanks for your reply. So when I get linux what I must do? Run commands which you are recommend gforums? I can try Live linux. I know some basic Linux command because Im few months ago setup ESX server and Centos VPS with CPanel but I don't know a lot about VPN :P ...

Link to comment
Share on other sites

Guest patomas1

I've flashed Modaco custom rom R1: I can't connect with VPNC anymore. Busybox seems already installed. I have tried your tun.ko but it appears not suitable for the new kernel. I have pushed another tun.ko (the one provided in OPENVPN thread) and it loads but I always have "failed to connect". With logcat I see the following error:

D/VPN_Connections( 938): Attempt to read vpnc process id did not return anything

D/VPN_Connections( 938): process had died, return as failed connection

Any help?

Thanks!

EDIT: I think it's is related to busybox version. Found a debug version of vpnc that check the process in another way (in this thread http://code.google.com/p/get-a-robot-vpnc/...s/detail?id=38) and works ok.

Edited by patomas1
Link to comment
Share on other sites

Guest _Dejan_

Yesterday Im try change values for IPSec ID, IPSec Secret, Username, Password and after changing any of them it do not connect anymore.

So this mean:

IPSec gateway address: Host in Cisco VPN Client

IPSec ID: Group Authentication name in Cisco VPN Client

IPSec Secret: Group Authentication password in Cisco VPN Client

Username: Username in dialog in Cisco VPN Client

Password: Password in dialog in Cisco VPN Client

After Connect I can't ping PC on destination. Later I will try linux commands...

Link to comment
Share on other sites

Guest alphagamma

Thanks from getting this running!

I've noticed a few things now that I tried it at work:

Most internet related things work:

gmail

k-9 mail

market

But internet itself and for example peep does not work?

The connections time out.

Edit: seems to work already better with:L menu --> VPNC Flags: --natt-mode cisco-udp

Edit2: still times out on many sites

The strange thing is that the data intensive Google Maps works, and works fast.

Edited by alphagamma
Link to comment
Share on other sites

Guest Mihai2

If you have a custom ROM and when trying to connect you'll get an error chances are that you're missing the proper version of "ps" on your phone.

To check if this is your case do the following:

  • try to connect
  • run "ps | grep vpnc"

    If the output of the "ps | grep vpnc command looks like this (count the number of fields):
    ps | grep vpnc
    
    2727 0 1272 S /data/data/org.codeandroid.vpnc_frontend/files/vpnc


    ... then you don't have the original "ps" version that the VPN Connections GUI expects. That is why the GUI fails to check if the VPN was established or not.

    To workaround this problem you will need to:

    If "ps | grep vpnc" does not return any output then you might have another problem. Try to issue a "logcat" command and figure out what's wrong.

Link to comment
Share on other sites

  • 2 weeks later...
Guest Christian86

Hi,

VPNC crashes when I try to connect.

Modaco Custom ROM r3 is installed, so busybox is installed too.

grep, cut and tun.ko are at the right place.

i tried insmod, but it said:

insmod /system/lib/modules/tun.ko

insmod: can't insert '/system/lib/modules/tun.ko': invalid module format
the other information is
ps | grep vpnc

 1971 0		 1164 S	grep vpnc

lsmod delivered tons of information, but nothing including vpnc.

So, what could be the problem? A2SD isn't installed.

Thanks,

Christian

Link to comment
Share on other sites

Guest Mihai2
i tried insmod, but it said:

insmod /system/lib/modules/tun.ko

insmod: can't insert '/system/lib/modules/tun.ko': invalid module format

Most probably you don't have the proper tun.ko module for the running kernel.

Run "uname -a", find out your kernel version and look for a matching tun module.

Link to comment
Share on other sites

Guest Christian86
Most probably you don't have the proper tun.ko module for the running kernel.

Run "uname -a", find out your kernel version and look for a matching tun module.

Ok, i did it, it said:

Linux localhost 2.6.29-82821fb5 #1 PREEMPT Mon Apr 26 22:40:49 CST 2010 armv7l

GNU/Linux

What does it mean? And where do i get a proper Kernel?

Thanks.

Edit:

Now I took the tun.ko for the 2.6.29-82821fb5 Kernel from the OPENVPn Thread, now the Application doesn't crash any more.

But it still say Connection Failed.

What could be the problem?

Edited by Christian86
Link to comment
Share on other sites

Guest Mihai2
Now I took the tun.ko for the 2.6.29-82821fb5 Kernel from the OPENVPn Thread, now the Application doesn't crash any more.

But it still say Connection Failed.

What could be the problem?

Check this previous post .

Link to comment
Share on other sites

Guest Mihai2
Thanks, i tried the Debug Version, but it still says Connection failed.

Which informations do i need so that you can halp me solve the problem?

Well, in the first place you should check if after you try to connect the VPN connection is established or not. To do that you can either:

  • run "ps | grep vpnc" and check if any process is running
  • run "ip address show" and check if any new IP addresses related to VPN appear

In any case, you should run "logcat" and check what are the messages related to vpnc.

BTW, did you succeed in running vpnc with your VPN settings with Linux at all (i.e. on another computer running Linux) ? It is possible that your VPN configuration is not supported by vpnc so there is nothing you can do about it...

Link to comment
Share on other sites

Guest Christian86
Well, in the first place you should check if after you try to connect the VPN connection is established or not. To do that you can either:
  • run "ps | grep vpnc" and check if any process is running
  • run "ip address show" and check if any new IP addresses related to VPN appear

In any case, you should run "logcat" and check what are the messages related to vpnc.

BTW, did you succeed in running vpnc with your VPN settings with Linux at all (i.e. on another computer running Linux) ? It is possible that your VPN configuration is not supported by vpnc so there is nothing you can do about it...

On my Netbook i had Ubuntu installed for a few months, and used VPNC too. This worked, so i think VPNC is supported!

Now, i uninstalled the Debug Version and installed it again. Now it says Connected, but it doesn't seem work.

It doenst get connection to any internet Page or Market.

And i can't disconnect, it only disonnects by switching WIFI off and on again.

ps | grep vpnc says

 1613 10069	 158m S	org.codeandroid.vpnc_frontend

 2125 0		 1164 S	grep vpnc
ip address show says
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN

	link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

	inet 127.0.0.1/8 scope host lo

	inet6 ::1/128 scope host

	   valid_lft forever preferred_lft forever

2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN

	link/ether da:04:bb:4b:e1:79 brd ff:ff:ff:ff:ff:ff

3: rmnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000

	link/ether ba:47:4d:2c:fd:29 brd ff:ff:ff:ff:ff:ff

	inet 10.171.172.102/30 brd 10.171.172.103 scope global rmnet0

4: rmnet1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

	link/ether b6:c6:39:9b:6d:da brd ff:ff:ff:ff:ff:ff

5: rmnet2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

	link/ether f2:2d:1a:74:bf:27 brd ff:ff:ff:ff:ff:ff

6: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

	link/ether 8a:6e:d0:a5:6f:93 brd ff:ff:ff:ff:ff:ff

7: sit0: <NOARP> mtu 1480 qdisc noop state DOWN

	link/sit 0.0.0.0 brd 0.0.0.0

8: ip6tnl0: <NOARP> mtu 1460 qdisc noop state DOWN

	link/tunnel6 :: brd ::

13: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP q

len 1000

	link/ether 00:23:76:fb:f7:8b brd ff:ff:ff:ff:ff:ff

	inet 192.168.0.100/24 brd 192.168.0.255 scope global eth0

	inet6 fe80::223:76ff:fefb:f78b/64 scope link

	   valid_lft forever preferred_lft forever

I attached the logcat file starting and ending VPNC, because this are too much informations.

So it would be nice if someone could analyse this data!

Thanks!

Connecting.txt

Disconnecting.txt

Link to comment
Share on other sites

Guest Mihai2
On my Netbook i had Ubuntu installed for a few months, and used VPNC too. This worked, so i think VPNC is supported!

I attached the logcat file starting and ending VPNC, because this are too much informations.

From the logs that you attached I believe that the configuration is not supported by vpnc. I see the following error messages on stderr when you try to connect:

quick mode response rejected:  (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1)

this means the concentrator did not like what we had to offer.

Possible reasons are:

* concentrator configured to require a firewall

  this locks out even Cisco clients on any platform expect windows

  which is an obvious security improvment. There is no workaround (yet).

* concentrator configured to require IP compression

  this is not yet supported by vpnc.


Note: the Cisco Concentrator Documentation recommends against using

compression, expect on low-bandwith (read: ISDN) links, because it

uses much CPU-resources on the concentrator

The "VPN Connections" application might have a bug if after these messages it reports the status as "connected". It didn't succeed, that's for sure so it is rather "normal" to not be able to disconnect...

You said that from your laptop you were able to connect to the VPN, I don't know what to say. Maybe in the meantime the configuration of the VPN concentrator was changed and it was transparent for windows users.

Link to comment
Share on other sites

Guest Nrond

thanks for this guide.

having 2 question.

Connection works fine now. But disconnect via UMTS seems not to work proper. When try to disconnect, GUI does so and VPN IP is removed. But there is still traffic about 2 or 3 minutes via UMTS. Also my router runs into dead peer detection (set to 90s).

Using same VPN setting, but my phone is logged into WLAN and establishing the connection via internet back to my router disconnet works fine. Checked the path - remote gateway in this case is my public IP.

using a LANCOM router and VPNC-debug

Any Ideas how to ismod tun.ko automatically? atm i have to load after every reboot

Link to comment
Share on other sites

Guest Sesire
insmod: can't insert /system/lib/modules/tun.ko: File exist's

# lsmod

tun 11200 0 - live 0xbf000000

stderr: tun: not found

In the log file the only important is

06-03 21:07:09.050 D/VPN_Connections( 2480): password ********

06-03 21:07:09.050 D/VPN_Connections( 2480): done interacting with vpnc

06-03 21:07:09.050 D/VPN_Connections( 2480): process stderr:

06-03 21:07:09.100 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:09.100 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:09.600 D/VPN_Connections( 2480): process stderr:

06-03 21:07:09.661 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:09.661 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:10.220 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:10.220 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:10.770 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:10.770 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:11.330 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:11.330 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:11.870 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:11.870 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:12.000 D/NetworkLocationProvider( 161): onCellLocationChanged [51903,32989164]

06-03 21:07:12.430 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:12.430 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:12.610 I/BatteryStatsImpl( 161): notePhoneSignalStrengthLocked: 2->1

06-03 21:07:12.980 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:12.980 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:13.550 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:13.550 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:13.570 D/NetworkLocationProvider( 161): onCellLocationChanged [51903,32968374]

06-03 21:07:14.130 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:14.130 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:14.670 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:14.670 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:15.250 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:15.250 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:15.300 D/NetworkLocationProvider( 161): onCellLocationChanged [51903,32968401]

06-03 21:07:15.810 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:15.810 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:16.370 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:16.370 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:16.920 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:16.920 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:17.480 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:17.480 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:18.020 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:18.020 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:18.580 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:18.580 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:19.161 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:19.161 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:19.410 D/NetworkLocationProvider( 161): onCellLocationChanged [51903,32968374]

06-03 21:07:19.720 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:19.720 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:20.280 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:20.280 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:20.700 D/dalvikvm( 502): GC freed 7231 objects / 1232960 bytes in 73ms

06-03 21:07:20.840 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:20.840 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:21.390 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:21.390 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:21.617 I/BatteryStatsImpl( 161): notePhoneSignalStrengthLocked: 1->2

06-03 21:07:21.950 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:21.950 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:22.500 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:22.500 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:23.060 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:23.060 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:23.620 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:23.620 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:24.170 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:24.170 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:24.750 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:24.750 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:25.310 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:25.310 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:25.810 D/VPN_Connections( 2480): process stderr: Password for VPN censored@******:

06-03 21:07:25.870 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:25.870 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:26.430 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:26.430 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:26.720 D/dalvikvm( 232): GC freed 283 objects / 11768 bytes in 92ms

06-03 21:07:26.970 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:26.970 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:27.530 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:27.530 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:28.111 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:28.111 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:28.430 D/dalvikvm( 939): GC freed 22679 objects / 912496 bytes in 95ms

06-03 21:07:28.670 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:28.670 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:29.230 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:29.230 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:29.770 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:29.770 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:30.330 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:30.330 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:30.670 D/NetworkLocationProvider( 161): onCellLocationChanged [51903,32968401]

06-03 21:07:30.880 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:30.880 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:31.440 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:31.440 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:32.000 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:32.000 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:32.570 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:32.570 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:33.110 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:33.110 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:33.690 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:33.690 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:34.250 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:34.250 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:34.810 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:34.810 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:35.370 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:35.370 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:35.940 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:35.940 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:36.480 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:36.480 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:37.061 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:37.061 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:37.610 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:37.610 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:38.180 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:38.180 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:38.710 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:38.710 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:38.720 D/dalvikvm( 2389): GC freed 2140 objects / 144040 bytes in 88ms

06-03 21:07:39.270 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:39.270 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:39.820 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:39.820 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:40.380 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:40.380 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:40.920 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:40.920 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:41.490 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:41.490 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:42.050 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:42.050 D/VPN_Connections( 2480): vpnc still trying to connect. Will check again in 500 milliseconds

06-03 21:07:42.630 D/VPN_Connections( 2480): Read vpnc process id as 2681

06-03 21:07:42.630 D/VPN_Connections( 2480): vpnc still trying to connect but we've timed out. Will try to kill it and return now.

06-03 21:07:42.630 D/VPN_Connections( 2480): will kill process 2681

06-03 21:07:42.731 W/su ( 2821): database_check_callback argc=1 name[0]=allow argv[0]=1

06-03 21:07:42.740 D/su ( 2821): 10054 org.codeandroid.vpnc_frontend executing 0 sh

06-03 21:07:42.751 D/VPN_Connections( 2480): killProcess exited with exit value of 0

06-03 21:07:42.760 D/VPN_Connections( 2480): process killed

And after installing the Debug Version, the "grep.." command just says the right thing.

Edited by Sesire
Link to comment
Share on other sites

  • 1 month later...

Hello guys,

I'm trying to install the tun module on desire with the following kernel

 

2.6.32.9-bravo-froyo-r15

 

I can't find the right module, so when I try:

 

#insmod /system/lib/modules/tun.ko

smod /system/lib/modules/tun.ko

smod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)

 

Any suggestion?

Edited by daemon1978
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.