yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] prscott1:
I read your post on the vogue forum - you give lots of information. Have you set any vpnc flags? Your lastConnection log looks okay - so I'm thinking you need to set a vpnc flag.

While you are on the vpn connections main page, click the menu button - you should see the VPNC flags popup - select that and try setting the nat traversal mode to cisco-udp if the vpn you are trying to connect to isn't using tcp - this will help with the dns issues you describe. "--natt-mode cisco-udp" (without the double quotes).

So if you run it manually again, try:

/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --natt-mode cisco-udp --debug 1

Also, If you review the vpnc-script in the files folder you will see that the dev altered the script with code specific for android OS and alters the default route when the vpn is engaged and creates a def_route.txt file in the files folder that the vpn uses to set the route such that the default route (ip, gateway) of your phone is used rather than the ip, gateway of your ipsec gateway.

For other troubleshooting, you should make sure the ROM you are using has the following applets activated that are all used by the vpnc-script: ip , ifconfig, route (you can test them from a terminal prompt).

Also, you may have to write a little script (or put in your userinit.sh) to install the tun.ko module manually first - then use the gui frontend. I had a similar situation with one of the ROMs I ran with, but once I installed the tun.ko with my script, then the gui worked fine. With another ROM, I had to install a personal version of busybox and then copy the ip, ifconfig and route applets to the busybox /bin to make the gui work okay - (the dev had removed a lot of the applets from the ROM for sizing and steamlining purposes.)

HTH.
[G1 Android Development] mirth18:
Thanks for the response! Sorry it took so long to get back to you.

I tried the --natt-mode cisco-udp flag.. but it doesn't seem to help, it is actually worse. I end up getting this message:

---!!!!!!!!! entering phase2_fatal !!!!!!!!!---

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

I started using a different kernel and now am having more problems. Seeing messages like:

ip: RTNETLINK answers: Network is unreachable

I am going to give up for now and focus on getting tethering to work.
[G1 Android Development] krimskrams:
VPNC connects but no traffic

Hi,

I installed vpnc on my rooted HTC Hero (I know, it is the G1 forum....).

tun driver loads fine and vpnc seems to connect successfully, nameservers are changed but then no traffic travels accross the VPN. After some minutes the connection drops being idle too long.

Here is the output of vpnc:

vpnc version ERSION

HERO: pre-init vpn

IKE SA selected psk+xauth-aes128-sha1

NAT status: no NAT-T VID seen

got address 9.12.224.173

HERO: connecting vpn

backing up dns

vpnc-script ran to completion

IPSEC SA selected aes256-sha1

VPNC started in foreground...

and ip route, ifconfig tun0 and netcfg, which l0oks ok for me:

# ip route

129.34.8.147 via 192.168.123.1 dev tiwlan0 src 192.168.123.96 mtu 1500 advmss 1460

x.0.6.1 dev tun0 scope link

x.0.4.1 dev tun0 scope link

209.134.170.0/24 dev tun0 scope link

x.12.224.0/24 dev tun0 proto kernel scope link src x.12.224.173

192.168.123.0/24 dev tiwlan0 proto kernel scope link src 192.168.123.96

209.134.168.0/23 dev tun0 scope link

158.84.8.0/21 dev tun0 scope link

129.40.0.0/16 dev tun0 scope link

167.210.0.0/16 dev tun0 scope link

130.103.0.0/16 dev tun0 scope link

158.98.0.0/16 dev tun0 scope link

149.131.0.0/16 dev tun0 scope link

129.39.0.0/16 dev tun0 scope link

x.0.0.0/8 dev tun0 scope link

default dev tun0 scope link

# ifconfig tun0

tun0: ip x.12.224.173 mask 255.255.255.0 flags [up point-to-point running multicast]

# netcfg

lo UP 127.0.0.1 255.0.0.0 0x00000049

dummy0 DOWN 0.0.0.0 0.0.0.0 0x00000082

rmnet0 DOWN 0.0.0.0 0.0.0.0 0x00001002

rmnet1 DOWN 0.0.0.0 0.0.0.0 0x00001002

rmnet2 DOWN 0.0.0.0 0.0.0.0 0x00001002

usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002

tiwlan0 UP 192.168.123.96 255.255.255.0 0x00001043

tun0 UP x.12.224.173 255.255.255.0 0x000010d1

#

I also ran vpnc with debug 2 and got lots of messages, here is only the end:

VPNC started in foreground...

NAT-T mode, adding non-esp marker

lifetime status: 1 of 28800 seconds used, 0|0 of 0 kbytes used

got late ike paket: 332 bytes

lifetime status: 1 of 28800 seconds used, 0|0 of 0 kbytes used

got late ike paket: 332 bytes

lifetime status: 1 of 28800 seconds used, 0|0 of 0 kbytes used

got late ike paket: 92 bytes

got r-u-there ack

lifetime status: 10 of 28800 seconds used, 0|0 of 0 kbytes used

lifetime status: 20 of 28800 seconds used, 0|0 of 0 kbytes used

lifetime status: 29 of 28800 seconds used, 0|0 of 0 kbytes used

lifetime status: 39 of 28800 seconds used, 0|0 of 0 kbytes used

lifetime status: 48 of 28800 seconds used, 0|0 of 0 kbytes used

lifetime status: 58 of 28800 seconds used, 0|0 of 0 kbytes used

lifetime status: 67 of 28800 seconds used, 0|0 of 0 kbytes used

Any hints why no traffic is going throug the tunnel? Yes, I generated traffic.

bye, Krimskrams
[G1 Android Development] prscott1:
Did you read this entire thread? It may be that you need to set a vpnc flag which is mentioned a couple of times within the thread.
[G1 Android Development] gubacsek:
vpn connects, but apps still use eth0

Hello!

I tried VPNC, and it looks like it can connect to the company VPN, tun0 has a correct IP address, routing is in place (looking with route -n), everything looks fine, but if i traceroute to an IP inside the company LAN, it wants to go through eth0.

vpnc version ERSION
IKE SA selected psk+xauth-aes128-sha1
NAT status: this end behind NAT? YES -- remote end behind NAT? no
got address 9.12.227.234
backing up dns and resolve.conf
cp: can't stat '/etc/resolv.conf': No such file or directory
vpnc-script ran to completion
IPSEC SA selected aes256-sha1
VPNC started in foreground...

That resolve.conf error does nothing to do with issue, or ?

Pinging a company network IP with ping -I tun0 works!

So it seems i'm really connected, there is only an issu with the routing... :(

Can you please help me with this ? I really would like to make this work, but i'm stuck here....

SOLVED: I found this: ip ru del table wifi (if i'm on wifi) This deletes the routing table of the wifi, which is before the local table, so that was used. When i delete it, everything works, even DNS (which was a big surprise :D )

To set back the old routing settings, turn on and then off the airplane mode.
[G1 Android Development] mp1405:
VPNC patches to work perfect

see my post #775248 there is the solution for all your problems
[G1 Android Development] Guardian_Bob:
Awesome, works for my Captivate

Using Cognition 2.2 Beta 6, I used insmod to load tun.ko, sideloaded the app (couldn't find it in the market) and it works. No FC, but after disconnecting I had to turn my wifi off and on again to get anything but Google loading.

Nicely done sir.
[G1 Android Development] goeland86:
Using rooted SonyEricsson X8 (E15i, firmware 1.6/1.3.A.0.50/8), installed tun.ko, loaded it, and side-loaded vpnc (didn't show in market).

I tried connecting to my uni's Cisco vpn, and no go. I've used vpnc on my laptop to connect to it before, too.

Any help?

Thanks!
[G1 Android Development] JDima:
I couldn't find that post. I have exactly the same problem - the propper routes are in the routing table, but they are ignored, ping -i works. Help please...
[G1 Android Development] goeland86:
Ok, so I tried and tried, and ultimately just ran through this old tutorial here: http://techha.us/2009/06/android-vpn-vpnc/

Now when I run the "go" script (the extremely long line to start up vpnc), I get the following error message:

/data/org.codeandroid.org/bin/vpnc was built without openssl: Can't do hybrid r cert mode.

Can anyone run me through how I would re-build vpnc? Or perhaps find a way to build vpnc with openssl built-in?

Thanks guys! :)
[G1 Android Development] jimmyz:
I have this up and running on my epic 4g- its great!

My question is what does the "VPN" check box- enable/disable actually do?

I can connect to my vpn with it checked or unchecked (enabled/disabled)
[G1 Android Development] livehappy42:
I've been trying to get my Epic 4g connected to my work VPN since I got it (weeks!); can you give me any specific help/hints on how you did it, Jimmyz? Thanks!!
[G1 Android Development] jimmyz:
Its actually pretty straight forward- check out the thread here

If you are on a stock kernel just push the tun.ko to system/lib/modules and as long as you are rooted and install VPN connections you should be good to go. I still don't know what the "enable vpn setting does".
[G1 Android Development] forgetmyname:
Hi,

I have a Samsung Galaxy S running Eclair 2.1, which has the Voodoo kernel on it.

The Voodoo has tun.ko included with it.

I have tried to load both the Voodoo tun.ko and the tun.ko provided on the VPN connections google code site code.google.com/p/get-a-robot-vpnc , but neither will load. Have I made any mistakes?

/lib/modules # modprobe ./tun.ko
modprobe: chdir(2.6.29): No such file or directory
/lib/modules # modprobe tun.ko
modprobe: chdir(2.6.29): No such file or directory
/lib/modules # modprobe tun
modprobe: chdir(2.6.29): No such file or directory
[G1 Android Development] forgetmyname:
Actually, the command I should have used is insmod, not modprobe.

All is well

/sdcard/modules # insmod ./tun.ko

/sdcard/modules # lsmod | grep tun

tun 11036 0 - Live 0xbf1da000
[G1 Android Development] kheavy:
Installed on Gingerbread 2.3 Nexus S (rooted)- configured but always goes to forceclose when I try to launch it.

Ran the fix permissions with the rom backup tool and still no joy, any suggestions?
[G1 Android Development] MeX_DK:
Can anyone offer any help on getting it to work?

Im on a stock HTC Rom, but is rooted, S-Offed etc. My main problem is with:

* /dev/tun file

* Kernel with tun support (or tun module). (cyanogen should be good)

But can anyone offer any help or suggestions that might help?
[G1 Android Development] MeX_DK:
Any news ?
[G1 Android Development] singcheng:
I was trying to use the vpnc on my HD2 (running af403 DHD stock rom v1.5).

I managed to connect to vpn (it shows Connected; I tried to change the password and then it fails, so it should really be connected with a correct password :p).

However, when I tried to configure my Microsoft Exchange (with a local computer name, i.e. http://server1/), the app cannot connect to it...

can anyone help? thanks!
[G1 Android Development] SpEnTBoY:
My first off guess is that you do not have your search domain in you resolv. Try appending your FQDN IE: http://server1.mydomain.com/ and see if it you get further.
[G1 Android Development] 3junior:
Can you please build another version of vpnc from nortel branch?

Thanks
[HTC Vox] rohit330:
Hi everybody,

i found metal case for vox here -> http://shop.brando.com.hk/brando-workshop-htc-vox-htc-s710-metal-case_p02064c0703d039.html

but it US $ 28. Its pretty expensive i tink. Does anybody have any idea about plastic case, instead of metal (same type)

Thanx in advance
[JAM, MDA Compact, S100 Software Upgrading] truong90:
Hi all

I'm a new mem... :D

Fist, Sorry for my bad English

I am having trouble when installing Linux on a phone, i copy "Openmoko.exe" and " Openmoko.tar" to my SD card. i run Openmoko.exe and i see error message :"Error: undefined MTYPE"... Now I have to do anything to run it???

Please help me! thanks
[G1 General] mastercut:
is there a way to store some sms on a private folder, or keep private with some password?

sorry for my english
[Touch Pro2, Tilt 2 Windows Mobile General] itm:
The only reason I didn't buy a Touch Pro was the problem with GPS accuracy and lag when using TomTom (I use TomTom all the time on my Eten Glofish M700 and have got used to the quick locking and excellent performance of the SIRF III chipset in this phone).

Does anyone know if the GPS lag problems have been fixed in the Touch Pro 2?
[Touch Pro2, Tilt 2 Windows Mobile General] darknyt:
I searched around and didn't see an answer to this yet.

Has it been fixed?

Seeing the tips and tricks section contain the same suggestion as we had for the TP makes me think not . . .
[Touch Pro2, Tilt 2 Windows Mobile General] itm:
I now own a TP2 and can confirm that there is virtually no lag with either iGo8 or TT7 - both are perfectly usable
[Touch Pro2, Tilt 2 Windows Mobile General] danielherrero:
Using tt7 side by side with a TomTomGO they talk at the same time.....so no lag.....
[Touch Pro2, Tilt 2 Windows Mobile General] brahmanto:
I have been using TP2 with Garmin and Igo8 and comparing the lag with my in dash car Garmin side by side (using the same map).. can confirm that TP2 perform as good as my Kaiser .... no lag....
[Touch Pro2, Tilt 2 Windows Mobile General] rotaflex:
TP2 GPS

If TP2 GPS is the same as Kaiser, it's pretty bad. It takes forever to lock in Kaiser
[Touch Pro2, Tilt 2 Windows Mobile General] danielherrero:
Both devices have different qualcomm chip and TP2 has an almost instant fix if you setup QuickGPS to update automatically.....
[Touch Pro2, Tilt 2 Windows Mobile General] :
No problems here either, I have a fix within 20 seconds and it works great with TomTom 7! So I'd say go for it... :)
[Touch Pro2, Tilt 2 Windows Mobile General] ronh:
I also don't have any lag.

But I make sure that all other programs are closed.

Try installing you TomTom program files (not the rest) in main memory.

And try a softreset before you start navigating.
[Touch Pro2, Tilt 2 Windows Mobile General] Kork:
Using it with Navigon and no lag at all. Plus i get an almost instant GPS fix which is way better than the Touch Cruise I had before.
[Touch Pro2, Tilt 2 Windows Mobile General] somethingdope:
for me the TP2's GPS lock-on is almost instant, especially if you use advanced config and enable A-GPS
[Touch Pro2, Tilt 2 Windows Mobile General] martinjclarke:
I'm pretty gutted reading all these posts, as my GPS is a small nightmare. It fixes VERY quickly - no probs there.

But - and I have done all suggested tweaks - there is a serious lag issue for certain. TT has to play serious catchip when you turn etc.

Think there are others in same situation as well if I remember correctly from previous threads.
[Touch Pro2, Tilt 2 Windows Mobile General] Fanman1976:
Same here.

All tweaks applied, fix is instant, but turning on the highway on a exit ramp is a nightmare.

TT is always 20 meters behind.

Also, when i boot the TP2 the GPS fix is instant, when the phone has been running for a few days and I start TT, the fix takes ages.

A restart of the TP2 solves this, after the reboot the fix is instant again.

Second problem: Sometimes using the TT for more than 30 minutes, the nav completely locks the current location.

Like there is the same location coming from the GPS.

Restarting TT solves it. This effect occurs rarely, but is annoying none the less.
[Touch Pro2, Tilt 2 Windows Mobile General] danielherrero:
Same here but this is TomTom problem....
[Touch Pro2, Tilt 2 Windows Mobile General] remarks:
Just a thought.... do you think it could have anything to do with the read speed of a slower class SD card. I have a 16GB class 2 microSD card. Or maybe it's just an issue with reading the maps off the card.

I noticed that as well as my maps lagging, my music skips as well when the GPS is running.

Maybe it has nothing at all to do with the GPS.

Just my two cents!
[Touch Pro2, Tilt 2 Windows Mobile General] rob_p:
I have bad lag on mine as well. The lock is pretyt much instant, no problems there, but lag on TT7, iGO8, Navigon are all the same - they all lag by at least 2 seconds and it's incredibly frustrating.

I've done so many different suggested tweaks, gone through advice from HTC, nothing changes it at all. So I don't know if it's a hardware problem if some are getting no lag and others aren't?

I'm running an 8GB class 6 SanDisk card. It's formatted correctly and everything, and ran like a dream on my Kaiser, but like a dog on TP2. I'm giving it another month or so (since it's a new phone), but if there's no fix from HTC by then, the phone's going into them to get looked at and will keep going back until my gps runs as well as some those with no lag.
[Touch Pro2, Tilt 2 Windows Mobile General] rob_p:
[double post]
[Touch Pro2, Tilt 2 Windows Mobile General] darknyt:
Well, this is slightly encouraging, but at the same time there were plenty of people who claimed their TP worked great and we all know the majority of those were ****ed with GPS lag.

Guess time will tell as more people get these in the US esp.
[Touch Pro2, Tilt 2 Windows Mobile General] steve_bubble:
Yep - works fine using Memory Map too - bit slow on googlemaps, but that's just the time it takes to download the pictures.
[Touch Pro2, Tilt 2 Windows Mobile General] shockabuku:
runs great on my tp2...try to uncheck poi`s. more poi`s activated on mapview means more lag...i`ve had this problem on my i780 too.
[Touch Pro2, Tilt 2 Windows Mobile General] martinjclarke:
nah, not TT related or POI related for me anyway. Have tried the POI thing.

And exact same issue with Google Maps (and it's not related to internet connection) - it registers turns etc. very slowly.
[G1 Themes and Wallpapers] AndroidAutobot:
http://www.mediafire.com/file/untgzkmivld/Hv1.5r3_AmazingSpider-Man_final.zip

http://www.mediafire.com/file/n1mzgmmmwqn/Hv1.5_Spider-Man_A2SD.zip

So, being my first theme building endeavor... this isn't nearly as elaborate as other themes that have been posted on here... but having used Openhome avidly I really really was cravin an Amazing Spider-Man skin and thus was inspired to build one of my own.

Changed the menu, and almost all of the default icons. It's not COMPLETELY done yet. I'm still hoping to mod the clock but have yet to figure that out (will update on this thread once I have).

I'd def like any feedback anyone might have for me. enjoy! =)
[G1 Themes and Wallpapers] RainCrow:
oh nice! Not too shabby for a first try. I like the thing you picked for the pull up tab altho I would recommend you do something with the status bar. Maybe like a dark grey with webbing or something but ya i like it.

On an unrelated note though, how'd you manage to change the background for the apps tray?
[G1 Themes and Wallpapers] johnowa636:
how did the clock turn out? Care to show a screenshot?
[G1 Themes and Wallpapers] AndroidAutobot:
yep. took me a couple hours to perfect the image =) It's not the fanciest clock but I'm pretty happy w/ how it turned out =)

Cleanin up the wallpaper (to remove the reference bar near the bottom from the image) then I'll be posting an update =)
[G1 Themes and Wallpapers] AndroidAutobot:
pattern_carbon_fiber_dark.png in the Launcher.apk =). Jus pulled artwork of Spidey w/ that webbing in the background and cut and pasted into a 120x120 square, replacing the old file w/ my new one =).

I'll prolly delve into the status bar next. Otherwise I'd be just about done and I've been keeping myself so busy w/ this over the last couple of days I don't know what I'd do w/ myself if I were done lol.
[G1 Themes and Wallpapers] AndroidAutobot:
as far as the menu bar goes (and a lot of the icons)... this took the most time cuz I extracted most everything from larger pictures and had to outline what I wanted and make the surrounding border translucent =) Didn't have the black border @ the top of the menu @ first and took some time to add it to the bottom of the menu bar image. Definitely looked a lot better after I did that =)
[G1 Themes and Wallpapers] RainCrow:
Ohhhh thats where that file is. Well thanks for that! Haha and ya theming sorta just destroys your life once you start. Badass clock too btw.
[G1 Themes and Wallpapers] AndroidAutobot:
Thanks man! =) I love themeing though =) It's a great time killer and it pushes my multitasking skills to their max at times. I have a pretty good system developed and work at a pretty healthy pace. Got 4 different folders on my desktop I use, one for the extracted ROM file, the other for the extracted apk, and a second pair for an original ROM and APK if I'm trying to check the unaltered source for one reason or another =)
[G1 Themes and Wallpapers] AndroidAutobot:
here's the newest revision w/ the clock and a cleaned up wallaper =) I'll prolly start messin around w/ the status bar in a lil bit =)

http://www.mediafire.com/?0oymgjtnizk
[G1 Themes and Wallpapers] AndroidAutobot:
lost my battle w/ trying to perfect the art of properly editing the .9.png files. Thus incorporated VK and Music widget elements created by a couple other developers and am waiting for their OK to include them in an update.

Messed w/ the status bar as well which I'm really happy w/. =)

Once I hear back from them as to whether theyre cool w/ me including their work or not, I'll post the update including this status bar and those elements. =)
[G1 Themes and Wallpapers] mimic1011:
i like this. looks very comicy/classic... but what ever happen to the pull up try doing something when selected? maybe a web is on it when u select it? also a custom status bar would be cool.
[G1 Themes and Wallpapers] LatinSilEighty:
i love it bro i wish i knew what was necissary for doing a theme but everything just seems like a whole lot of mumbo jumbo when i look at the different kinds of files and crazyness that goes into making a theme. i have the ideas just lack the experience.

your status bar and your clock are great bro i could only wish when i do decide to figure out how to make a theme it comes out as good as yours bro. great job. Im sure your themes will be among the nastiest when you get going.
[G1 Themes and Wallpapers] AndroidAutobot:
Status bar is actually modded (scope the picture from my last post). It'll be posted w/ a new red on black VK and hopefully a skinned music widget once I hear back from the dev who made the images for the music widget. Not wanting to use anyone's work w/ out their consent. I straight gave up in trying to adjust the batch.9.pngs (ie what the music widget and VK are built on). Spent way too much time and ultimately accomplished nothing. Was so frustrated.

Working on the notifications next...

I might still do something w/ the menu tab. Isolating a good web by itself is a LOT more challenging than I originally thought it would be ha ha.
[G1 Themes and Wallpapers] AndroidAutobot:
Thanks man =) I totally relate when it comes to the comprehension thing actually. I can edit image files and replacethem w/ in the framework to no end. But when it came down to editing the batch 9.pngs it was straight up foreign and a half to me and I couldn't pull it off. =) That's why I haven't posted it up w/ the status bar yet... I'm waitin to hear from a cat who's music player widget I'd like to include in it. Prolly be postin an update tonight sometime.