MY STORAGE
MY STORAGE
MY STORAGE
Would you like to react to this message? Create an account in a few clicks or log in to continue.

MY STORAGE

My All Collection
 
HomePortalGalleryLatest imagesSearchRegisterLog in

 

  [Script] AUTOMATIC OpenVPN Installer

Go down 
AuthorMessage
Darryl
Administrator
Administrator
Darryl


Posts : 453
Reputation : 34
Join date : 2010-05-17
Age : 41
Location : Philippines

 [Script] AUTOMATIC OpenVPN Installer  Empty
PostSubject: [Script] AUTOMATIC OpenVPN Installer     [Script] AUTOMATIC OpenVPN Installer  I_icon_minitimeTue Jul 31, 2012 6:40 pm

This first post contains:
1. The installation procedures.
2. The setup process.
3. Links to openvpn configurations.
4. Some troubleshooting guides.
5. Uninstallation procedures.
BASAHIN po muna natin lahat BAGO tayo MAGTANONG, pakiusap lang!

Kung malabo talaga sa inyo, feel free to ask me,
baka sakaling maliwanagan kayo.

First and foremost, modification and redistribution of the OpenVPN Installer Script are strictly prohibited.
Sharing and downloading of the script should only be limited to this thread.
Your cooperation will be very much appreciated.

Kung nahihirapan kayong mag-install ng OpenVPN sa inyong Android Device,
marahil makatutulong ito. Ito ay script o program na automatic na mag-iinstall ng OpenVPN;
hindi n'yo na kailangang magpalipat-lipat pa ng directory,
di na kailangan pang mag copy-paste ng mga files,
hindi na kailangan pang i-check kung meron ka nito o meron ka niyan,
at di na kailangan pang mag-type ng pagkarami-rami sa Terminal Emulator dahil naniniwala akong,
Less Types, Less Mistakes..ü
Ginawa ko po ito upang mapabilis at mapadali ang installation ng OpenVPN,
lalong-lalo na sa mga baguhan sa Android.

Pwede n'yo pong tingnan ang mga feedbacks ng mga nakapag-try na nito.



REQUIREMENTS:

ORAS SA PAGBABASA
Rooted Android Device
Terminal Emulator
BusyBox (pre-installed in custom roms)
Tun.ko module (kernel-specific)
Prepaid Subscription
Smart SIM with PhP9.00 to PhP1.00 airtime balance
Butas Globe SIM with PhP4.00 to zero load balance


Access Points:

Smart:
APN: internet

Globe:
APN: http.globe.com.ph


NO PORT, NO PROXY

Regular data rates will still be charged to postpaid subscribers who will be using OpenVPN.

Load amount that will exceed the ones mentioned ay kakainin ng network.




! REMINDERS (Must Read):

1. Huwag pong palitan ng pangalan ang ano mang file na nasa loob ng extracted folder.

2. When the script is being executed, don't touch the screen (keypad) hanggang sa lumabas na ang count key (#).

3. If your handset reboots, you are successful in installing OpenVPN in your phone.



INSTALLATION PROCEDURES:
1. (basahin at sundin po ng mabuti nang hindi magkaproblema)
2. IMPORTANT: Enable the Installation of Non-Market Apps.
goto Settings >> Applications >> check Unknown Sources >> Tap OK.

3. Create new folder at the root of your SD Card and name it OpenVPN.
Meron ka na dapat ngayong directory na /sdcard/OpenVPN.
! Kung meron nang OpenVPN na folder sa inyong SD card,
huwag ka na syempreng gumawa pa, dahil hindi ka rin naman makakagawa.

4. Download and extract
OpenVPN.zip.

5. Kunin o kopyahin ang tatlong files na laman ng extracted folder at i-paste ang mga ito sa loob ng OpenVPN folder na inyong ginawa.
! FILES ang kopyahin, hindi ang mga folders.

6. Tingnang mabuti ang mga larawan. Ang location ng mga files ay makikita sa upper left portion ng screen.
! Dapat ay ganitong ganito din ang sa inyo.

Using Astro File Manager:


 [Script] AUTOMATIC OpenVPN Installer  Attachment


Using Root Explorer:

 [Script] AUTOMATIC OpenVPN Installer  Attachment



7. Launch
Terminal Emulator and issue the following commands
(tap enter at the end of every line
tap Allow if SuperUser prompts):




Code:

su
cd
/sdcard/openvpn
sh
openvpn.sh
! If you can't input texts in the Terminal Emulator:
Launch it, Press Menu >> Preferences >> Input Method >> Word-
based
>> Press Back >> Press Menu >> Toggle Soft Keyboard..

 [Script] AUTOMATIC OpenVPN Installer  Attachment



If
permission is denied after typing su:
- android handset is not rooted
- root your phone first


If you
can't cd to /sdcard/openvpn:
- can't change directory to /sdcard/openvpn
- this means that /sdcard/openvpn directory doesn't exist
- this happens when there is no openvpn folder at the root of SD Card
- double check if the OpenVPN folder is at the root of your SD Card and is correctly named


If you
Can't open openvpn.sh:
- can't execute openvpn.sh script
- this means that there is no openvpn.sh file inside the /sdcard/OpenVPN directory
- double check if the openvpn.sh file is really inside the OpenVPN folder and is properly named


If you have been prompted to install busybox:

i. Download and install
BusyBox Installer.

ii. Launch BusyBox Installer, tap OK and tap allow for SuperUser prompt.

iii. Choose your preferred busybox version and the location of installation.

iv. Tap INSTALL to install BusyBox.

! You may uninstall BusyBox Installer after the installation process.


If you have been prompted of your tun.ko module, it might be
here,
download n'yo ang tun.ko module para sa phone n'yo at ilagay sa loob ng /sdcard/OpenVPN.
Kung wala d'un, i-download, iinstall at subukan
ito. Many thanks to sir HHubs and sir parasmi.


If your handset reboots, you're halfway done.



SETUP PROCESS:

1. From your apps, launch OpenVPN App.

2. Press Menu and Tap Advanced.

3. Tap TUN module settings.

4. Check Load tun kernel module.

5. Tap Load module using.

6. Select insmod.

7. Tap Path to tun module.

8. Key in /system/lib/modules/tun.ko.

9. OK.

 [Script] AUTOMATIC OpenVPN Installer  Attachment

 [Script] AUTOMATIC OpenVPN Installer  Attachment

 [Script] AUTOMATIC OpenVPN Installer  Attachment



OpenVPN INSTALLED and CONFIGURED!




Make sure you have GPRS, EDGE, 3rdGeneration, or HSPA signal on top of your screen before connecting.

Connection Flow should be:
Startup >> Connecting >> Unknown >> Wait >> Auth >> Get config >>
Add Routes >> Assign IP ooo.ooo.ooo.ooo >> Connected to xxx.xxx.xxx.xxx as ooo.ooo.ooo.ooo,
where ooo.ooo.ooo.ooo is an assigned IP Address.

You should have an assigned IP for you to be able to connect to the internet.
(Connected to xxx.xxx.xxx.xxx as ooo.ooo.ooo.ooo).



Probable errors that you may encounter:

FATAL: Cannot allocate TUN/TAP dev dynamically
- wala kayong tun.ko module
- mali ang path na linagay n'yo sa path to tun.ko module
- hindi compatible ang tun.ko na ginamit n'yo sa kernel ng inyong android device
Gamitin ang tun.ko module na compatible sa inyong device.
Ilagay ang tun.ko module sa loob ng /system/lib/modules na folder at
i-set ang Path to tun module sa /system/lib/modules/tun.ko

Reconnecting (tls-error, SIGUSR1, ping restart, init_instance, etc.)
- negotation or connection session failed within 60 seconds
- mali ang inyong Access Point Name (APN) settings
- walang signal ang inyong phone
- walang GPRS, EDGE, 3rd Generation, or HSPA signal
Double check your APN Settings
Make sure you have turned on data traffic or data access
Dapat ay may G, E, 3G, or H signal bago mag-connect sa mga servers
Tanungin ang provider kung gumagana pa ba ang kanilang OpenVPN servers at config files
Try to reboot

For other problems and for detailed explanations, see sir jjfoxph's
Troubleshooting Guide. Credits to him.



You may also want to
Turn Your Phone Into a MoDem or HotSpot.



UNINSTALLATION PROCESS:
(Baka may mangailangan)

Pagkatapos n'yo pong mainstall ang OpenVPN gamit ang script, gagawa po 'yan ng
uninstaller script
na maaaring gamitin in case na kailangan n'yong tanggalin ang OpenVPN sa Android n'yo.

! Walang uninstaller script kung hindi ginamit ang OpenVPN installer script
sa pag-iinstall ng OpenVPN sa inyong handset.


Launch Terminal Emulator and issue the following commands (tap enter at the end of every line):




Code:

su
cd /sdcard/openvpn
sh uninstall.sh

 [Script] AUTOMATIC OpenVPN Installer  Attachment

Thanks and credit to original open this topic. SB
[/size]
cheers













Attached Files
 [Script] AUTOMATIC OpenVPN Installer  Apk TerminalEmulator.apk (74.3 KB, 2631 views)
 [Script] AUTOMATIC OpenVPN Installer  Apk BusyBoxInstaller.apk (2.52 MB, 3187 views)
 [Script] AUTOMATIC OpenVPN Installer  Zip OpenVPN.zip (697.8 KB, 3817 views)
Back to top Go down
http://master.chiefs.tv
Darryl
Administrator
Administrator
Darryl


Posts : 453
Reputation : 34
Join date : 2010-05-17
Age : 41
Location : Philippines

 [Script] AUTOMATIC OpenVPN Installer  Empty
PostSubject: Re: [Script] AUTOMATIC OpenVPN Installer     [Script] AUTOMATIC OpenVPN Installer  I_icon_minitimeTue Jul 31, 2012 6:49 pm

Para sa di ma pagana ang Terminal Emulator.
1. type and follow command

$ su enter
# cd /sdcard/openvpn enter
# sh openvpn.sh enter


take note the word enter hindi yan literal or word na enter nasa keypad yan or refer may ss
hope it helps
tested ko na ito sa lg optimus net at lg optimus one ko.

 [Script] AUTOMATIC OpenVPN Installer  164068735f686b1af5ccf485fb7cdf881e81ae26

2.
[size=12] Launch Terminal Emulator and issue the following commands
(tap enter at the end of every line
tap Allow if SuperUser prompts)
:

sdcard/openvpn
sh
openvpn.sh

Ito ang lalabas put in any name you want.

 [Script] AUTOMATIC OpenVPN Installer  2lwag0o
Back to top Go down
http://master.chiefs.tv
 
[Script] AUTOMATIC OpenVPN Installer
Back to top 
Page 1 of 1
 Similar topics
-
» OPENVPN for android Discussion
» OpenVPN with Portable VPN Poknat
» [TUTORIAL]HOW TO SETUP OPENVPN on Cent OS 5.4-5. 632 Bit with SCRIPTS.
» Free Internet OpenVPN Portable - New Method Sa LifeTime Proxy And New APN Tested

Permissions in this forum:You cannot reply to topics in this forum
MY STORAGE  :: SYMBIANZ :: Request For Mobile apps, games and Application-
Jump to:  
Free forum | ©phpBB | Free forum support | Report an abuse | Cookies | Forumotion.com