Thanks Meter 43
Join Date: Nov 2007
Location: Toronto, Ontario
[Q] Automatically connect to VPN on Device Startup
I have an android device: it's a stick connected to my TV, running android 4.1 rooted. The stick is an MK808B, if that means anything to anyone here. The stick is connected to my TV's USB so that when I turn the TV on, the stick boots and when I turn the TV off, it shuts down completely.
I am looking for something that automatically connect the stick to VPN when I boot it. I would preferably use VPN over L2DP, although I'll take PPTP if there's no other option. I can't use openVPN because my ROM's kernel doesn't have TUN. There are two ways to approach this: one way is to connect it on boot, another way is to connect to VPN when the stick connects to a wireless network because my stick is stationary and always connects to the same wi-fi network.
Any ideas on how to get this done? Thanks all!
History: Motorola V220 -> Motorola RAZR -> HTC Wizard (Hello XDA!) -> HTC Touch -> Blackberry Curve 8330 -> Samsung Galaxy S III SGH-I747M
Current: Google Nexus 5 (stock: used in a corporate environment)
History: Viewsonic G-Tablet -> Asus EEE Pad Transformer (it's making a thief in Antwerp, Belgium very happy right now)
Current: Google Nexus 10 (stock: used in a corporate environment)
Other people's devices I look after:
HTC One X (stock)
Google Nexus 7 (stock)