Intro:
So, I've had some problems accessing the market from a forbidden country (i.e Sudan, Lebanon). When I tried to use the built-in VPN client in a Cyanogenmod ROM it turned out that it doesn't work so after a well-spent time, I figured out how to use a VPN on my HD2.
What Can it be used for?
- Access the internet using your data connection without revealing your IP address.
- Unlock the market for forbidden countries. (my case)
- Basically, VPN on your Androided HD2.
Requirements:
An HTC HD2 with a Cyanogenmod Rom or a ROM based on it.
OpenVPN Settings application (Provided in the attachments)
An OpenVPN config files and certificates (Recommended will be provided below)
An SD card.
Instructions:
1- I recommend using Hostizzle, go to it then register for a free plan. (go for a paid one if you want)
2- After registering, download your keys (only keys and not .exe ) and extract them to a new folder on the root of your sd card with the following name "openvpn" .
3- Go to your phone and install the "OpenVPN Settings" application (attached) .
4- Run the Application and Allow all the SuperUser Requests. Then press menu and choose "Advanced" . Make sure that "Load tun kernel module" is ticked, then hit "TUN module settings" and make sure that "Load module using" is set to "insmod" and "Path to tun module" is set to "/system/lib/modules/tun.ko" .
5-(optional) if you faced troubles using the internet, long press on your configurations name and then "Preferences" then tick "Use VPN DNS Server" and set the "VPN DNS Server" to "8.8.8.8".
6- Return to the main screen of the app and tick "OpenVPN" and then tick your configuration.
Then it will go through a sequence, when you see "Connected to *.*.*.* as *.*.*.*" then you're connected, if you're seeing a blank after "as" then you have a problem and you have to check the procedures again.
Tips & Warnings:
*You can use any OpenVPN service as long as you can obtain the configurations file.
*I have only tested this on "HyperDroid", but it should work with any cyanogenmod ROM.
*Do not install "OpenVPN installer" as it will mess up your phone's VPN configurations.
*OpenVPN Settings can be obtained from the market, but in my case I couldn't do it .
*The files you should copy to the "openvpn" folder should at least contain the following : (*.ovpn, ca.crt, client.crt, client.key, ta.key)
*It is ok for the connection to keep restarting, it will connect you soon.
*Anything else you tell me
Frequently Asked Questions
-not yet ...
I wrote this tut because I wasn't able to access the Market from my phone because the country was forbidden
Hit thanks if it/I helped.
Related
I have successfully connected with the Qtek 9100 AKU2 ROM (the latest stable ROM for HTC Wizard) to Cingular via Bluetooth and Mac OS X 10.4.6. Instructions:
1. Pair OSX and the phone. You might need to check the "any device" checkbox on OSX's pairing utility.
2. Verify to OSX that you do want to use that device as a modem (if you don't get that dialog, then you will need to create the Bluetooth connection yourself -- message me or leave a comment if you need instructions and I will reply to you).
3. RENAME the attached iPAQ-GSM.txt to plain iPAQ-GSM (remove the .txt extention using the Finder 'Get Info' dialog). Copy the file "iPaq-GSM" to your /Library/Modem Scripts/ folder. I modified the original script that was floating on the internet for a year now in order to work with Cingular (the original script wouldn't get a carrier signal with my phone -- it needed some small initialization changes).
4. Go to your System Preferences/Network/Bluetooth/. There enter the following:
Service Provider: Cingular
Account Name: [email protected] (case sensitive)
Password: CINGULAR1 (case sensitive)
Tel number: *99# (the *99***1# number that does work with other phones doesn't work with the HTC Wizard)
On PPP options uncheck "tcp header compression".
On the Modem tab uncheck both "enable error correction" and "wait for dial tone". From the modem drop-down menu select the iPaq-GSM modem script.
Then, click Apply and then open the "Internet Connect" application and select Bluetooth from there. Click "Connect" and you should now be connected on the net via Cingular GPRS/EDGE.
Alternatively, you can create a new networking bluetooth connection instead of using the generic bluetooth networking pref panel, but that involves a bit more work -- although I personally prefer it as I have over 8 phones and I need different networking connection names and settings for each, instead of using the default "Bluetooth" one. If you are on the same boat, IM me or leave a comment for more instructions.
Thanks
dude you just made my day. It works perfectly. Thank God for people smarter then me.
Unfortunately, in my AKU2 QTek ROM, the PPP server dies right after I disconnect from the Mac. I have to reboot the PocketPC before I can reconnect my Mac to GPRS.
If anyone knows more, please download the script above and tell us if there is a way to fix this.
more mac users
hey guys,
just wondering if you've been able to sync your MDA(Wizard) to your mac. and if so, how? also, any luck updating ROMS without a PC?
whalien
Hi,
I hope that is going to the right forum. Otherwise apologize, and with the help of moderators should go on the right place.
After long trying period succeeded to install and (this was the hard part...) to make use of OpenVpn on my Diamond2.
Working constelation:
1. ROM of TD2 is official Vodafone-German: 2.16.162.3 (67041)
2. Main Gateway - openvpn server - is a Speedport w701v (should work with any openvpn server flavour with version > 2.0.5, including windows servers)
3. You need to install the openvpn for PPC version 2.0.5 (version 2.1.0 failed to be usable on the device) from the ziggurat29 dot com website.
4. Deploy the configuration files for the server and the client (in my case HTC TD2) - please do not ask me how, there are 1000 of sites full of configs
5. Disable (this is not so nice, but the openvpn is built on old PPC GUI) as shown on the untangle forum for the link to video how to connect - a video flash link on that forum). The video is showing as well how to connect from the GUI.
!!! ATTENTION !!!: USE VERSION 2.0.5 AND NOT 2.1.0 CABS ON THE TD2(the version 2.1.0 will not be able to bring up the TAP interface).
Notes:
1. On the communication was using "dev tap" and tcp - no idea if dev tun works.
2. VPN was established successfully on WiFi and as well on the Cellular Data Connection (depending on your provider, you may have issue on the Data Connection)
I am happy if this posts will help some other people and saved some time for them...
/Tolum
P.S. Sorry for not being able to add the external links, but these are the rules for the beginners.
Anyone else have this issue? I heard about the bug in 2.2 that caused phase 2 authentication to not hold, but it appears it made it to 3.0. When trying to connect to my work network, I select MSCHAPv2, and other appropriate settings; however no connection is made. When I go back into the settings, the phase 2 authentication is set to none.
I have tried creating the connection manually, resetting the connect over and over, still no luck. Any ideas?
Have the same issue!
No workaround or patch yet
Brgds,
S.
I have mine working here in my office without issue.
The key thing you need is the Cert.
On my network, there are 2 ways to get it.
1. Find the .cer file and put it on the ROOT of the "SDCard" (internal storage)
1. Be sure the {filename}.cer file is on the ROOT of your SD Card (not inside any folders)
2. From Home Screen, go into Menu > Settings
3. Depending on your phone, you may see either:
a. Location & Security
b. Security4. Go into whichever menu option you have
5. Scroll to the bottom and click Install from SD card
6. You will either be prompted to import and create a password (which should be something you will remember) or you will see an error that no certs could be found. This is normal and does not mean it will not work, just continue with the steps below and all should be fine.
7. Next turn on Wi-Fi
8. Go into Wi-Fi Settings
9. Click Add-Wi-Fi Network and enter the following:
a. SSID: {Your-SSID-Here} (Case Sensitive!!!)
b. Security: 802.1x Enterprise or 802.1x EAP (Not all devices will have this option)
c. CA Certificate: None Specified (here, you MUST click on the None Specified and then click again on the None Specified in order for the cert to be picked up on your SD Card. Not all devices will have this option)
d. User Certificate: None Specified (this one can be left alone. Not all devices will have this option)
e. EAP Method: PEAP
f. Phase 2 authentication: MSCHAPV2
g. Identity: Your Domain account name (you do not need to put {DOMAIN}\ in front of your user name)
h. Anonymous identity: Leave this BLANK
i. Wireless Password: Your DOMAIN domain password
Note: On some devices or ROM’s (for those that are rooted), you will be prompted for the Cert Password when re-connecting to the W-Fi Network; this will be the password you used in step 6.
2. Log into the Guest Wireless account, fire up the browser and log into when asked. This will download the cert.
Once either of those are done, set up your wireless connection and it works.
Now, I know it's different for other networks out there, but give me some info and I'll see if I can help.
Thanks.
Updated above
This guide teaches you to reverse tether your Android phone via WiFi. That is, it allows you to use your Ethernet connection of PC on your Android phone. It is useful for those who do not have WiFi routers and data connection. So if you have unlimited data plan for your computer, why not share the connection with your phone?
I am not the developer of the files supplied
Requirements:-
1.Rooted Phone
2.Wifi enabled Laptop or PC
3.Root explorer or any other application which gives system access
4.File in the attachement
Procedure :-
Phone:
Download Wpa_supplicant.zip and extract "wpa_supplicant" from it, save it on your SD card.
Open Root Explorer, and grant it superuser access when asked for.
Navigate to system -> bin and long press on wpa_supplicant; Select copy, and paste the file into any folder on your SD card.
Now navigate to the file you downloaded, copy it in same way, and paste it back to system -> bin. Note, you might need to mount the system as R/W instead of R/O by pressing a button on the top just before pasting the file.
Reboot.
▬▬Ubuntu (Must work for other Linux Distros too)▬▬:
Open Network Connections
Goto Wireless tab, select add, and set the following:
SSID:
Mode: Ad hoc
Leave other things unchanged, and go to Ipv4 settings tab
Set method to Shared to other computers
Go to Wireless security tab and set Security to WEP 40/128 bit key and set key to a numeric password (or hexadecimal one).
Check the connect automatically box on top of the tabs and press Save.
Your Android phone must now detect this network, and you can establish the connection by using your security key.
▬▬Windows XP, Vista, 7▬▬
Download and Install Connectify from www . connectify.me/download-lite/
Start Connectify Hotspot by giving a name and password to your hotspot and selecting the Ethernet connection to share. Make sure the security type is WEP or Open.
Disable your firewall (Simply adding it to exceptions doesn't work for AVG at least)
Now your phone should be able to see the hotspot and establish the connection using the password set.
Known Issues :
1.Random disconnections (Very less frequency)
2.Disconnections due to screen lock / sleep on laptop
3.For me Security mode does not works
HIT THANKS IF IT WORKED
ENJOY
Download the file here :-
http://db.tt/FdAVwebJ
If someone want mirror then post
Using this method you can download everything
From apps on Play Store to Media hosting websites link
Post your Review
Reserved for future update
@avilove4u
This is not a free solution , you need a wifi Pc (90 % of computers at work don't have wifi) and is too complicate for users.
Use my method : http://forum.xda-developers.com/showthread.php?t=1371345
It's a "One click free solution using USB cable" (no need to install other paids tools)
Not yet perfect, but still under development (I am the developper)
"This is a crap , as u cannot do much !"
Please stay on your thread next time before posting such kind of message on my thread.
No need to press "Thanks".
Ha ha lol !
Ur method has certain limitations :banghead:
Now adays every laptop and PC are wifi enabled !
I heard that connectify doesn't require root phone and we don't need that wpa_suplicant.
kurotsugi said:
I heard that connectify doesn't require root phone and we don't need that wpa_suplicant.
Click to expand...
Click to collapse
You heard correct (in most cases). If your device already supports ad-hoc network connections, then all you'd need to do is set up the hotspot with Connectify (or Virtual Router) and connect to it. Otherwise, this method's for you.
kurotsugi said:
I heard that connectify doesn't require root phone and we don't need that wpa_suplicant.
Click to expand...
Click to collapse
But some armv6 devices need that
Without wpa ad-hoc network wil nt be shown in our device
And to get access to system/bin to replace wpa ur device must be rooted na ?
avilove4u said:
And to get access to system/bin to replace wpa ur device must be rooted na ?
Click to expand...
Click to collapse
that doesn't necessary. we can push the file via update.zip
Yeah that's true too
VERY GOOD AND USEFULL GUIDE!!
I've successfully shared the LAN's network of my notebook (DELL) with my android tablet (Mediacom 852i with OMA ROM JB 4.1.1)
Thank you very much for sharing your information.
capslock66 said:
90 % of computers at work don't have wifi
Click to expand...
Click to collapse
[citation needed]
I'm pretty sure you're completely wrong. You're whole post sounds like it comes from a jealous, whiny little girl. And until you can back up this statement, I'm going to assume you are either a liar or an idiot.
Useful app especially for area with bad reception and no wifi.
Sent from my GT-I9100 using xda app-developers app
Avilove.Cullen said:
And to get access to system/bin to replace wpa ur device must be rooted na ?
Click to expand...
Click to collapse
no rooting, no software installation
http://forum.xda-developers.com/showthread.php?t=1133641
This is sooo useful...thank you.
I think my wifi router had broken a couple of hours ago. But now I can use ad-hoc connection from my PC.
I use Huawei Ideos S7 to connect to my windows XP sp3 wifi.
Hello,
It's been 6 months since I'm looking for a solution to run the MMS on my mobile LG-E900 (Optimus 7) Windows Phone 7 (OS version: 7.10.8862.144).
The phone came with the Orange network and I use it now with Free Mobile card. Internet access works well but I can not send or receive MMS (despite the activation mode "Data Connections".)
- when I send an MMS, I get the message "Sending message impossible. Retry. "
- when I get an MMS and I click on the link "Get media content", there is a message "Getting media content" and then redisplay the link "Get media content" and nothing happens .
Having looked around many forums, I tried several solutions without success:
1 - put me near a Free Mobile antenna array and send me an MMS: unsuccessfully
2 - change the APN settings: for the moment, I 'have the following settings: APN = free, Username = "" Password = "", Proxy Server / URL = "", Proxy Port = ""
3 - try inserting a card and Orange launch the application "Network settings" (version 3.0.3.0) as described here: http://www.monwindowsphone.com/solution-mms-free-mobile-omnia-7-t14550.html. This does not work because I do not see profile when using a Free Orange card.
4 - change the table registry as described here: http://forum.xda-developers.com/showpost.php?p=16363034&postcount=3
I heard that a solution would be to get the XML config file for Free Mobile but I don't know how to get it and how to use it...
I confess that I am discouraged and a solution in this Christmas season would make me happy. Thanks in advance for your time and help!
Happy Holidays! Gigi
Hello,
A friend of mine has been hitting the same issue and I looked on it few days ago. Good news is I found a solution!
You need few packages :
- WP SDK 7.1 from the Microsoft Web site
- WP7RootTools 1.2 from http://www.wp7roottools.com
- Transfer_IsoStore_Package.zip from this thread
- DiagProvXMLv0.91_IS.xap from this thread
- __PROV__FRE_FR_208_15.zip attached to this thread and unzip it to get the XML file
- MFG application must be installed
Then, follow this the procedure:
1. Make sure WP SDK 7.1 is installed
2. Follow the guide to Interop-Unlock your LG phone at http://www.wp7roottools.com/index.php/guides/interop-unlock
3. Using Application Deployment tool from WP 7.1 SDK, deploy WP7RootTools 1.2 on your LG phone and launch it to have it fully initialize your phone
4. Using Application Deployment tool from WP 7.1 SDK, deploy DiagProvXMLv0.91_IS.xap on your LG phone and launch it
5. Start the Isolated Storage Explorer (Ise_GUI_1.1 file from the Transfer_IsoStore_Package.zip package)
6. At the top type in the GUID of the app you want to access the Isolated Storage (e.g.: GUID DiagProvXML app: {566814df-f6b6-4154-8be5-9e65dce907c0})
7. Press "Get Data" Button
8. Press "Download Data to my computer", create a new folder where the data from your device should be stored and download the data to your desktop
9. Inside the before created folder you will find a "IsolatedStore" folder, browse to this folder and add the __PROV__FRE_FR_208_15.xml file to it
10. Press "Upload folder to Isolated Storage", choose the "IsolatedStore" folder where you have added the file and upload it to your device
11. On your phone, launch WP7 Rool Tools, go to Explorer and browse to \Applications\Data\566814DF-F6B6-4154-8BE5-9E65DCE907C0\Data\IsolatedStore\
12. Select the XML file and choose Copy
13. Now browse to \Windows and choose Paste in the icon bar
14. Open MFG app and enter the password APPMFG#*#
15. Go to 7 - Engineer Menu
16. Go to 6 - Other Settings
17. Go to Set network profiles
18. Enter 208 for MCC and 15 for MNC and click Find
19. The XML file appears in the box, click on it to apply settings. It will configure APN for Internet and MMS for Free Mobile
20. Reboot your phone and you should be able to send and receive MMS - Make sure Data is enabled in Cellular Phone properties on the phone.
Have fun!
[SOLVED] Request to Santa: MMS on LG-E900 with Free Mobile network !
It works !!!
Thanks a lot for your great help ! After several months without MMS on my LG Optimus 7 with Free Mobile, now MMS are usable on it thanks to your solution below.
I just launched DiagProvXML on my phone between step 4 and step 5 in order to make step 5 working. I just precised also that lockscreen of your mobile must be off during steps after 4.
Santa came as I wished
I am going to send your solution on french forums : http://www.monwindowsphone.com and http://www.windowsphonefr.com/forum
I wish a happy new year !
Gigi.
StefanSki said:
Hello,
A friend of mine has been hitting the same issue and I looked on it few days ago. Good news is I found a solution!
You need few packages :
- WP SDK 7.1 from the Microsoft Web site
- WP7RootTools 1.2 from http://www.wp7roottools.com
- Transfer_IsoStore_Package.zip from this thread
- DiagProvXMLv0.91_IS.xap from this thread
- __PROV__FRE_FR_208_15.zip attached to this thread and unzip it to get the XML file
- MFG application must be installed
Then, follow this the procedure:
1. Make sure WP SDK 7.1 is installed
2. Follow the guide to Interop-Unlock your LG phone at http://www.wp7roottools.com/index.php/guides/interop-unlock
3. Using Application Deployment tool from WP 7.1 SDK, deploy WP7RootTools 1.2 on your LG phone and launch it to have it fully initialize your phone
4. Using Application Deployment tool from WP 7.1 SDK, deploy DiagProvXMLv0.91_IS.xap on your LG phone
5. Start the Isolated Storage Explorer (Ise_GUI_1.1 file from the Transfer_IsoStore_Package.zip package)
6. At the top type in the GUID of the app you want to access the Isolated Storage (e.g.: GUID DiagProvXML app: {566814df-f6b6-4154-8be5-9e65dce907c0})
7. Press "Get Data" Button
8. Press "Download Data to my computer", create a new folder where the data from your device should be stored and download the data to your desktop
9. Inside the before created folder you will find a "IsolatedStore" folder, browse to this folder and add the __PROV__FRE_FR_208_15.xml file to it
10. Press "Upload folder to Isolated Storage", choose the "IsolatedStore" folder where you have added the file and upload it to your device
11. On your phone, launch WP7 Rool Tools, go to Explorer and browse to \Applications\Data\566814DF-F6B6-4154-8BE5-9E65DCE907C0\Data\IsolatedStore\
12. Select the XML file and choose Copy
13. Now browse to \Windows and choose Paste in the icon bar
14. Open MFG app and enter the password APPMFG#*#
15. Go to 7 - Engineer Menu
16. Go to 6 - Other Settings
17. Go to Set network profiles
18. Enter 208 for MCC and 15 for MNC and click Find
19. The XML file appears in the box, click on it to apply settings. It will configure APN for Internet and MMS for Free Mobile
20. Reboot your phone and you should be able to send and receive MMS - Make sure Data is enabled in Cellular Phone properties on the phone.
Have fun!
Click to expand...
Click to collapse
Thanks for the feedback. I added a comment in step 4 to launch DiagProvXML. Feel free to share it, glad to help.