OpenVPN for Android - Tasker Tips & Tricks

So I used to be able to use OpenVPN for Android with the OpenVPN Tasker Plugin.
The setup was if not connect to home wifi VPN connected.
But now it looks like once its connected to the VPN it does not seem to recognize that its still connected to the wifi. So its caught in a vicious cycle of connected, disconnect, connected cycle.
Anyone have any suggestions?

Found a work around for this. Instead of doing two conditions for the profile. I changed it to individual profiles.
First profile is when I am connected to my home wifi to kill OpenVPN.
Second profile is to start OpenVPN when I am not connected to my wifi.
I use to have both in the same profile with enter and exit tasks.

Related

Gremote Installation / setup Issue

Hey guys , so i have a netbook with bluetooth (lenovo S10) and my HTC touch Pro. I wanted to control my netbook with myphone using Gremote either via bluetooth or wifi.
First, i tried the bluetooth method. I followed the instrution at the main site and got all the way until i have to setup a PAN in my netbook. However i couldn't find any option to setup a PAN so i couldn't control my netbook with myphone via bluetooth.
Then i proceded to create an ad-hoc wifi network from my netbook. I made it's SSID and then set it as not using any encryption and the network key is automatically provided by windows. My phone detected the network and connected successfully to it. Both had ip's for within the network. Now the Gremote server is already running in my computer. I started the Gremote app in my phone and then went on to create a profile. When i press the FIND button (to search for the ip address) it says couldn't find ip. However in my netbook, The Gremote server shows in it's log file that it received request search from [my phone's ip here].
What is wrong? My netbook seems to be detecting my phone attempting to connect to it but the gremote app on my phone shows that it couldn't find anything?
P/s: I've tried manually key-ing the ipaddress and it didn't work.
Ive had that issue before and other issue with the app. Its strange, one day it will just start working.
For the bluetooth, make sure you have a serial port open, but i have yet to see a bluetooth stack on a PC that doesnt have an option to activate PAN.
With the wifi, you said you manually keyed it in, are you getting that IP from the status page on the gremote server app? make sure you have that port open as well, i think its 5656 or something.
you should try to
1. connect to your PC using a router
2. Drop the wep encyption on your adhoc connection
3. use a static IP for your PC
4. have your phone connected to the wifi connection for atleast 20 seconds before you try to initiate control with gremote.
ive used gremote on 2 laptops and a PC. the PC is my home PC which is the only one that has given me an issue. Regardless, it works now. One day it just started working. on the PC i can use gremote through my router wifi, adhoc connection straight to it, or bluetooth pan. On my laptop i use it through router wifi and adhoc without ever having an issue. on my sisters laptop ive used it with a adhoc connection......still no issue.
Keep messing with it. The only problems ive ever had seemed to have worked themselves out after a couple days.
Thanks YL Groper. Actually about 2 nights ago, i was playing around and it most certainly worked suddenly.
I made a standard Ad hoc network (open without encryption) and let it run. However my computer couldn't detect the network (which was created from the computer). Then i input the SSID to my Touch Pro, and it found the network. After being connected to the network, my computer found the network as well and begin to connect to it. Once it got the ip, my phone could retrieve the ip from the computer and now i have no problem

DUN / Dial-Up Networking TomTom Rider

My reason for rooting this G1 was solely to be able to connect it to my TomTom Rider GPS system via Bluetooth, so that unit can download traffic updates via GRPS/3G.
Rooting was successful, and i'm able to start the Tethering client with su privileges and bluetooth mode on.
However, when i try to sync it with TomTom, i get a bluetooth profile scan result that says "DUN" is not an available profile there for it wont even ATTEMPT to use it to connect.
stab in the dark here but does DUN mean Dial-Up Networking?
What can i do to this rooted G1 to make it report that it has the DUN bluetooth profile, and hopefuly let the devices cnonected to it use the GPRS/3G ?

Tasker not recognizing Blue Toots connection

Can someone please help me figure out why on earth I can't get my note 3 to register on tasker that it made a bluetooth connection...
I'm trying to have a profile where a plugin called drivebit starts upon connection to my car's bluetooth, and stops upon a disconnecting from my blueooth. This is for fitbit to register that I drove, so it discounts missteps registered while I drive...
I got the profile running perfect under wifi, but when I try blueooth, it won't recognize blueooth connection...
I tried blueooth autoconnect, but I can only assign one task to it, so all I can do is start drivebit upon connection. And it will connect under any blueooth device this way. I only want one of my 3 cars...
Any suggestions? Maybe run blueooth autoconnect to have tasker recognize a connection is being made?
Please help...

[Q] Chromecast is killing my WiFi connection

Hello.
I'm facing a problem with my chromecast. When letting it connected on the TV for a long time (like at night), when I wake up at morning, my WiFi connection do not connect, It says that is 'obteining IP adress' and do not connect at all.
At home I have two WiFi routers with two different networks connection. The connection that's not in sync with chromecast keep working and the one with chromecast syns keep saying that adress problem.
Thank you.
Is Chromecast still working and connected to WiFi when the router goes braindead? Might be an issue with the router not handling Chromecast's multicast or something.

VPN via "server PC"

Hi All,
I recently acquired a chromecast and would very much like access to the BBC Iplayer (I live in the netherlands). I can already watch Iplayer on my phone using the VPN option in android but once I try to watch it on chromecast it doesn't start the stream which is probably because the chromecast is connected to my home network which is not behind the VPN. I also can't mirror screen since I loose connection from my phone to the chromecast as soon as I connect my phone to the VPN.
Now I read that it is possible to do with a DDWRT router but I do not have one of those and I wouldn't want my whole network to be on a different IP, just the chromecast & if needed my phone. I do however have something that I would like to consider a lot more powerful than a router, namely a "Server PC" running windows XP professional. Would I be able to use this server and enable the VPN on it and then make the chromecast connect to the server? Would I need 2 USB wireless adapters or 1 (so my phone connects to 1 and the chromecast to the second. My server connects via ethernet to my modem)? Could I somehow configure this USB adapter to be connected to the VPN by default? Could I use virtualization software? I would like the most clean option preferably without affecting the rest of my server (but it would be OK if the server is temporarily in the UK until I have watched the show). Perhaps this topic can be extended to other devices with wireless capabilities like NAS and raspberries etc.
Your help is greatly appreciated.
Ok so after some digging I found at least 1 way of doing it: http://alphaloop.blogspot.nl/2014/01/raspberry-pi-as-vpn-wireless-access.html
However I still think this should be possible on a windows XP machine with a wireless adapter.
On many Windows 7 PCs with wi-fi, you can use the following to create a hosted wifi network that your chromecast can connect to:
netsh wlan set hostednetwork mode=allow ssid=XXXX key=YYYY
netsh wlan start hostednetwork
if you then share your VPN adapter's internet connection with the hosted wifi that you've created, you can connect your phone and chromecast to the same wifi XXXX and that will be connected to the internet via the VPN on the laptop.

Categories

Resources