Hi,
I've been using emBedded visual C++ for 2-3 years writing application for pocket PC ( Mainly Ipaq'a).
I've recentrly invested in a Xda but when I attempt to "update my remote output file" from with embedded VC ++" i get the following error:
" Microsoft Active sync connection server failed, Please make sure active sync is running and retry the download etc.."
Of course Activate sync is running, and running correctly, Has anyone had this issue before ?
I can manually copy my executable to my device and run it,but then I can't debug. I'm in the process of download VC 4.0 and going to try that, but really wold like to runing in under the 3.0 version.
Any comments would be appreicated.
Bad news dude, eVC++ works only with PocketPC 2000 + 2002. The development environment you'll need to develop on 2003+ is either eVC++ 4.0 or Microsoft Visual Studio.NET.
Thanks for the update,
I've installed Embedded VC 4.0 and the SP3, Now I can download to my XDA which is great.
Now I want to maintain backwards compatiable and download to my ipaqs in 2002, I can't change the actiive configuration to PPC2002
Is there a way to compile my application for both 2002 and 2003 using VC 4.0 or do I need to maintain both IDE's
Sorry but there's no way to maintain both 2K2 and 2K3 targets from eVC 4. You can have the same set of source code but eVC 3 + 4 have different project file types. Have a project per IDE containing the same source code. Just remember when you add files to the project you're working on, remember to add the files to the other platform's project as well.
Happy coding!
-Timbo.
I have been searching high and low for a GUI based Certificate enroller for
Windows Mobile devices. Essentially I want a GUI driven enroller similar to
the version found in the WM2003 SDK using enroll.exe and enroll.cfg or
something similar. Ideally this GUI based enroller would be standalone and
would not store any credentials after the enrollment process. The WM2003 SDK enroll utility currently requires you to pre-populate the enroll.cfg file
with a user name, password, domain, CA servername and cert template this file has to be transfered to the device then launched with enroll.exe. The file resides with all credentials after the enrollment process. Any
chance we can get this GUI based that would work for all WM devices?
Hi Friends,
I am using C#.net as Programming language and device is WIN Mobile 5.0.I have to call a website/webservice using https://<IP NAME>.com. I have secured my IIS 5.0 using SSL and installed root certificate at server. I sued verisign's trails SSL and they issues me client certificate for my browser.BUt as per my reqiurement when I try to acces the server from device,I am not using explorer(as am bypassing it) and am directly creating a https request from my code.
But in response I am getting "trust failure" error,although the device has certificate insattled on it.
Can you please let me know how resolve it, Do I need to make any code chnage while creatingh HTTP request?
In .NET CF2.0 We are not given HttpWebRequest.ClientCertificates.Add(<>) method. Is there any workaroud for it?
Thanks & Regards,
Gurtej
Since I bought my HTC Hero two weeks ago I can't stop enjoing the device.
Except one thing: Currently no OpenVPN client exists yet for the Android platform.
While searching Google I could find people referring to successfull ports of openvpn, but all discussions were vague and all links were dead.
This resulted in the motivation to work on making openvpn available on Android.
For the last weeks I have been reading documentation and already started coding a very basic GUI. (listing and editing configuration files)
Being fairly novice to Android, and expecting I'm not the only one envying such functionality I am starting a Call for Participation trying to reach other developers interested to work on the project.
As structure of this application I see the following parts:
1) GUI stuff to manage configurations (view, create, edit and delete). Tunnel management (connect, disconnect, view log, view ip) would also be done here. (language: java)
2) background daemon sending notifications about the tunnel state (don't know if that's necessary) (language: java)
3) ported openvpn client that parses the config and does the real work. (language: c)
It looks like other projects already provide the necessary tun kernel drivers. Rooting your device will be necessary to be able to load the driver.
Being supportive to open source software I'd like to keep the code open.
Discussions about selling the (compiled) GUI on the Market are possible.
Interested developers can reply here or contact me at [email protected].
Some interesting links:
http://openvpn.net/index.php/open-source/downloads.html
http://developer.android.com/sdk/ndk/1.5_r1/index.html
http://code.google.com/p/get-a-robot-vpnc/
Posted on xda-developers and MoDaCo.
Please post if you find a openvpn GUI for the HTC Magic / Hero
Best regards
I saw one being developed in Singapore.
I think its featured by the codeandroid.org community.
Its in the Marketplace now, I guess?
jeremy89632 said:
I saw one being developed in Singapore.
I think its featured by the codeandroid.org community.
Its in the Marketplace now, I guess?
Click to expand...
Click to collapse
Searched for it in the SG App directory and couldn't find it there.
It doesn't show up either in the US Market. Could you please attach an apk for it?
stickman said:
Searched for it in the SG App directory and couldn't find it there.
It doesn't show up either in the US Market. Could you please attach an apk for it?
Click to expand...
Click to collapse
Can you go to codeandroid.org forums and open a thread to ask about it?
OpenVPN 2.1 available
You'll find the port here:
http://github.com/fries
A port of liblzo, patches to openssl to support blowfish and openvpn 2.1 it self.
Precompiled binaries are available here:
http://github.com/fries/android-external-openvpn/downloads
There is currently no installer but you can copy the file to your device with the adb command.
I'm also working on an app to monitor and configure vpns.
Best Regards
Now there is also an android app to monitor the openvpn state.
http://github.com/fries/android-exte...nvpn/downloads
fries_ said:
Now there is also an android app to monitor the openvpn state.
http://github.com/fries/android-exte...nvpn/downloads
Click to expand...
Click to collapse
Corrected link
http://github.com/fries/android-external-openvpn/downloads
is there any reason why the monitor application does not work ?
ive installed openvpn successfully but the monitor application is just a black in black layout ?
ng
porear said:
Corrected link
http://github.com/fries/android-external-openvpn/downloads
Click to expand...
Click to collapse
Hi.
I've installed both openvpn and Openvpn-Monitor.apk.
Monitor opens, but there is no way to configure vpn. I've tried to import a valid config file from my linux box but monitor says it's not a valid config file.
Any advices or docs?
Thanks in advance.
inigoml said:
Hi.
I've installed both openvpn and Openvpn-Monitor.apk.
Monitor opens, but there is no way to configure vpn. I've tried to import a valid config file from my linux box but monitor says it's not a valid config file.
Click to expand...
Click to collapse
Been there. The Monitor doesn't even allow me to import a valid config. Save button is never enabled, but I've got the vpn up and running well from the command line.
rgawenda said:
Been there. The Monitor doesn't even allow me to import a valid config. Save button is never enabled, but I've got the vpn up and running well from the command line.
Click to expand...
Click to collapse
I haven't gotten it to work yet, still just a black screen for me also but I found out it connects to 127.0.0.1 7890 which I assume is supposed to be the management interface of openvpn.
I added "management 127.0.0.1 7890" to my openvpn config and can se the monitor app talking to it but still the black screen.
Just thought I should share it, perhaps someone else will figure out the next step in getting this working.
Force closes on hero when hitting find to import config file
title says it all ...have installed the libs/bin in /system/lib and /system/bin (actually I already had libssl and libcrypto)
installed the monitor apk and everytime I got to settings import file -> Find the app force closes.. :-(
Can anyone help ?
Moved to the New Forum
Android software development
Im one of the opensource OpenVPN ALS developers ( used to be adito/ssl explorer ). If you need any help on RADIUS or something more basic just send me a pm.
OpenVPN GUI
the VPNMonitor even not works for me, it crashed if i'm trying to import a config file.
I wrote my own OpenVPN GUI and for about 4 hours it's on the android market.
More informations about it can be found on my page at http://www.blank-online.eu/android/openvpn_gui/
unfortunately my page only is in german so I'll give a short summary:
it asks you to download openvpn binary file incl. tun.ko module if needed.
then it may does a wget and chmod and ln -s (because of ifconfig and route)
You can edit the path to your openvpn file
yout can set the path where your configfiles are
and easily start/stop openvpn connections via checkboxes...
i think it became a very nice app
i love it
i'm looking forward to your feedback!!
Another discussion about this is going-on on MoDaCo.
http://android.modaco.com/content/software/291919/openvpn-on-android/
I also have released an OpenVPN GUI for Android.
The the code is completely opensource, so you can check that I added no backdoors, or you could help fixing bugs by sending patches ;-)
The application can currently:
- Create and edit configurations
- Connect / Disconnect
- View log and share it ( send by email or other means )
- tunnel notification/status in system tray
I am currently working on the implementation of a password prompt for certificate authentication and user/password authentication.
My goal is to release this feature in a week or so.
You can find a README and the openvpn binaries here: https://sourceforge.net/projects/tunneldroid/files/
(these binaries don't require the ugly 'bb' symlinks that the others published on Git do need (http://github.com/fries/android-external-openvpn)
TunnelDroid is published on the Android Market.
So just do a simple search for it. This will help you to follow the updates.
Please give feedback if it works/doesn't work on your phone.
If I start an openvpn connection via shell (using my config file) it works, however with your tool it starts to connect and it even establishes a connection, but only a few seconds later it disconnects with the following error:
event_wait_interrupted system call (code=4)
TCP/UDP: Closing socket
SIGTERM[hard] received, process exiting
blackplatypus said:
If I start an openvpn connection via shell (using my config file) it works, however with your tool it starts to connect and it even establishes a connection, but only a few seconds later it disconnects with the following error:
event_wait_interrupted system call (code=4)
TCP/UDP: Closing socket
SIGTERM[hard] received, process exiting
Click to expand...
Click to collapse
I have the same problem.
lastConnection.log:
Code:
Thu Nov 12 17:17:37 2009 OpenVPN 2.1_rc15 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Nov 1 2009
Thu Nov 12 17:17:37 2009 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Nov 12 17:17:37 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Nov 12 17:17:37 2009 WARNING: file '/sdcard/openvpn/client.key' is group or others accessible
Thu Nov 12 17:17:37 2009 LZO compression initialized
Thu Nov 12 17:17:37 2009 Attempting to establish TCP connection with xx.xx.xx.xx:9000 [nonblock]
Thu Nov 12 17:17:38 2009 TCP connection established with xx.xx.xx.xx:9000
Thu Nov 12 17:17:38 2009 TCPv4_CLIENT link local: [undef]
Thu Nov 12 17:17:38 2009 TCPv4_CLIENT link remote: xx.xx.xx.xx:9000
Thu Nov 12 17:17:57 2009 [server] Peer Connection Initiated with xx.xx.xx.xx:9000
Thu Nov 12 17:17:59 2009 event_wait : Interrupted system call (code=4)
Thu Nov 12 17:17:59 2009 SIGTERM[hard,] received, process exiting
To prevent freezing your phone when openvpn fails to connect I implemented a 30 seconds connection timeout. (line 97 from the source )
TunnelDroid detects you are connected once the tun0 interface came up.
This will probably be where it has issues on your device.
Could you give me a directory listing of your /sys/class/net/ directory once the tunnel came up?
Once I get the info I'll upload a fixed version.
The good news is that I'm currently implementing openvpn-manager support. This means TunnelDroid will be able to interact with openvpn while it runs in the background and will be able to ask openvpn if he's connected.
The technical stuff on the side this means the following new features:
- prompt for certificate credentials
- prompt for auth credentials
- displaying the status of the connection (CONNECTING,WAIT,AUTH, GET_CONFIG, ASSIGN_IP, ADD_ROUTES, CONNECTED, RECONNECTING, EXITING)
- and probably other things ...