SSh tunnel for lollipop fix or alternative? - Nexus 6 Q&A, Help & Troubleshooting

Noticed i cannot get ssh tunnel to work for global or specific app proxys on any lollipop devices wondering if there was an ideal app you guys would recommend for nexus 6 that would accomplish this same thing?
Used to work great on my previous devices from last i recall prior to moving to a lollipop device
Looking to specifically proxy some apps via ssh tunnel and rest go through normal unencrypted session via carrier ip
Looked into proxydroid and connectbot but haven't seem to get them to work together must be missing something
seems this is a known issue with iptables and ssh proxying in lollipop on some other similiar apps
https://code.google.com/p/sshtunnel/issues/detail?id=193
Would gladly pay for an add free app that does this on lollipop for any devs out there looking for an app idea or can point me to one i missed which offers this
Thanks in advance
Update:
seen this after more searching looks handy gonna give it a ry but it would be nice to have an all in one app for this
http://forum.xda-developers.com/showthread.php?t=2505710

https://code.google.com/p/sshtunnel/issues/detail?id=193#c12
I have posted a solution and modded apk for now, until the problem will be resolved. Check it out.

Try mine, uses autossh with openssh:
https://github.com/lbdroid/Android_SSH
https://github.com/lbdroid/Android-Binaries/blob/master/Android_SSH.apk
A few points;
1) requires root (at the moment, still in dev...)
2) still in dev (could be instabilities...)
3) no ads, no tracking... seriously.. no nonsense.

themightydeity said:
https://code.google.com/p/sshtunnel/issues/detail?id=193#c12
I have posted a solution and modded apk for now, until the problem will be resolved. Check it out.
Click to expand...
Click to collapse
IT WORKS!!!
thank you very much.

Modded apk not working on Nexus 6 running Android 5.1.1
Using Connect not +ProxyDroid
Hopefully next release of sshtunnel will solve current issues

it´s the first time im using this tool... im happy that i found your solution/fix for lolipop.. it works perfect on any website/host in the web.. but i got still a problem..
the routing seems to route everything through the tunnel.. except things that are adressing other services on the same host as the ssh server host..
for example: if there is a webserver or mailaserver on the same host as the ssh server.. the traffic to those mail or webserver are not going through the tunnel..
is this a common problem with ssh-tunnel app?
using ProxyDroid on-top, fixes this.. with ProxyDroid also the mailserver (etc..) traffic is going through the tunnel.. but i would prefer to use only one tool.. not two tools..
any suggestions?

it's just a binary compatibility problem you can extract iptables and redsocks binary from patched version or from anywhere else and copy them to your data folder it will solve the problem

intika said:
it's just a binary compatibility problem you can extract iptables and redsocks binary from patched version or from anywhere else and copy them to your data folder it will solve the problem
Click to expand...
Click to collapse
Yes you are right.
-1 copy/overwrite iptables, redsocks from proxydroid to:
data/data/org.sshtunnel folder.
-2 chmod these two files for the owner/root!

korsanovix said:
Yes you are right.
-1 copy/overwrite iptables, redsocks from proxydroid to:
data/data/org.sshtunnel folder.
-2 chmod these two files for the owner/root!
Click to expand...
Click to collapse
i'm using Ki4A, works perfectly fine in NON ROOTED Marshmallow.
Google Play LINK.
works without any modifications.

Related

OPEN VPN

Has anyone managed to get Open VPN working on a Galaxy S? I have a SPICA on which it is working but I cant find a TUN.KO that works on the Galaxy S. Thanks
Also trying to find a proper TUN.KO for the Galaxy S.
No luck so far.
Read here: http://android.modaco.com/content-page/291919/openvpn-on-android/page/20/
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.
Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!
I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Excellent. Will give it a go. Which ROM are you running?
I'm currently running I9000BGF1, I will be soon upgrading to new Firmware.
Kernel Version: 2.6.29 [email protected] #2
Hi Chafw,
Can you talk me through where you put the tun.ko, and where you put your OpenVPN files in the directories? I'm getting no where fast on this!
Thanks
SA
Hi mittu1,
I believe you are already root and busybox/openvpn installed.
I used the same link that tids2k wrote above to setup the whole thing up.
I used openvpn-settings application for starting up openvpn configurations.
In openvpn-settings you can define where the tun.ko driver is located.
Anyway, the simplest thing to do firdst to test whether the tun.ko works for you is to
load it by hand using a root shell:
insmod <path to tun.ko>
I have it installed in /system/lib/modules/tun.ko.
Hope this helps.
The tun.ko is ok, it loads nicely. Many many many thanks !!!
In the "OpenVpn Settings" app, my connection ask me for a password, I see "auth", then nothing, I fall back in front of the "select to turn on OpenVPN tunnel" button.
I have tried with stock libcrypto.so and libssl.so, and then with those from openvpn-binary.zip at hxxp://sourceforge.net/projects/tunneldroid/files/
The OpenVPN app still don't want to establish the connection... In no ways... And no log message in dmesg at all (neither for tun)
So it's enough for this night, but if someone have an idea, you are (really) welcome !!!
Does the module have to match the kernel version exactly? Running european JM2,
kernel is 2.6.29 [email protected]3#2
PS. 1st Post
Do you copy tun.ko in the /lib/modules folder ? or in a new freshly created folder /system/lib/modules (as said on modaco guide) ?
On my system (XXJF3 / XXJF3 / XAJF3), I have no /system/lib/modules folder, and every time a mount in rw my /, then write tun.ko to /lib/modules, then remount in readonly, and then reboot the phone, the tun.ko file disappear...
Do I miss something ? Does the / mount point isn't a real partition ???
thnks in advance
@ Anduru:
No, don't think that is necessary but I'm also quite new to Android.
@raphman:
I created a new folder /system/lib/modules. I didn't have the directory either.
Anyway the OpenVpn-settings applications allow to define the location of the tun.ko. Haven't tried but I believe you could put it anywhere in the system.
Also, make sure the ifconfig and route commands are available and properly linked.
@chafw
thanks for your reply
meanwhile i just tried my luck and it worked.
Guys,
I'm glad it's working but I haven't managed it yet!!
I'm using the I9000XWJM2 rom, rooted! I've downloaded the tun.ko file, the open VPN Setting file off the market, and Open VPN installer. I've got the certs and config files.
Can some one please guide me through installation to get it up and running OR did people use the following link instructions
http://android.modaco.com/content/software/291919/openvpn-on-android/
Would really appreciate someone's help here.
Chaf, many thanks, but in fact, my installation was ok, it was a password problem... Arrrrgggggg !!!!!!!
So now I connect fine to my OpenVpn server, but I cannot reach any server withour using the "Fix DNS" problem.... Strange, because using the connection on my pc automacillay get the DNS given by the vpn....
Many thanks !!!
@raphman:
The DNS is a known issue in Android as OpenVPN uses update-resolv
hook scripts to update the resolv.conf configuration with the passed DNS parameters.
However, this does not work yet with in Android and Openvpn-settings.
You can either use fix-dns or add your hosts in the /etc/hosts file if they are
a limited number.
@mittu1:
Yes, that's the guide.
liblzo
I have got to the stage where my openvpn connection is started but no traffic is being passed through the tunnel. Checking around it seems that I am missing the liblzo.so file that handles compression. Can any of you guys post a working liblzo.so or confirm that your configuration does/doesn't use this file? Thanks.
mittu1 said:
I have got to the stage where my openvpn connection is started but no traffic is being passed through the tunnel. Checking around it seems that I am missing the liblzo.so file that handles compression. Can any of you guys post a working liblzo.so or confirm that your configuration does/doesn't use this file? Thanks.
Click to expand...
Click to collapse
take it here and 1st step is SAVE your old files somewhere !!!
hxxp://sourceforge.net/projects/tunneldroid/files/openvpn-binary.zip/download
then cp in /system/lib and chmod 755. That's ok on my i9000.
hi,
It didn't work! Still same problem. Any other suggestions?
chafw said:
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.
Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!
I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Click to expand...
Click to collapse
I tried the tun.ko and it works! Unfortunately my (Endian) firewall can only use a tap device, and apparently both ends have to match. I get the connection, but the the device and IP are never setup. Any chance you can either compile the tap device like you did the tun, or give me the steps so I can do it myself ?

Tun.Ko for Captivate

Has anyone been able to successfully re-compile a tun.ko for the captivate kernel?
Office still has old IPSEC group ID based vpn
Thanks.
[mods please move to development]
Trying my hand at building that module from the vanilla Eclair + Samsung code drop. Will let you know how it goes...
I used this tun.ko, installed openvpn with the openvpn installer from the market, and installed the VPN_Connections_v099.apk from code.google.com/p/get-a-robot-vpnc to manage the connections. I am able to connect to my cisco vpn concentrator with my captivate. Hope this helps...
where on the phone do we copy the tun.ko file?
I put mine in /system/lib/modules/ and openvpn in /system/bin/. I also installed openvpn settings from the market and enabled the "load tun kernel module" option and changed the "load module using" to insmod. For some reason it would not connect without this, I guess because the tun module is not being loaded correctly. Also you can manually load the module by typing “insmod /system/lib/modules/tun.ko” and check to see if it’s loaded by typing “lsmod” and you should see “tun 11088 0 - Live 0xbf195000”
This worked for me.
loaded it manually, not sure if it'll load automatically now or not, haven't tried it.
Can't get this working...
Do you have to start OpenVPN and manually load the tun before launching VPN Connections? Of course after all of these settings...
Still not working...
Okay, I can manually insert and load the tun.ko and installed the VPN Connections app to this version. Every time I try to connect, it INSTANTLY says 'failed to connect'. Any ideas? I have all the right things in all the right places...OpenVPN installed and configured (although I can't see how I need this with the tun.ko manually started and running). HELP! I really need VPN to work on this device or it is going back...
Great information in this thread. I have Busybox installed, Open VPN binaries installed and Open VPN settings installed as well as the Vpn_connection_99.apk file. One issue though!
HOW DO I MANUALLY DROP THE TUN.KO FILE INTO THE SYSTEM/LIB/MODULES FOLDER?
I tried to using Droidexplorer with no luck, so I copied it to the sd card and tried to copy paste it using Astro File Explorer with no luck either. How the hell do I get it into that folder? I'm rooted and running the JH7 captivate stock ROM.
I feel like once I get it in there, I can manually start the file and get this puppy up and going! I tried to put it into another folder and just point Open VPN settings to it there but it just won't work like that. It needs to be in the Modules folder!
Thanks in advance!
Ugh I've tried about everything and no luck with copying the tun.ko file into the system/lib/modules directory.
I've gained root access using adb shell and su commands and I don't receive any errors in the adb shell when I perform cp tun.ko system/lib/modules but it does not copy the file. I tried to chmod 777 the lib folder but was denied. I'm learning I may not have NAND unlocked for full root. I tried to manually start the module from my sd card but it won't work that way either.
Any suggestions?
EDIT: OK BIG IMPROVEMENT. I WAS ABLE TO WRITE THE TUN.KO FILE TO A DIFFERENT LOCATION IN XBIN AND POINT THE OPENVPN AT THIS. AFTER AN LSMOD CHECK I CONFIRMED IT'S RUNNING. CAN ANYONE HELP ME BUILD A VALID OPENVPN .OVPN FILE FOR CONNECTING TO MY VPN? IT'S A STANDARD CISCO ASA IPSEC VPN THAT HAS A GROUP NAME, GROUP KEY AND VPN ADDRESS.
Thanks!
Here is the link that got me able to install the module elsewhere for all you folks facing NAND issues and not able to install tun.ko in the system/lib/modules folder!
http://forum.xda-developers.com/showthread.php?t=793018&highlight=openvpn+config
Thread moved to Q&A.
OK. I've got true ipsec vpn working perfect on the captivate with the latest jh7 build. Cisco asa 5500 is the device being vpnd through.
Sent from my SAMSUNG-SGH-I897 using XDA App
Is anyone doing anything new and/or differently than what's been described in this thread to successfully connect to a Cisco VPN Concentrator? I know October is only two months back, but a lot can change in two months around here.
Also, there was a question on page 1 asking about whether the tun module had to be manually loaded each time or not. That was never answered. Can anyone shed some light on that, please?
Bunkaido said:
Is anyone doing anything new and/or differently than what's been described in this thread to successfully connect to a Cisco VPN Concentrator? I know October is only two months back, but a lot can change in two months around here.
Also, there was a question on page 1 asking about whether the tun module had to be manually loaded each time or not. That was never answered. Can anyone shed some light on that, please?
Click to expand...
Click to collapse
Give me til tomorrow morning. I have EXACTLY what you are looking for. Consider donating if it helps... . It does need to be loaded each time but in the video I point at 2 apps that will make loading it literally a 3-5 second process and not involve you having to use a pc to load it.
http://forum.xda-developers.com/showthread.php?t=871159
Reason for OpenVpn Settings
fixitsteve said:
Okay, I can manually insert and load the tun.ko and installed the VPN Connections app to this version. Every time I try to connect, it INSTANTLY says 'failed to connect'. Any ideas? I have all the right things in all the right places...OpenVPN installed and configured (although I can't see how I need this with the tun.ko manually started and running). HELP! I really need VPN to work on this device or it is going back...
Click to expand...
Click to collapse
The reason I use OpenVpn settings is because when you restart the phone you have to reload the tun.ko and OpenVpn settings is an easy way to do that, it also fixes the dns after you disconnect from the vpn by going to setting and fix dns. The process I use to start the vpn is (starting from a cold boot of the phone)
1. I ALWAYS leave the check box in OpenVPN settings UNCHECKED (OpenVPN off) unless I'm starting the tun.ko after a boot. After the phone boots I open OpenVPN settings and check the box next to OpenVPN and wait a few seconds, then uncheck it. This loads the tun.ko and only needs to be done after a reboot.
2. go to VPN connections and click and hold the vpn connection you made to your VPN concentrator and click connect. (you should be connected at this point)
3. after you disconnect the dns on the phone may not change back automatically from the VPN dns servers, so go to OpenVPN setting and click setting and Fix DNS. You should be able to get out to the Inet again.
Cognition 3.04
Has anyone gotten this to work on the Cognition 3.04 ROM? I keep getting:
fatal:cannot allocate TUN/TAP dev dynamically
K, I don't know what I'm missing here. There's not word one about config files or their format in this thread but, as far as I can tell, this is a fairly worthless collection of bits without one.
I've reviewed the thread 3 times and searched the forums, where can I find formats for these mysterious conf files?
Some custom roms have tun.ko built in. I use Paragon RC6, based on speedmod kernel. To activate tun.ko I rebooted into recovery mode, chose speedmod tweaks and activated tun.ko, rebooted and installed OpenVPN Installer and OpenVPN Settings from the market. Then had to adb some symbolic links (google is your friend). After d/l'ing conf files from my commercial OVPN supplier and some editing the setup works very well.
Sent from somewhere with my Cappy/ParagonROM/OpenVPN
visionlogic said:
Some custom roms have tun.ko built in. I use Paragon RC6, based on speedmod kernel. To activate tun.ko I rebooted into recovery mode, chose speedmod tweaks and activated tun.ko, rebooted and installed OpenVPN Installer and OpenVPN Settings from the market. Then had to adb some symbolic links (google is your friend). After d/l'ing conf files from my commercial OVPN supplier and some editing the setup works very well.
Sent from somewhere with my Cappy/ParagonROM/OpenVPN
Click to expand...
Click to collapse
If my ROM doesn't have tun.ko built in, is it possible to use from a different ROM?

[MOD] Hulu mod and Webtop/Hotspot Tether for 4.1.57

I was able to get the hulu mod to work inside dolphin browser HD, and also the tethering option in the laptop dock to work, I used Ririal's script to root the phone on the latest 4.1.57 and then ran these commands in a adb shell as ROOT :
for hulu please updated flash player to 10.2 first in the market then apply the libflashplayer.so (can be found in the latest gingerblur package) file to lib folder of the flash player ::>
cp -f libflashplayer.so /data/data/com.adobe.flashplayer/lib
then we go on to unlocking the APN's and borrow some of the code from gingerblur mod from the addons batch file ::>
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp -f sqlite3 /system/bin/sqlite3
chmod 755 /system/bin/sqlite3
sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "UPDATE carriers set preloaded='false';"
/system/bin/sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "INSERT INTO carriers (name, numeric, mcc, mnc, apn, user, server, password, proxy, port, mmsproxy, mmsport, mmsc, mmsc2, authtype, type, current, preloaded) VALUES ('AT&T (FREE TETHER)','310410','310','410','wap.cingular','[email protected]','','CINGULAR1','','80','wireless.cingular.com ','80','http://mmsc.cingular.com ','','-1','','1','false');"
reboot
and now you are done, next go to the APN's and check they are unlocked then change the AT$T US tether APN type to nothing, then add the "tether" with a comma at the end of the APN type of AT$T US HSDPA , then reboot the phone, once in webtop you can change from the free tether to hdspa then the verification nag will go away and you will be able use the laptop dock.
If anyone can put all this in a script as i got no brains to do a script right now
DO THIS AT YOUR OWN RISK, I AM NOT RESPONSIBLE IN ANY WAY IF YOU BRICK YOUR PHONE OR ANYTHING THAT RELATES TO THIS POST, THIS IS FOR INFORMATIONAL PURPOSES ONLY !
With that being said have fun
EDIT :
And confirmed sideloading working, issue this command in adb shell as ROOT ::>
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "UPDATE secure SET value=1 WHERE name='install_non_market_apps';"
Then reboot, now you can install apps direct from the sd card.
EDIT 2:
Commands corrected now.
Does the mod retain the tegra specific version of flashplayer?
Well I used the .so file from the gingerblur 7.7 package and the flash player 10.2 from the android market, so does this make it non specific to the tegra chip?
Sent from my MB860 using XDA App
molotof said:
Well I used the .so file from the gingerblur 7.7 package and the flash player 10.2 from the android market, so does this make it non specific to the tegra chip?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I used the Market Flash 10.2 and Gungerblur RC1 .so,
Hulu works in Dolphin HD, had to set the user agent to desktop and plugins to always on.
Going to try the webtop over cellular.
How to enable The Hotspot Tether for 4.1.57?
joojle said:
How to enable The Hotspot Tether for 4.1.57?
Click to expand...
Click to collapse
Just follow the tethering steps and you are set to turn on hotspot from the settings under wifi.
Sent from my MB860 using XDA App
molotof said:
Just follow the tethering steps and you are set to turn on hotspot from the settings under wifi.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I get a syntax error on your first sqlite3 command, something along the lines that it's expecting a ")" ??
http://forum.xda-developers.com/showthread.php?t=1017373
Not to detract from the thread, but this enabler is a simpler way of getting sideloading/tethering APNs installed. No need for manual commands assuming you used the correct tools to root in the first place (i.e. sqlite3 is installed.).
Yeah better off using the scripts now as all is well in gingerblur land
molotof said:
Yeah better off using the scripts now as all is well in gingerblur land
Click to expand...
Click to collapse
Thanks for the effort though!
All the thanks go to you and other devs here in xda for such a great job in working on these things and making our lives easier
Sent from my MB860 using XDA App
Will THis Mod Work without Gingerblur
I've been too lazy to install Gingerblur but wanted to see if this mod will work without it. Thanks!
Couldn't you just use the zip files
(hulu,webtop,hdmi etc) included separately in the kennethpenns gingerblur thread? Wouldnt that work through tenfars cwm without actually installing gingerblur itself or are those specific to gingerblur only?
Edit: Actually I just answered my own question! lol the zips all install fine on stock 4.1.57 with root but do they work? I'll find out soon enough...
Gutterball said:
Couldn't you just use the zip files
(hulu,webtop,hdmi etc) included separately in the kennethpenns gingerblur thread? Wouldnt that work through tenfars cwm without actually installing gingerblur itself or are those specific to gingerblur only?
Edit: Actually I just answered my own question! lol the zips all install fine on stock 4.1.57 with root but do they work? I'll find out soon enough...
Click to expand...
Click to collapse
That i have no idea if it is possible or not, as these commands are for the purists that want CrapyBlur on and the original look without doing anything else to the file system.
I think it is in gingerblur add on packages BUT you would need the sqlite from the main package, so i guess this is the best bet for now !
molotof said:
That i have no idea if it is possible or not, as these commands are for the purists that want CrapyBlur on and the original look without doing anything else to the file system.
I think it is in gingerblur add on packages BUT you would need the sqlite from the main package, so i guess this is the best bet for now !
Click to expand...
Click to collapse
Actually installing those zips on stock work through cwm! So thats good enough for me! Thats cool! Because I like gingerblur but for some damn reason whenever I install it? my wifi is weak and disconnects alot... I have no idea why??
Indeed got it working
Although, what have you guys seen in terms of how well HULU works? For me it's a little buggy. The video has issues with commercials not loading properly. I assume this is normal.
But all the other video controls seem to be fickle
mattyv said:
Although, what have you guys seen in terms of how well HULU works? For me it's a little buggy. The video has issues with commercials not loading properly. I assume this is normal.
But all the other video controls seem to be fickle
Click to expand...
Click to collapse
The reason ads wont play is probably because you have ad blocking setup on your phone. What rom and root did you use? The regular vids will still play but commercials wont come through. LOL big loss!
thanks
you are right. it does work without the ads working. one thing i noticed is that the speed is a little slow on hulu using the webtop. i.e. the video is choppy. has anyone had any experiemce with that? is it something that can be sped up?
mattyv said:
you are right. it does work without the ads working. one thing i noticed is that the speed is a little slow on hulu using the webtop. i.e. the video is choppy. has anyone had any experiemce with that? is it something that can be sped up?
Click to expand...
Click to collapse
I noticed that too. Honestly gingerblur somehow, someway was having an adverse reaction on my wifi(though I seem to be the only one with this problem) I flashed back to stock, rooted, installed all the seperate zips from gingerblur without installing gingerblur itself using tenfars cwm recovery. Then I flashed gladiatrix rom also and my wifi has been perfect and hulu is running at normal speed with no choppiness.
The only thing with hulu is you gotta uninstall flash player 10.2 and grab the one from the market. Then grab a file called libflashplayer.so and copy it to data/data/com.adobeflashplayer/lib put it inside that folder using root explorer and it should ask you to overwrite click yes. Then open dolphin hd in settings make sure flash plugin is set to always on and that the agent is set as desktop. Then go to hulu.com click a video and it should play fine and with sound cause I was having a problem with no sound but this fixes it!
As far as the webtop is concerned?I think the webtop in general is buggy and laggy but still an awesome feature to have it probably will get better with more updates.
just wanna be sure here the only line i need to enable the hulu mod is this?
cp -f libflashplayer.so /data/data/com.adobe.flashplayer/lib

VPN client?

I'm trying to connect my KFHD to my home network so I can access files on my NAS remotely. According to my little device I have to download an app that is compatible with my network - which would be either PPTP or OpenVPN. So far the apps I've tried don't work. Has anyone had any luck connecting to a network via VPN?
I have the same problem , if someone could help I'd really appreciate it.
Have you guys checked around the original kf forums. Even though we are different devices they software is pretty similair.
Sent from my MB855 using Tapatalk 2
To the op are you talking about accessing files from a remote location?
Sent from my KFTT using Tapatalk 2
craby1925 said:
Have you guys checked around the original kf forums. Even though we are different devices they software is pretty similair.
Sent from my MB855 using Tapatalk 2
Click to expand...
Click to collapse
I've searched a lot but I couldn't find anything , would you give us the topic you're referring to?
fcasey said:
To the op are you talking about accessing files from a remote location?
Sent from my KFTT using Tapatalk 2
Click to expand...
Click to collapse
Basically, yes.
So far all the references to VPNs in the original Kindle Fire forums are for subscription based VPN services. I don't want to use someone else's VPN service to get around country restrictions (which is what it seems most people are trying to do). I'm trying to access my own VPN server so I can access my own files on my NAS and to secure my internet sessions if I'm at an unsecured hotspot.
It seems that Amazon has disabled VPN support entirely (kernel level?) so I can't get PPTP to work. OpenVPN would work if I could find a TUN module that works with the device (have tried TUN.KO installer with no luck) and would have to install BusyBox. I don't want to mess around too much since we don't have recovery in place and I don't have my factory cable yet to try to do a restore.
I can get SSH to work but that doesn't protect web browsing. The only way I can find to use SSH as a VPN is by installing OpenSSH. I guess I'll try that as soon as I get my Raspberry Pi up and running - I'm right now using my NAS as a VPN server (not too thrilled with that scenario).
If I find a solution I'll post it here.
same needs here? any news with vpn client for android? only thing I found is https://play.google.com/store/apps/...=W251bGwsMSwxLDEsImNvbS5kb2VudGVyLm9uZXZwbiJd but " This app doesn't yet work Android 4.0"
Now that I have resurrected by machine I was able to test Feat VPN (https://play.google.com/store/apps/...51bGwsMSwxLDEsImNvbS5mZWF0dnBuLmFwcC5saXRlIl0.). It's a client for OpenVPN . I was able to successfully connect to my network remotely. The free version posted above will only work for 1 hour per day. There is a paid version that removes the 1 hour restriction.
xene97 said:
I'm trying to connect my KFHD to my home network so I can access files on my NAS remotely. According to my little device I have to download an app that is compatible with my network - which would be either PPTP or OpenVPN. So far the apps I've tried don't work. Has anyone had any luck connecting to a network via VPN?
Click to expand...
Click to collapse
I use es file explorer to access files on my computer via the wireless network. Is that what you mean?
xene97 said:
Now that I have resurrected my machine I was able to test Feat VPN . It's a client for OpenVPN . I was able to successfully connect to my network remotely. The free version posted above will only work for 1 hour per day. There is a paid version that removes the 1 hour restriction.
Click to expand...
Click to collapse
Feat VPN is now free (without the 1 hour restriction) if you download it from their website. Go to "featvpn dot com" (I can't post URLs) and get the version for Android 4.x
Can't you use FTP mode in ES File Explorer and connect to your ip address?
I don't want to run FTP unless absolutely necessary. Plus, VPN access allows secure browsing at open hotspots and gets me around Amazon's "only in the US" prime video viewing when I'm out of the states.
I have OpenVPN working fine. No need for anything special. You just need to root and install busybox installer (advanced install with symlinks). Then install and run OpenVPN installer.
No packets with OpenVPN
I managed to get OpenVPN installed on my rooted Kindle Fire HD and can setup a connection to a AlwaysVPN server.
But I can't get any packets routed - so no traffic at all....
It's not a DNS problem - I have the same problem if I use bare IP-adresses. And the FixHTC option in OpenVPN doesn't help either.
Can you share your OpenVPN script file ?
diito said:
I have OpenVPN working fine. No need for anything special. You just need to root and install busybox installer (advanced install with symlinks). Then install and run OpenVPN installer.
Click to expand...
Click to collapse
OpenVPN (also to AlwaysVPN) NOW WORKING
udothegreatest said:
I managed to get OpenVPN installed on my rooted Kindle Fire HD and can setup a connection to a AlwaysVPN server.
But I can't get any packets routed - so no traffic at all....
It's not a DNS problem - I have the same problem if I use bare IP-adresses. And the FixHTC option in OpenVPN doesn't help either.
Can you share your OpenVPN script file ?
Click to expand...
Click to collapse
I got it working now. I just needed so set symlinks for ifconfig and route to the busybox:
mount -o remount, rw /system
ln -s /system/xbin/busybox /system/bin/ifconfig
ln -s /system/xbin/busybox /system/bin/route
mount -o remount, ro /system

[Emulator][Unnoficial] Leapcast the Chromecast Emulator All-In-One File

After several hours of tinkering and editing, I think I've finally managed to make an easy way to emulate a Chromecast on your PC. Iv'e only worked on x64 based systems so far, but I'll do x32 if anyone needs it. All you have to do is download the file, place it on your desktop (or it won't work), extract the .tar (don't make a new folder) and follow the directions in INSTALL.txt. It shouldn't require any extra files except Google Chrome, but if it does or you have any other errors or advice, feedback is very appreciated.​
I take no responsibility for any damages done by this. USE AT YOUR OWN RISK. Leapcast is the property of dz0ny at GitHub, not me. All I did was make an all-in-one install script.​
I already have Python installed....Can I just run the Bat file?
Error running LeapCast.bat
I completed the installation but when I run LeapCast.bat got this error (see the image)
Edit: I found the problem, I need to Edit "PATH" environment variable to include this "C:\Python27" and this "C:\Python27\Scripts".
Good job!!!!
Only youtube detected the leapcast, I check Plex, Avia, Crackle and Allcast and they don't.
lordkain2 said:
I completed the installation but when I run LeapCast.bat got this error (see the image)
Edit: I found the problem, I need to Edit "PATH" environment variable to include this "C:\Python27" and this "C:\Python27\Scripts".
Good job!!!!
Only youtube detected the leapcast, I check Plex, Avia, Crackle and Allcast and they don't.
Click to expand...
Click to collapse
It's probably an error in my install script. It should have edited your PATH automatically, so I'll look into it. The compatibility problem is probably just an issue with the emulator itself. I'll keep an eye on the github page and update this as soon as its available. Thanks for the feedback!
Did you use the Chromecast app on your phone/tablet to detect it before you tried the other apps?
Asphyx said:
I already have Python installed....Can I just run the Bat file?
Click to expand...
Click to collapse
That's part of what the script does. If you want, you can ignore the basic Python install if you specifically have Python 2.7.5 installed, but you definitely need to let setuptools and pip install. Won't work without them I'm afraid. Thanks for the feedback!
thatscottguy93 said:
That's part of what the script does. If you want, you can ignore the basic Python install if you specifically have Python 2.7.5 installed, but you definitely need to let setuptools and pip install. Won't work without them I'm afraid. Thanks for the feedback!
Click to expand...
Click to collapse
Thanks Kind of what I expected....Will try this later tonite
Thanks for the effort!
Unfortunately, this doesn't seem to work. The .bat file it leaves on the desktop has a strange trailing ascii-character, but it still doesn't run correctly even after you remove it. I don't know why you would run it from desktop anyway rather than c:\python27\scripts anyway... It should run from anywhere if the PATH is set correctly, but this script didn't seem to do that. Finally, it would be smarter to use the .vbs provided by the leapcast dev instead of your errant .bat on the desktop. Again though, thanks for the attempt.
It would be great if someone could put together a full install using install-shield and all, or at least a working batch script that has been tested on a fresh install of WinXP/Win7/Win8.1 Maybe I will try to.
NOTE: If this works for others, please let us know, but I am fairly certain it has at least a few minor errors preventing it from working by following the instructions alone.
thatscottguy93 said:
It's probably an error in my install script. It should have edited your PATH automatically, so I'll look into it. The compatibility problem is probably just an issue with the emulator itself. I'll keep an eye on the github page and update this as soon as its available. Thanks for the feedback!
Did you use the Chromecast app on your phone/tablet to detect it before you tried the other apps?
Click to expand...
Click to collapse
i have tried editing my system variables, but after running Leapcast.bat it say:
'leapcast' is not recognized as an internal or external command,operable program or batch file.
Please guide me through. AND github is down in my country right now
---------- Post added at 01:17 PM ---------- Previous post was at 12:49 PM ----------
Okay I got this post on google+
https://plus.google.com/+NicandrosNicolaou/posts/8RjWfMXxje8
it help me do a complete install of LEAPCAST...
-------------------------------------------------------------------
I just wanted to ask if there will be any update for V2 chromecast ? @thatscottguy93
link is not working
can you post a mirror link please?
thatscottguy93 said:
After several hours of tinkering and editing, I think I've finally managed to make an easy way to emulate a Chromecast on your PC. Iv'e only worked on x64 based systems so far, but I'll do x32 if anyone needs it. All you have to do is download the file, place it on your desktop (or it won't work), extract the .tar (don't make a new folder) and follow the directions in INSTALL.txt. It shouldn't require any extra files except Google Chrome, but if it does or you have any other errors or advice, feedback is very appreciated.​
I take no responsibility for any damages done by this. USE AT YOUR OWN RISK. Leapcast is the property of dz0ny at GitHub, not me. All I did was make an all-in-one install script.​
Click to expand...
Click to collapse
punkmexic said:
can you post a mirror link please?
Click to expand...
Click to collapse
Just tried, and works for me....
punkmexic said:
can you post a mirror link please?
Click to expand...
Click to collapse
Its attached to the first post... no need for a mirror...
Installation files for 32 bit system
can you make a setup for 32 bit computer?
Can i run xbmc/kodi on my windows pc and use leapcast to send the video feed to my android phone - this way I can use the laptop as a remote and the phone as existing hardware - lowering my android tv experience to a cost of zero - or should I stick with remote desktop... lag could be an issue as leapcast is light weight via python - minus the $5 mhl
Nope
mikeymackinon said:
Can i run xbmc/kodi on my windows pc and use leapcast to send the video feed to my android phone - this way I can use the laptop as a remote and the phone as existing hardware - lowering my android tv experience to a cost of zero - or should I stick with remote desktop... lag could be an issue as leapcast is light weight via python - minus the $5 mhl
Click to expand...
Click to collapse
Leapcast does not work that way, its mainly for youtube etc... web based viewings. Why not run the laptop/ desktop to the TV set and remote in from the Android phone/ tablet via a remote control app or team view etc... You would defiantly have lagging issues if reversed. Plus you do not have the buy the micro usb to hdmi adapter? Kewl story bro!
Seriously smart, as you will not have to get up to change from one episode to the next and at no cost.
thatscottguy93 said:
After several hours of tinkering and editing, I think I've finally managed to make an easy way to emulate a Chromecast on your PC. Iv'e only worked on x64 based systems so far, but I'll do x32 if anyone needs it. All you have to do is download the file, place it on your desktop (or it won't work), extract the .tar (don't make a new folder) and follow the directions in INSTALL.txt. It shouldn't require any extra files except Google Chrome, but if it does or you have any other errors or advice, feedback is very appreciated.​
I take no responsibility for any damages done by this. USE AT YOUR OWN RISK. Leapcast is the property of dz0ny at GitHub, not me. All I did was make an all-in-one install script.​
Click to expand...
Click to collapse
Thank you very much!!! Nice Work! I love you <3 #nohomo
Hi,
i wanted to try this but iam stucking at this error
C:\Users\Administrator\Desktop\LeapcastForWindows\leapcast>leapcast --name Leapcast --chrome "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --fullscreen
Traceback (most recent call last):
File "C:\Python27\scripts\leapcast-script.py", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2431, in load_entry_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2147, in load
['__name__'])
ImportError: No module named leapcast.__main__
Anyone know how to fix this?
Managed to got it almost working IT's an old thread but I will give it a go.
Had to update Python to 2.7.9 for the SSL thing.
This is my issue :
Code:
C:\Users\d3x\Desktop\LeapcastForWindows\leapcast>leapcast --name Leapcast --chrome "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --fullscreen
INFO:root:Starting SSDP server
INFO:root:Starting LEAP server
INFO:root:Loading Config-JSON from Google-Server
Traceback (most recent call last):
File "C:\Python27\Scripts\leapcast-script.py", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "c:\leapcast\leapcast\__main__.py", line 38, in main
leap_server.start()
File "c:\leapcast\leapcast\services\leap.py", line 35, in start
resp = requests.get(url=app_dict_url)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\adapters.py", line 506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='clients3.google.com', port=443): Max retries exceeded with url: /cast/chromecast/device/config (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))
Would that mean that google changed something and this no longer works?
-chrizz- said:
Hi,
i wanted to try this but iam stucking at this error
C:\Users\Administrator\Desktop\LeapcastForWindows\leapcast>leapcast --name Leapcast --chrome "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --fullscreen
Traceback (most recent call last):
File "C:\Python27\scripts\leapcast-script.py", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2431, in load_entry_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2147, in load
['__name__'])
ImportError: No module named leapcast.__main__
Anyone know how to fix this?
Click to expand...
Click to collapse
Did u solved this?? same problem here.. let me know if u solved this
Don't know about your specific error, but Google definitely changed something. Leapcast doesn't work anymore. According to dz0ny on github:
This project no longer works because Google locked down entire API. There are alternatives like cloning device, casting apk from nexus player etc. Thanks for all contibutors and I hope we all learned something from this project. Meanwhile I'am keeping https://github.com/dz0ny/leapcast/issues/130 open if anyone wants to discuss something related to lepacast or 2nd screen paradigm.
I would love to re-implement this as an open source alternative to chromecast someday, but I won't make any promises.
Does anyone know a proper way to uninstall this?

Categories

Resources