Openvpn Settings problem !! Help me :( - General Questions and Answers

I always connecting my phone through vpn using openvpn settings .
Before this it was just fine and working perfectly.
But today , this error turns out when I am connecting to the openvpn settings ...
Code:
reconnecting (caused by tls-error)
and it keeps reconnecting and reconnecting and again and again
I have tried reinstall tun.ko and openvpn binary and this error still turns out ..
I also have tried to wipe data , wipe cache , clear dalvik . and still error !
I hope any of you could help me
Proof it was just fine before
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And now it turns out into an error and keep reconnecting
The tun.ko is taken at this thread
http://forum.xda-developers.com/showthread.php?t=1434300
THIS IS THE .OVPN CONFIGURATION
Code:
client
dev tun0
fragment 0
tun-mtu 9000
tun-mtu-extra 32
proto udp
cipher aes-256-cbc
engine dynamic
remote-random
remote 146.185.24.221
remote 146.185.24.251
remote 146.185.24.222
remote 146.185.24.197
comp-lzo
resolv-retry infinite
nobind
persist-key
ca mytunnel.crt
route-method exe
ping 10
port 137
reneg-sec 3600000
explicit-exit-notify 2
auth-user-pass auth.txt
verb 3
mute 20
Sent from U20i (x10 mini pro)
nAa kernel
minicm7 2.2.0

I followed this guide here for installing openvpn on android. unfortunately, i already had installed the 'wrong' openvpn client, so i need a way to run some post-connection scripts. i tried to do this, but it doesnt seem to want to run the script for whatever reason.
steps i took:
1. made sure the connection preferences allow for Built-in + scripts
2. wrote the post-connection script:
Code:
#!/system/bin/sh
netcfg tap0 dhcp
busybox route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.0.0.1
3. added this line to end of my ovpn profile:
Code:
up /sdcard/openvpn/blah-up.sh
4. attempted to chmod blah-up.sh, but for whatever reason, it wouldnt flip the executable bit (no +x)
When I try to connect, the logs tell me the blah-up.sh script cannot run:
Code:
Thu Jun 20 15:39:42 2013 /sdcard/openvpn/blah-up.sh tap0 1500 1579 init
Thu Jun 20 15:39:42 2013 script failed: could not execute external program
I guess I'm assuming I can even use the up directive to do my dhcp request?
I tried it with 'su' and also tried with the absolute pathnames to netcfg and busybox, but nothing seems to work. Anyone have any ideas what I'm doing wrong? FWIW, running 'netcfg tap0 dhcp' as root from the terminal works fine.

Related

WiFi Tether Haykuro Test App Info!!! Problems with Unknown State Error...read on.

This version of the app (wifi-tether) works with all the current Haykuro builds
5.0.1Gr3
5.0.1Gr3 apps to sd*
5.0.2Hr3
5.0.2Hr3 apps to sd*
*The only problem is that for the apps to sd version of haykuro's builds, is when you move the cache to the sd card, it causes an unknown state error when you try to start the app.
I was wondering if anyone,seriously anyone could help the few who want to have the wifi tether app with cache to sd.
Please please help me with this one.
If im missing any valuable info. please tell me so i can provide you to help me out.
Thank you.
EDIT!!!
This will fix all your problems :]
http://forum.xda-developers.com/showpost.php?p=3423669&postcount=130
busybox cp -a /system/sd/data/android.tether /data/tether
rm -r /system/sd/data/android.tether
ln -s /data/tether /system/sd/data/android.tether
A quick search showed me:
Please make sure that the "superuser-whitelist" accepts "su" from the wifi-tethering-app "always".
try to reinstall binaries and config-files.
Press [menu], chose "Setup" ... when displaying the setup-screen press [menu] again and chose "(Re)-Install binaries/configs" ...
This will set file-permissions correctly if it's not blocked by the superuser-app.
See *** UPDATE *** [2009-03-31] Wifi Tether for Root Users in Dream applications and games
This screenshot you posted in HTC Sapphire/Vodafone Magic G1 Port message 5796 shows that the wifi-tether app has insufficient rights.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
karloe said:
Please make sure that the "superuser-whitelist" accepts "su" from the wifi-tethering-app "always".
try to reinstall binaries and config-files.
Press [menu], chose "Setup" ... when displaying the setup-screen press [menu] again and chose "(Re)-Install binaries/configs" ...
This will set file-permissions correctly if it's not blocked by the superuser-app.
See *** UPDATE *** [2009-03-31] Wifi Tether for Root Users in Dream applications and games
This screenshot you posted in HTC Sapphire/Vodafone Magic G1 Port message 5796 shows that the wifi-tether app has insufficient rights.
Click to expand...
Click to collapse
i got that image from another post.
i was referring to that image because i had
Setting up firewall rules...
could not open socket to kernel: opperation not permitted.
Starting dnsmasq...
dnsmasq:failed to bind DHCP server scocket;permission denied.
these are the only two which are in red everything else is in green.
these were the only two notices i got when i tried to start it.
and i set the permissions to always.
and i reinstalled the binaries and config files.
so any help more or am i really stuck?
bump found solution to problem :] on 1st post
davidhooper4 said:
i got that image from another post.
i was referring to that image because i had
Setting up firewall rules...
could not open socket to kernel: opperation not permitted.
Starting dnsmasq...
dnsmasq:failed to bind DHCP server scocket;permission denied.
these are the only two which are in red everything else is in green.
these were the only two notices i got when i tried to start it.
and i set the permissions to always.
and i reinstalled the binaries and config files.
so any help more or am i really stuck?
Click to expand...
Click to collapse
I'm having this problem, too, and reinstalling the binaries/config hasn't helped. Any other suggestions?
mlevin said:
I'm having this problem, too, and reinstalling the binaries/config hasn't helped. Any other suggestions?
Click to expand...
Click to collapse
mlevin on my 1st post i have a link to how to fix the problem.
you have apps to sd right?
well in terminal emualtor open it up
then type in
Code:
su
busybox cp -a /system/sd/data/android.tether /data/tether
rm -r /system/sd/data/android.tether
ln -s /data/tether /system/sd/data/android.tether

[HOW-TO] ADB for Dummies(How-To Learner's Guide)

Hi,
My name is Joe aka AndroidSamurai..
I have recently made some business acquisitions and will be starting up a new Android Learning series.. Stay tuned for updates..
Thanks again,
AndroidSamurai
Android4D Inc
I thought some people might appreciate the instructions to get adb working over WiFi too and this seems like a good place to put it:
Type this in your terminal emulator on your Android device:
Code:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
Then check it with this:
Code:
getprop service.adb.tcp.port
If it doesn't return "5555" and you're rooted, then do a "su" command and try again. You shouldn't need to be rooted for adb over wifi to work, but I haven't tried every device:
Code:
su
setprop service.adb.tcp.port 5555
stop adbd
start adbd
Then check it:
Code:
getprop service.adb.tcp.port
When it returns "5555" then run this command in the terminal (or command prompt) on your computer:
Code:
adb connect 192.168.0.151
(Obviously enter your device's IP address. You must be on the same network as the computer that has the Android SDK installed.)
And you should be connected!
To tell the Android device to listen for adb on the USB port instead of TCP again, enter this into the terminal emulator:
Code:
setprop service.adb.tcp.port -1
stop adbd
start adbd
(again, might need "su" on your device)
Or just reboot the Android device.
And to tell your computer to use USB for adb instead of TCP:
Code:
adb usb
Now, keep in mind, when your Android device is listening for adb via WiFi, it's wide open... anybody that that the Android SDK installed and knows your device's IP address can access it without a password.
HTH,
Billy
PS - Your
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
are appreciated!
Updating Soon!
Pleased to announce that I will be updating my Full guide within the next few business days along with an E-book version and a Video Guide...
If my guide has helped you please help fund my college, donate.
Thanks for your help guys...
Moved My Guide!
Hey All,
I am pleased to announce that an updated version of my guide and soon to be All in one android E-book is on my website...
Link is in the first post, thanks to all at XDA over the yrs that have used my guide...
Cool, thanks. I plan on using this pretty soon. I really need to get better.
Sent from my SAMSUNG-SGH-I897 using XDA App
Moved my guide!
Hey All,
Sorry to inform you, but my guide has been moved to another site... I can not advertise because it is just not moral...
Click the link to take you to my new guide...
had a question
hi i was wondering if u could help with with a problem im having...i flashed my Tp2 over to boost and it was working fine..except for the web..so i changed the ppp cong and it rebooted..now i have a blue circle with a line through it..and when i try to connect i get a message that says" The process com.android phone has stopped unexpectedly. Please try again"....and theres no longer a connection for the usb in my contron planel......just tossing it out there to see if u had any ideas..thanks S
Updated..
My guide is now even more userfriendly...
Had to make a few revision changes to simplify the process...

[Root]QT-A05 [Android:2.3.4]

Hello guys , a few days ago i opened a theard about my issue [Reversed Hebrew]
which you can find here : http://forum.xda-developers.com/showthread.php?t=1817721
[Also have a full explanation about my statue..]
Thansk ALOTTTT to bgcngm [http://forum.xda-developers.com/member.php?u=455439]
which Helped me ALOT and created a fixed RTL rom for me , thanks alot alot dude! .
well , there is still a few issues that are minor and i would love to know if some one able to help me with..
this is a summry for my problems in the current rom :
which application still got LTR :
----------------------------------------------
-App Drawer + App List [Where all Applications show's]
in the original launcher it will show only at Application Manu [the 4 cube's which shows the entire installed applications]
Go Launcher or any other launcher will show me = LTR both menus and app drawer ...
-Camera
- Menu --> Settings--> About Phone --> Battary Summery [Only Header "phone is on battary for X time massage"]
- Possible more ..
Which things isn't working anymore :
-----------------------------------------------------
- Wifi [when you select your spot it will stay at "Obtaining Ip Address From ...." after 1 minute stops and if you press again it will just repeat..
*it solved by doing pressing "Use Static Ip --> add all details inside and save - but it's not a solution ...
-Root is totaly ****ed up,,, , everything i try all programs they all say things like
"
Kill adb server
Starting adb server...
Get online devices
chmod file 777 /data/local/tmp
push file to device : rootutility
push file to device : busybox
push file to device : su
chmod file 755 busybox
Failed to chmod file : busybox
"
MTKdroidTools say's this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download of the System.img + Boot.img :
http://www.mediafire.com/?bj7eqjaptij155s
Hopefully some one can help me..
anyway , this theard is about the Root issue and not the LTR/RTL [it's just an option if you can assist me of coruse ]
THANKS ALOT Everyone

[Q] Need a kernel for uinput on note 3

my phone at stock, but rooted doesnt have the uinput it seems to allow rooted apps to use the touch part. So can anyone link me the file needed so i can flash it in?
And will odin work fine to flash that in?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
uinput does exist
Install the terminal emulator app and run the following commands to check if the uinput module exists
1. su
2. cd /
3. cd dev
4. ls
Check in the list if uinput exists. I did a check on my Galaxy S4 I9500 and this module exists. Now the only reason you are getting that message might be because the SELinux is in enforcing mode. There needs to be a way to make that SELinux status to permissive. That is what I feel should be done. Let me know if you have found this to work. I planned on installing the Omega Rom but want to check out how to change the status to permissive without installing the rom.
Thoughts?
Solved!!
Hello,
I finally got this working on my Galaxy S4 I9500. I flashed the Omega Rom v24 with CWM. Installed Tincore Keymapper v3.6.4. Installed Respawnables game. I tried to connect it with my 2.4GHz wireless ps2, ps3, pc gamepad but I got a message saying "Uinput doesn't seem to be available in the kernel. Please install a kernel with uinput module". So I did a search with the Android Terminal Emulator app and here are the commands I executed to check if the uinput module exists.
1. su
2. cd /
3. cd dev
4. ls
Now check if you have the uinput present in the list. If it does, it indicates that you are not able to access the module. So go forward and try one more command like this
chmod 666 dev/uinput
This command will give access to other apps wanting uinput. Remember that you will have to run this command again if you reboot you phone. Hope this helps.

[Completed] Help with nextbook nx868qw8g

Hello everybody,
want to ask your advice in re: following issue
I am going to use nextbook NX868QW8G tablet as an embedded advertisement solution ie it should start when external power gets plugged in. I can find a normal tech desc of this model in the internet even on the official site.
It have almost the same look&hardware as NX785QC8G availabe at wallmart but have slightly another cpu mtk8382 and embedded 3g modem which was the decisive factor since we need tablets to be updated remotely.
Here are system settings:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have done the following:
1) rooted device via cydia impactor - root check apps from gplay are saying its rooted now + it has auto instaled chainfire SU to the tablet
2) run adb reboot-bootloader
3) run fastboot oem unlock
4) run fastboot oem off-mode-charge 0
I have tried doing it manually and through cydia impactor but in both cases the command thread for #3 and #4 seems to be in an infinite sleep - just displays "..." in command line shell and cydia impactor simply gets frozen for a couple of minutes then throws timeout exception.
I think its waiting my input after #3 but the screen remains black and it does nothing when I press on vol up/down/power buttons. It displays "OK [X sec]" when I call fastboot reboot from another shell window
In regards to the adb drivers and etc - device is visible through both 'adb devices' and 'fastboot devices' commands. Real mystery...
Please advice in which direction to seach and digg.
Any help will be highly appreciated,
Max
Since we do not have a forum for that device, please post in Android Q&A, Help & Troubleshooting so that the right experts may be of help.

Categories

Resources