I have some problems with Android 5.1 and Openvpn on my Nexus. Initially with the binary from the PlayStore, I got the error
error: only position independent executables (PIE) are supported.
I fixed this with the binary from here
http://forum.xda-developers.com/spr...ollipop-s5-t3086672/post64696367#post64696367
It now works with some self-built iproute-wrapper-script but only when I do not redirect the gateway because openvpn does not correctly detect the current gateway ("unable to redirect default gateway -- Cannot read current default gateway from system"). There has been a fix for that in Openvpn:
http://article.gmane.org/gmane.network.openvpn.devel/10111
but I did not find a current version that includes this fix. Can someone please compile this?
Hate to bump this, but I need this too
Me three...
need this so badly too (
Me too. Had anyone idea where to start?
Related
Hello,
First I'd like to tell that i'm a newbie with Android's Phone, I had Windows Phone until now. I have some light Linux knowledges. So be gentle and easy with Android and Linux technical terms
So, here is my problem : I tried to connect to an Ad Hoc Wifi Network but it doesn't work. It seems to be a known issue for a long time in android community and some solutions exists.
One of these solutions I found is to edit the file : /system/etc/wifi/tiwlan.ini
and modify :
Code:
WiFiAdhoc = 1
dot11DesiredSSID = HTCG1Default
dot11DesiredBSSType = 0
So, I rooted my Phone (with SoftRoot), I used ADB, but the file tiwlan.ini don't seems to be present on my device in the folder it should be.
My questions are : Is it normal for Wildfire that this file is not here? Is the location of the file different on Wildfire ? Is there another solution for Wildfire to connect AdHoc Wlan?
Here are some informations on my device :
HTC Wildfire A3333
Firmware version : 2.1 update1
Baseband version : 13.45.55.24H_3.35.15.31
kernel version : 2.6.29-4266b2e1
htc-kernel and18-2 #1 (May 19 2010)
Build Number : 1.14.163.1 CL183733
Soft Number : 1.14.163.1
Browser version : WebKit 3.1
Thanks for interest you will give to my request.
The same happens to me.
Would appreciate a solution.
Thank You
I'm trying to do the same and I don't have this file. Anyone with a Wildfire succeded to connect to an ad hoc connection?
I don't really understand why Android shouldn't be able to connect to ad hoc connection. Are the developers dumb or what?
See this:
http://forum.xda-developers.com/showpost.php?p=8201393&postcount=5
You will have to re-add "ap_scan=2" every now and then, Android stubbornly removes it.
Code:
echo "ap_scan=2" >> /data/misc/wifi/wpa_supplicant.conf
works fine for that purpose.
cumulus007 said:
See this:
http://forum.xda-developers.com/showpost.php?p=8201393&postcount=5
You will have to re-add "ap_scan=2" every now and then, Android stubbornly removes it.
Code:
echo "ap_scan=2" >> /data/misc/wifi/wpa_supplicant.conf
works fine for that purpose.
Click to expand...
Click to collapse
I've got a tablet branded "Goclever" (T70) with Android 2.2. Rooted it successfully. Tried to make it working in ad-hoc mode but there is no tiwlan.ini on my system (searched it throughout). Tried the method mentioned in the post above, but but no success.
Any ideas, pls ?
Piotr
Wildfire doesn't use tiwlan.ini. Only devices having a TI wifi chip uses it, and Wildfire has a BCM chip.
My device (Goclever T70) does not seem to use tiwlan.ini either.
What to do than? What changes to which config files should be applied in order to make adhoc wifi work?
--
Piotr
Hello
I try to install Cisco AnyConnect on my Touch Pro (FRX07)
but when it start, I have error: failed to connect to VPN service.
Can you say me if you can run it, and how?
I want diag my problem, but log are not very explicite
Thank's for your help
I join the apk I use.
and my debug log
seems it's buz the bundle still not supports VPN
likounin said:
seems it's buz the bundle still not supports VPN
Click to expand...
Click to collapse
We've never supported VPN's. If there's some way to make them work, we will gladly implement the code. As always, patches welcome.
arrrghhh said:
We've never supported VPN's. If there's some way to make them work, we will gladly implement the code. As always, patches welcome.
Click to expand...
Click to collapse
ok, thank's. I understand now.
I am new on Android, but I known Linux
What patch may we do? kernel, daemon, ...
ejantzen said:
ok, thank's. I understand now.
I am new on Android, but I known Linux
What patch may we do? kernel, daemon, ...
Click to expand...
Click to collapse
First, if I knew it would already be patched lol. Second, I don't have any VPN to test with - so you're going to have to tell us what needs patched. It seems like a userland issue, but I honestly don't know. Perhas some kernel module is missing? Again, I don't know for sure. I don't have any way to test it, and I think that's the problem most have - they have no way of testing VPN, and I think most probably use OpenVPN if it's in their home. At work, it's probably mostly PPTP.
So if you find something to patch, please submit it. If you can't... well then we just won't be able to support VPN's. Pretty minor feature, but I'm sure it would be nice for some.
arrrghhh said:
It seems like a userland issue, but I honestly don't know. Perhas some kernel module is missing? Again, I don't know for sure.
Click to expand...
Click to collapse
ok, thank's
but on the debig file, we can't see where is the problem?
ejantzen said:
ok, thank's
but on the debig file, we can't see where is the problem?
Click to expand...
Click to collapse
If by "we" you mean me, no. I'm no expert on the matter of deciphering logs and determining what exactly needs to be fixed. I can usually pinpoint problems, but pinpointing exactly which element needs fixing... I'm pretty new to.
In my horrible estimation, these three lines are where it starts going badly:
Code:
09-04 10:27:28.770 I/vpnagent( 1847): Function: scanAvailableModule File: PluginLoader.cpp Line: 745 Scanning plugin libvpncommoncrypt.so
09-04 10:27:28.770 W/vpnagent( 1847): Function: STGetProcAddress File: HModuleMgr.cpp Line: 263 Invoked Function: dlsym Return Code: 0 (0x00000000) Description: Symbol not found:
09-04 10:27:28.770 E/vpnagent( 1847): Function: scanAvailableModule File: PluginLoader.cpp Line: 783 Invoked Function: CHModuleMgr::STGetProcAddress Return Code: -33554427 (0xFE000005) Description: GLOBAL_ERROR_NULL_POINTER
The "Scanning plugin libvpncommoncrypt.so" portion really interests me. Does this lib exist? Have you been able to find perhaps another version of it? I know very little about VPN's... never had the desire to use one on a phone. I don't even use 'em on computers really... my office has a VPN that requires a PC, and is far from a 'traditional' VPN.
Looking further thru the log, it seems the app is just going thru libs. It would appear we're either missing these libs, or the libs we have aren't playing nicely. I keep seeing the same "Symbol not found" errors... I'm betting we simply don't have the right libs for this type of VPN app.
thank's
I will try in this direction.
Does anyone still have the 1.0 apk?
I upgraded to 1.1 now it will not find my sprint modem and problems here and there.
Here you go..... [removed]
taqulic said:
Here you go..... http://db.tt/jnAqmyXk
Click to expand...
Click to collapse
Thank you so much, to bad I can only give you one thanks :laugh: , now everything is working again. I dont know what the dev changed on the update but something did dealing with the sprint modem..etc. and it all went down hill.
Seems like someone else had that problem too.... thought I read it in the reviews..
taulic,
please be so kind and remove the public access to the APK file.
The original package is fixed now.
Note that the program itself is free of cost but not free to copy. If people run into trouble I will provide older versions when asked.
Regards,
Author of PPP Widget
JFDee said:
taulic,
please be so kind and remove the public access to the APK file.
The original package is fixed now.
Note that the program itself is free of cost but not free to copy. If people run into trouble I will provide older versions when asked.
Regards,
Author of PPP Widget
Click to expand...
Click to collapse
Done.
PPP works once, then ned to re-installed
taqulic said:
Done.
Click to expand...
Click to collapse
Hi There,
The app works fine when I install it first, my dongle i being recognized no problem. However if I disconnect, and unplug the dongle and try to connect again, the widget shows "no modem found".
I have tried forcing the app to stop, uninstall stickmount as I thought there was clash between both apps and still it doesn't work. the only work around I v found is to re-install the app, which is not very convenient when on the go and needing internet in the first place to be able to access it.
Would you be willing to provide me the APK installer as I am quite happy to install the app whenever I need it, or maybe suggest a workaround?
you have done a fantastic job by the way
G
file is no longer available
Will you please re-upload the file (PPP wedget 1.00 APK) in drop box since the hyperlink says (The file you are looking for has been deleted or moved). Thank you very much
You should first, email the author of the app and see if he can help you with your problem.
I'm not sure I still have the app in backup... as I only save them for so long. (But I'll check).
For those people having problems with this app, there is a forum and active discussion
Here, click forum link at bottom of page.
http://www.draisberghof.de/android/pppwidget.html
Will you please email this file; thanks
Unknown Zone said:
Thank you so much, to bad I can only give you one thanks :laugh: , now everything is working again. I dont know what the dev changed on the update but something did dealing with the sprint modem..etc. and it all went down hill.
Click to expand...
Click to collapse
Dear "Unkown Zone", will you please email this file (PPP Widget 1.00); thanks
Please email link
Unknown Zone said:
Does anyone still have the 1.0 apk?
I upgraded to 1.1 now it will not find my sprint modem and problems here and there.
Click to expand...
Click to collapse
If you have older version of PPP Widget 1.00 (apk file), please post a link. I have tried many changer.bat options since your last post; both uberoid v11 and 12.1. Nothing seems to work so far to make the ZTE-MF190 work again since upgrade from stock ROM. Tried 2 look for this file however no success. Thank you.
Deleted.
samsung note i717 no drivers found
PPP Widget version 1.3.3
USB_ModeSwitch log from Tue Sep 24 21:36:19 IST 2013
Raw args from udev: 1-1/1-1:1.0
Using top device dir /sys/bus/usb/devices/1-1
----------------
USB values from sysfs:
manufacturer ZTE, Incorporated
product USB Storage
serial 000000000002
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/19d2.fff5
! matched. Reading config data
devList 1:
config: TargetVendor set to 19d2
config: TargetProductList set to fff1,fffe,ffff
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 2 -v 19d2 -p fff5 -f $cB
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.7 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2
DefaultProduct= 0xfff5
TargetVendor= 0x19d2
TargetProduct= not set
TargetClass= not set
TargetProductList="fff1,fffe,ffff"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
QuantaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
BlackberryMode=0
PantechMode=0
MessageEndpoint= not set
MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/002 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 19d2:fff5
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Using endpoints 0x0a (out) and 0x89 (in)
USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x0a for message sending ...
Trying to send message 1 to endpoint 0x0a ...
Sending the message returned error -6. Trying to continue
Resetting response endpoint 0x89
Could not reset endpoint (probably harmless): -6
Resetting message endpoint 0x0a
Could not reset endpoint (probably harmless): -6
Device is gone, skipping any further commands
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Waiting for device file system (1 sec.) ...
Reading attributes ...
Mode switch has completed
Mode switching was successful, found 19d2:fff1 (ZTE, Incorporated: ZTE CDMA Tech)
Device class of first interface is ff
Now checking for bound driver ...
No driver has bound to interface 0 yet
Module loader is /system/bin/insmod
Trying to find and install main driver module "option"
Checking for active driver path: /sys/bus/usb-serial/drivers/option1
Driver not active, try to find module "option"
Can't find module "option"
Existing path found:
No way to use driver "option"
- try falling back to "usbserial"
Module "usb_serial" not found, can't do more here
Driver binding did not work for this device
All done, exiting
QUOTE=taqulic;34223799]Here.
http://www.filesend.net/download.php?f=4c6891af31cb635623fac53e094def52[/QUOTE]
Sir,
Using samsung note i717with official jb rom 4.1.2, ppp app says driver not found, device log is as above. Request you to help in this regard.
So now that there's no clean way of mounting your new Jelly Bean Android device as a mass-storage device, you're trying to find a simple way of sharing files from/to your Android device. The SSHFS filesystem is a convenient way of accessing a SSH filesystem, but obviously it has some pre-requisites on the target device:
An SSH server
sftp-server support
There are some SSH servers available on the Android market, or better said "SSH server GUIs". They are all based on dropbear 0.52, which is pretty old, and they actually provide binaries which we really can't say where and how they were built. Also, none of those provide an out-of-the-box working sftp-server, which is mandatory to use SSHFS.
I wrote a complete tutorial on how to build your own SSH server with SFTP support, along with needed patches on GitHub: https://github.com/iMilnb/docs/blob/master/dropbear+sftp-android.md
Feedback welcome as always.
I run a private OTA server using https://github.com/julianxhokaxhiu/LineageOTA. It worked fine for 14 and 15.1. However, I've upgraded to UNOFFICIAL 16 for LG G5. Now I get "The upgrade check failed...." I took a look at the source, and changes, but I'm not all that good at that stuff, and couldn't find anything. Have there been any major changes to the Updater app? For example, the default lineage URL is https (ssl) and my server isn't using ssl, so if ssl is now required, that might be it. Or, has the structure of the response changed (not that I could see, but I could have missed something)?
Best wishes,
Bob
PS Looking at logcat, it seems it is the lack of SSL.
04-13 16:53:06.041 4124 4170 E HttpURLConnectionClient: Error downloading file
04-13 16:53:06.041 4124 4170 E HttpURLConnectionClient: java.io.IOException: Cleartext HTTP traffic to 192.168.1.89 not permitted
I leave this here in case anyone else has a similar problem
RLF