[Q] TAP/Bridge mode VPN in jellybean - Android Q&A, Help & Troubleshooting

Has anyone successfully established a bridge mode VPN connection (using TAP) in any version of Jellybean, stock or custom?
It seems that every vpn app in the play store suggests that this can't be done in JB. I'd really like to upgrade to JB, but I really don't feel like reconfiguring my whole VPN setup, just to log on to my home server every once in awhile.
Hoping I'm wrong about this...

ushlambad said:
Has anyone successfully established a bridge mode VPN connection (using TAP) in any version of Jellybean, stock or custom?
It seems that every vpn app in the play store suggests that this can't be done in JB. I'd really like to upgrade to JB, but I really don't feel like reconfiguring my whole VPN setup, just to log on to my home server every once in awhile.
Hoping I'm wrong about this...
Click to expand...
Click to collapse
Yes all you need to do is search Open VPN Tun [short for tunnel and the name OpenVPN gives the setting] in the Android Play Store to find the Open VPN Settings app created by: Friedrich Schäuffelhut
[Found Here: Open VPN Settings]
When you run it it will run some checks and may ask you to download the following to install the ifconfig binary and the Open VPN binaries in to the system [ifconfig is installed as part of busybox so you maybe good may not but app checks and runs well].
Installer Link [which can also be run on it's own and also checks things and will tell you if you are good to go or if it needs to install things for you.
Open VPN Settings Installer
IF UNSURE USE /system/xbin for install location [first question] and accept defaults or the rest.
THIS WILL REQUIRE A ROOTED ANDROID DEVICE [due to it being a tunnel and not a tap interface you need root to set the connection up and make it usable within android the android VPN client itself only accepts TAP style interfaces due to possible security risks "casual" or "non-technical" users may not understand and thus to protect you from yourself it doesn't do TUN interfaces.
You can use either blah.ovpn OR blah.cfg [Windows servers use .ovpn as extension whereas Linux favors .cfg but both are the same text based profile file]. if I remember right just create /sdcard/openvpn/<whatever> [whatever is whatever directory name [if you want one] I use the client name that way all the keys and profiles are organized and not all jumbled in one folder [or if files have same name or different content then you will be forced to do this for something like multiple OpenVPN server profiles]. THE OpenVPN app tells you this if you open it and there is no /sdcard/openvpn folder found it says to create it in the middle of the main window area]
Also, it is easiest to edit your profiles so there is no absolute directory structure pointing to the files [the ca.crt, client.crt and client.key files].
This is very easy just remove all directories so the line ONLY has the filenames [See example profile in code box below].
Here to make this easy here is an example profile file I use [your server and port as well as if you choose to have it persist the IP addresses of clients across multiple connections may be different, up to you].
Code:
.
# Specify that this is a client
client
# Bridge device setting
dev tun
# Host name and port for the server (default port is 1194)
# note: replace with the correct values your server set up
remote some.domain.or.IP.address.here <whatever port you use here>
# Client does not need to bind to a specific local port
nobind
# Keep trying to resolve the host name of OpenVPN server.
## The windows GUI seems to dislike the following rule.
## You may need to comment it out.
## This MAY NOT be a good choice
## for most folks I use a private server
## without many clients so it doesn't
## affect me if they connect a bunch of times but any security systems
## may not like it if you connect too many times to quickly and you don't
## want your own server blocking your IP when you want to connect now do you :)
resolv-retry infinite
# Preserve state across restarts
persist-key
persist-tun
# SSL/TLS parameters - files created previously
ca ca.crt
cert client.crt
key client.key
# Specify same cipher as server
cipher <choose your cipher>
# [same as you set on your server don't make it different]
## Default here is usually BF-CBC if I remember right
# Use compression
## again make sure you enabled compression in the server profile or comment it out here
comp-lzo
# Log verbosity (to help if there are problems)
## I set it a little higher but not totally verbose
## I like a little info when there are problems
## to help fix them, up to you what you choose
## Can be different from server setting
verb 3
Hopefully this helps. I am unsure of your or anyone else who may like this posts technical skills so trying to be thorough. You could also use this profile to work backward filling in the same settings asked for in the server profile.
ONCE YOU GET THE profile on to the SDCARD and connect the first time the app will always bring it up and all you have to do is tap a checkbox to turn on the VPN Settings app and then once more to enable the profile you want [yes even if just one you have to check it, BUT, IF YOU uncheck the OpenVPN enable/disable checkbox at top the next time you enable it it will auto enable last used connection !
IT REALLY IS A VERY EASY TO USE AN NICE APP [AND ONLY ONE TO SUPPORT OPEN VPN TUN [TUNNEL] INTERFACE SETUPS!

Related

[Q] Another Ad Blocker question...

I have used adfree for a long time and never had any issues until the TB. For some reason the ads are still all over the place. I have updated host files and all I know to do... any suggestions?
i'm assuming that you're rooted, right? i'd verify that your hosts file in /etc has entries other than for the local host.
alternatively, you could try using dolphin hd with the ad-blocker add-on.
open the /system/etc/hosts file on your android phone via the command line or with a file explorer (must be rooted and have write permissions for /etc/system/hosts)
add the ad server list from http://pgl.yoyo.org/adservers/ to the file
(if you change the IPs to 0.0.0.0 instead of 127.0.0.1, the ads will be killed faster, since they wont die in the loopback with 127.0.0.1, since 0.0.0.0 is an invalid address)
If you find ad server lists from elsewhere, add it to the file and filter out extras doing a unique sort on it. I normally keep the same list on my desktop/laptop and phone and add to it as I go using something like live http headers in firefox to find new ad servers
On a linux box you can do a unique sort with:
sort -u oldFileName > newFileName
Here is my list of adservers I block from found lists and ones I added myself.
http://pastebin.com/pF1QNEm2

The HP Touchpad Sticky Master Thread

This is some of the info that I have put together and I figured it may help some of you also. Let me know if I need to add anything. Looking forward to working with this device. Hopefully the Devs will take an interest in it also. With these hardware specs I feel like they will. Anyway, carry on............
Dev/Config/Soft/Tools
CyanogenMod team Touchpad port
HP Site
SDK - Multiple Platforms Instructions
Command line tools
Java - WIndows 32 and 64 Bit Instructions
****Note - Be sure to add the Java Bin path to your Environment Variables PATH
Java - Linux
Bluetooth with Non-WebOS device
Enabling Developer Mode (Rooting)
How To: Connect TP to network shares​HW
Exploded and PCB
Quick sum up/start up guide Thanks KameoRE
Bill of Materials
Specs 16GB
Specs 32 GB
Repair Manual / Teardown
Comparisons​
Extra info
Enabling Developer Mode (Rooting)
In general, simply installing the Palm SDK gives you everything you need for full access to the Linux operating system on any webOS device. There is no special "rooting" or "jailbreaking" process. Simply installing the SDK provides you with unlimited access to the Linux operating system.
Download & install the Palm SDK for Linux, OS X or Windows.
Enable developer mode on the HP Touchpad:
Launch Device Info and tap its top-left menu.
Select "Custom Application..." and type in: ##3386633#
In the application, move the Developer Mode slider to the On position.
Tap Reset the Device.
When reset is complete, Developer mode is enabled.
Plug the device into the computer via the USB cable, and just close out the USB storage mode thing.
The next step varies:
Mac OS X / Linux: Type novaterm into terminal to directly access the Linux command line for the HP Touchpad.
Windows: you will need to download and install a novaterm program.
On Windows 32-bit, download novacom-win-32.tgz and install novacom with NovacomInstaller_x86.msi.
On Windows 64-bit, download novacom-win-64.tgz and install novacom with NovacomInstaller_x64.msi.
Then, just like the Mac and Linux users you can just type novaterm.
At this point you will have a window with a prompt that says [email protected]: or something similar.
You are now logged in as root on your webOS device and can do anything you would normally do on a Linux device.
DISCLAIMER: We cannot be held liable for any loss of data, damage, bricking, or other malfunctions of the device. We solely provide the information needed to achieve root access.
This quick sum up/start up guide might come handy:
http://forums.precentral.net/hp-touchpad/293028-new-touchpad-heres-your-get-started-guide.html
[Q] What is wrong with my touchpad?
RESET: Hold Power Button & Home Button until the tablet resets.
Doing the above solved the below issue.
My touchpad won't turn on I used it until it had about 30 % battery last night, but didn't put it to charge. When I woke up this morning, it was at 28% battery. I used it to check facebook and xda, locked it and put it down to watch the price is right but when I went to use it again, none of the buttons unlocked it. I plugged it into mulitple outlets and held the power button for about 30 seconds each time, but nothing is happening I don't know what to do. Can anybody help?
Click to expand...
Click to collapse
solution #2
this happened twice:
plug it in to pc
open webos quick install
tools - command line
type "reboot" and hit enter
Bill of Materials
$318 Bill of Materials
Comparisons
Comparisons
Exploded and PCB
Exploded and PCB
First non-webOS phone to be fully tetherd with HP TouchPad
First non-webOS phone to be fully tetherd with HP TouchPad
Worked for me, I had to fool with it a couple of times to get it to work. My screenshot is attached
The messaging does not work but the phone calls do.
How To: Connect TP to network shares
How To: Connect TP to network shares
spud101
Member
Join Date: Jun 2004
Location: Netherlands
Posts: 574
Likes: 34
Thanks: 43
Thanked 69 Times in 34 Posts
Updated (Sep 7th 2011):
Rewritten to include a method for stock kernel, make shares usable for KalemSoft Media Player & automount at (re)boot. Thx to everybody who contributed to this thread! (Under construction, finished later)
Updated (Aug 9th 2011): processed some comments from this thread and the fact that uberkernel now also supports CIFS (& NFS).
Prerequisites:
- HP Touchpad, webOS 3.0.2 or later.
- One of the following Kernels:
---- Stock kernel
---- Uberkernel 3.0.2-52 or later (Next to support for CIFS & NFS this kernel also supports UTF-8. More info here: WebOS Internals Uber-Kernel
---- F15C,.. (completed later)
- Terminal access to your TP, either via webOS Quick Install or Xecutah + Xserver + Xterm (install from preware)
- Internalz Pro with show hidden files set to yes
Three parts:
This guide has three parts:
Basic Mounting
Mounting with shares visible in apps like Kalemsoft Media Player
"Sticky" mounting: Auto mount at (re)boot
Definitions:
hostIP = IP address of the computer or NAS you want to connect to. You can use hostnames too, but need to also edit /etc/hosts then.
sharename = The share name you want to connect to as configured on your computer/NAS
mountpoint-path = as discussed above, e.g. /mnt/nas
cifs = type of filesystem to mount (cifs is better version of smbfs, I've been told)
auto (or can also be noauto) auto/noauto determines if the share is mounted automatically at startup.
username & password = share login credentials. There are probably safer ways to do this instead of having this plain text on your device, anyone can tell me how to do that?
rw = access mode, in this case read & write, other possibilities exist too
The numbers have someting to do with filesystem check at boot.
1a: Basic Mounting (without fstab)
- Create a mountpoint, a path where the share will be accessible, e.g. /mnt/nas or /mnt/media/internal/nas I used Internalz Pro in master mode for this.
- In a terminal type:
mount.cifs //<hostIP>/<sharename> <mountpoint-path> -o username=<username>,password=<password>
Example: mount.cifs //10.0.1.26/DataVolume /mnt/Shared -o username=foo,password=bar
1b: Basic Mounting (with fstab, not supported by stock kernel)
To be finished later
2: Mounting with shares visible in apps like Kalemsoft Media Player
To be finished later
For now please refer to:
Road to Success - How to allow NAS to show up under /media/internal on Touchpad Apps?
How To: Connect TP to network shares
How To: Connect TP to network shares
3: "Sticky" mounting: Auto mount at (re)boot
To be finished later
For now please refer to:
Road to Success - Mounting SAMBA/CIFS Permanently on Touchpad
-------------------------------
Original post:
In short: The stock kernel on a webOS 3.0.2 Touchpad does not support CIFS. Or at least I didn't get it to work just the same way I do get it to work out of the box on a 1.4.5 Pre-.
Then I saw this thread: F15B & F15C test kernels
It says CIFS support! So I hesitantly installed this experimental F15C kernel, quickly ran Govnah to set max speed to 1.5 GHz (I don't want no real overclocking beyond this speed). But, YES, it does work, I now can access my NAS!
After I initially posted this thread webosinternals also added support for CIFS (& NFS) to the uberkernel (as of version 3.0.2-36). Thanks a lot for that guys!!
So how to go about:
- Install the F15C kernel from the testing kernel feed
The rest is standard linux stuff for mounting Samba shares:
- Create a mountpoint, a path where the share will be accessible, e.g. /mnt/nas or /mnt/media/internal/nas I used Internalz Pro in master mode for this.
- Open /etc/fstab again you can use Internalz Pro in master mode for this
Add a line:
//<hostIP>/<sharename> <mountpoint-path> cifs auto,username=<username>,password=<password>,rw 0 0
hostIP = IP address of the computer or NAS you want to connect to. You can use hostnames too, but need to also edit /etc/hosts then.
sharename = The share name you want to connect to as configured on your computer/NAS
mountpoint-path = as discussed above, e.g. /mnt/nas
cifs = type of filesystem to mount (cifs is better version of smbfs, I've been told)
auto (or can also be noauto) auto/noauto determines if the share is mounted automatically at startup.
username & password = share login credentials. There are probably safer ways to do this instead of having this plain text on your device, anyone can tell me how to do that?
rw = access mode, in this case read & write, other possibilities exist too
The numbers have someting to do with filesystem check at boot.
- Save the file
- Open a terminal
- type in this command:
mount -t cifs //<hostIP>/<sharename> <mountpoint-path> -o username=<username>,password=<password>
No idea whether all the -o options are still needed, as they are in the fstab line already as well.
Apparently mount -a should also mount your shares inside fstab. But for me that didn't work, maybe because I have it set to noauto.
This should do it.
Unmounting as follows:
umount <mountpoint-path> e.g. umount /mnt/nas
Note: as soon as you have a kernel running that supports CIFS, you can also use the xt tools. See this thread and the threads referenced inside it. samba filesharing - install/support thread
The xt tools will take over all the fstab editing and directory creation.
I agree this is still cumbersome. On an Android phone for example this is buildin in every decent filemanager. So I really, really hope that either or both Gemini and Internals HD will have some easy solution for this (both configuring and the actual mounting/unmounting). Or a solution straight from HP, this is also aimed at enterprise market after all!
Last edited by spud101; 09/08/2011 at 07:41 PM.
Thanked by 60milesmile, cookie_42, El_Titi, flyers333, ichi2k, Major Payne, mivoligo, Nightburn, obarthelemy, PF Graham, phil71, pre101, RickNeff, runner77, sf3000, sjp770, sps_2k1, tabaloos, teng_lin, thomaz, timjhenry, tlaswell​
Weird shortcut to USB mode
Has anybody else seen this?
While connected to PC in "just charging" mode I reached out and accidentally hit the Volume Down and Power buttons at the same time. The TouchPad instantly switched to USB Storage mode.
Interesting behavior and I couldn't seem to find any mention of it anywhere.
PreCentral had it as a tip on their web site about a week ago and I spotted it there - http://www.precentral.net/access-usb-mode-touchpad.
Quite a few other useful titbits crop up on there - it is worth following. I use the webOS News app from the App Catalog. That gives heads-up on the free software codes as well.
dmarchant said:
PreCentral had it as a tip on their web site about a week ago and I spotted it there - http://www.precentral.net/access-usb-mode-touchpad.
Quite a few other useful titbits crop up on there - it is worth following. I use the webOS News app from the App Catalog. That gives heads-up on the free software codes as well.
Click to expand...
Click to collapse
LOL, I think you mean "TIDBITS."
Too bad there is no reverse version of this.

[GUIDE]BlackBerry to Android Bluetooth Tether Guide (Dial-Up Networking Profile)

Blackberry DUN Bluetooth Tethering Guide
WARNING!! FOR EXPERTS ONLY! YOU'VE BEEN WARNED! THIS IS NOT A SIMPLE CLICK AND DONE. IT MAY FRUSTRATE YOU!
This may or may not work for you, don't be surprised if it doesn't. Also Tethering may or may not be supported by your carrier. Data Plan recommended! @@
Your Mobile carrier may charge tethering fees, Continue at your own risk!
I suggest you read the whole thing before you action, and also please bare with my english, as it is my 3rd language.
Tether via Terminal: (Thanks lophyte for this great guide)
http://forum.cyanogenmod.com/topic/...-gtab-to-your-blackberry-phone-via-bluetooth/
I did not develop any apps or any scripts of any kind.
This was all done with some extensive research and alot of Trial and Error.
But with the little information I found out there, I was able to find some pretty interesting things.
I found this app called Q5 DUN, which was designed for an Old Internet Tablet called the SmartQ5 and ran Android 1.5.....
Therefore support is very limited, and there was only 2 updates back in 2009.
Also, I will be quoting guides out there, but I will properly credit the author for their efforts & findings. (Mostly lophyte )
Also would like to Thank RimDroid helping me with the research.
Click to expand...
Click to collapse
What you need:
-ALOT OF PATIENCE!
- Rooted Android Tablet ( I'm using a HP TouchPad )
- Android 2.3.7 (Reported by nihjar that it works on ICS!!)
- Blackberry Mobile Device with DUN Profile. ( I'm using BB Bold 9700 with OS 6 installed ) *Other Mobile's may work, need further testing*
- Terminal app
- Root Explorer app
- Super User app
- Q5 Bluetooth Dial Up Network app by wsoft2002
- Berry4All Scripts
- Chat Binary compiled by lophyte (Originally compiled for GTab, but works on my HP Touchpad) or you can compile one, link in lophyte's guide. **NOTE**(Reported by nihjar that it works on ICS!!)
Currently there are two ways to tether BT:
Option 1: Using the Q5 Bluetooth Dial Up Network app and modifying the Build.prop <-- Easiest Method, but buggy! But once configured, works perfectly!
Option 2: Running terminal commands <-- Connecting Manually thru Linux commands.
We will be installing both options in this guide.
Click to expand...
Click to collapse
- Make sure DUN is enabled on your BB ( Search google for guides on this )
Step 1: Download and Install on Android
-Install Root Explorer (if you don't have it already)
-Install Terminal (if you don't have it already)
-Install Q5 DUN http://android.gval.biz/
Step 2: Download the following on your PC
Berry4All Scripts Here
Chat Binary compiled by lophyte to Tether with Gtab Link to his Guide Here
File
lophyte said:
Download the berry4all package and find the config for your provider.
Berry4all is a Linux bluetooth tethering package that contains various pppd configurations for mobile providers. If your provider is not available in this package, you'll need to Google around for a proper pppd config and chatscript to allow you to tether to your blackberry or other mobile phone.
Click to expand...
Click to collapse
-Create a new folder which you will be placing the following files to better manage them.
-Copy the Chat binary file into the new folder.
-Extract bbtether and find the 2 files in /conf/ that corresponds to your mobile network, and copy those 2 files into the new folder. In this guide I will be using Rogers as an example. In this case, rogers & rogers-chat
lophyte said:
Modify the configurations
I haven't looked at the configs for the other providers, but the Rogers config needed a little bit of modification. The following line in my ppp peer config file needed to be changed:
Click to expand...
Click to collapse
Step 3:Modify the configurations
-Open rogers in a text editor ( I recommend Notepad ++)
-Find the line
connect "/usr/sbin/chat -f conf/rogers-chat
Click to expand...
Click to collapse
& change this line to:
connect "/system/bin/chat -f /etc/ppp/chatscripts/rogers-chat"
Click to expand...
Click to collapse
*NOTE* Edit the rogers-chat to which ever mobile provider you are using
-Find the line with 'novj' and place a # in front of it. Or Delete it, which ever is fine.
Your File should look like this:
# Tested by Max Taranukha
115200
noipdefault
defaultroute
#nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
nopcomp
noaccomp
pap-timeout 20
pap-restart 20
lcp-restart 10
#noauth
crtscts
usepeerdns
nomagic
noccp
#novj
user wapuser
password wap
name wapuser
#debug debug debug
# does not exist in all pppd versions (osx)
#replacedefaultroute
connect "/system/bin/chat -f /etc/ppp/chatscripts/rogers-chat"
Click to expand...
Click to collapse
**NOTE** Change UserName & Password that matches your APN settings.**
-Save and Exit.
Step 4:Now its time to copy these files to our Routed Android Devices.
-You will need to use Root Explorer to copy these files to your device, or Adb Push. ( Lookup the forums for on how to )
-Copy chat binary into /system/bin/ overwrite if prompt.
-Copy your mobile config files into these folders respectively.
a) rogers-chat -> /etc/ppp/peers (create this folders if it doesn't exist)
b) rogers -> /etc/ppp/chatscripts (create this folder if it doesn't exist}
-Reboot Device
-Once rebooted, you will need to pair your mobile device to your android device. Delete the profiles if it already exist, & pair again. (BT is buggy)
-Keep Bluetooth On.
Now here comes the most frustrating part... connecting!
Step 5:Configuring Q5 DUN
The best and easiest way to find you DUN MAC and Channel is using Q5 IMO,
but you can also use Linux commands. ( Terminal Tether guide above )
-Make sure you turn on BT, as this app does not toggle the BT on.
-Use this guide by wsoft2002 to configure Q5http://android.gval.biz/Q5_Bluetooth_DUN_installations.php
-In the Dial-Up Script, this is where the rogers-chat come into play.
-Open rogers-chat (your provider) file in Text Editor via Root Explorer.
-Select all Text and Copy in the the Dial-Up Script.
Your Dial-Up should look like this:
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
SAY 'Starting GPRS connect script\n'
'' 'BBT_OS'
'' 'ATZ'
SAY 'Setting APN\n'
OK 'AT+CGDCONT=1,"IP","internet.com"'
ABORT 'NO CARRIER'
SAY 'Dialing...\n'
OK 'ATD*99#'
CONNECT
# Without ~p it does NOT continue passed Connect !!
~p
Click to expand...
Click to collapse
*Note the "internet.com", this is where you put your mobile APN. ( Google search if your mobile is not in the bbtether folder ) or settings on your phone.
**Note that the 'ATD*99#' will differ depending on the carrier. You can try 'ATD*99***1#' if that doesn't work, (try to google 'your carrier' ATD)
***Thanks to Nijhar he found out that on Telus Network, ~p causes connection issues in Q5, so this may vary for you. (Trial and Error!)
****NEW**** Found * Another way to find you isp APN settings, using Blackberry Desktop Software, and plugging in the mobile device, you can browse all authorized BB carriers.
-Save Configuration & Hit connect to Test it out.
Allow the connection and checkmark 'Do not show again'
If you get 'PPP Connection is UP!' GREAT! Skip to Step 7.
-If you get 'PPP Failed to connect' then obviously it didn't work.
Now there are a few factors that causes PPP failed to connect.
a) Q5 not setup properly, I suggest you double check your settings.
b) Pairing problems, or Trust permissions. Re-Pairing might fix it.
c) Remove or Add ~p from the chat script.
d) Reboot both devices and try again.
e) Tether is not supported by your carrier.
f) Make sure Dial-Up Networking Service is enabled on your phone. in Bluetooth connections>paired devices>Touchpad (May vary depending on BB OS)
Step 6:Testing BT connection in Terminal
Q5 might not work for you, so Terminal will be your next Option.
-Open Terminal and type 'su' for super user rights.
-type the following '# rfcomm bind /dev/rfcomm0 <bluetooth MAC> <channel>'
-then type 'pppd /dev/rfcomm0 call rogers' <- change 'rogers' to your carrier.
-Look at your Blackberry 'Modem Mode Enabled' should appear if it connects.
-If it does not connect, please revise the guide and make sure you have done everything exactly up till now.
-'# killall pppd ' to end the connection
Step 7:Configuring DNS to Google's DNS or of your choise
-In Terminal
-Type 'su'
-Then 'setprop net.dns1 8.8.8.8'
-Next 'setprop net.dns2 8.8.4.4'
*You can put as much as dns4 if you like, but Google's DNS should work fine**
Step 8:Testing Internet Connection
-Browsing
-Youtube
-Facebook
-Apps & Games (Trial & Error)
Step 9:Modifying the build.prop to eliminate setprop net.dns on reboot.
-Add net.dns1=8.8.8.8 & net.dns2=8.8.4.4
Working:
-Browsing the Web
-Streaming Video/Music
-Downloading Files using Opera Browser(Perfect), or xwind downloader app(Not perfect, but will work with any browser). Or use share link to Opera browser to DL using 'Choose Browser app found on the Market' -NEW-
-GO Launcher EX works great! Weather widget, facebook, e-mail etc all works! <~ If you want a fully functional homescreens,widgets etc
-Rogers,Telus & Bell Networks
Not Working:
-Android Market (Browse-able, but can't download anything)
-Google Currents
-Kindle App ( can log-in, but can't browse new books )
-Weather Apps ( News & Weather Works tho )
-Games
-Essentially any apps that cannot detect BT as Internet Source. Unlike most apps keeps trying to connect regardless of the 'available network'.
Support:
And if all fails, you may post below, and tell me your problems.
-Please provide the following info:
a) Mobile model & OS version
b) Tablet model & OS version
c) Carrier
d) Brief Description of the problem.
Please do not complain if it does not work for your device. We're simply trying to help the Android community by giving them support on unsupported devices.
UPDATED 22/12/2011:
Brut.all said:
And you will have problems with Android Market and some other apps. Internet is configured at linux level, Android OS don't know about it, so if application asks: "Do we have internet connection?", Android replies: "No". Android Market will wait for connection even if there is one.
Click to expand...
Click to collapse
I guess there's no workaround? Can someone with some DUN or PAN knowledge, shed some light on us?
WIP:
-Add Other Carriers ( Fido, etc?) (Feedback needed from the community)
Credit goes to:
lophyte for this Terminal Tethering guide & Chat Binary.
http://forum.cyanogenmod.com/topic/37078-how-to-tether-your-gtab-to-your-blackberry-phone-via-bluetooth/
berry4all for the chat scripts. http://www.berry4all.com/
wsoft2002 for his Q5 DUN program. http://android.gval.biz/
Max Taranukha who's name is on the script.
Brut.all for his finding on why Market doesn't work.
RimDroid for helping with the research, and helping me understanding a little bit more about Linux Dial-Up Networking.
nijhar for testing and helping this project out.
Thank you all for the support.
Click to expand...
Click to collapse
I hope our community keeps growing and more new devices are supported as days passes by.
Merry X-Mas everybody!
Vampirexhunter
Please post a reply if this worked or failed for you.
Most appreciated.
Simply amazing!! Thank you very much. Was waiting for the ROM update on my BB that would include wireless hotspot. That hasn't happened
Running a Torch 9860 with my rooted Touchpad. Just followed your instructions. Except I did not modify the build.prop file yet. I can't believe how fast this is!
benven said:
Simply amazing!! Thank you very much. Was waiting for the ROM update on my BB that would include wireless hotspot. That hasn't happened
Running a Torch 9860 with my rooted Touchpad. Just followed your instructions. Except I did not modify the build.prop file yet. I can't believe how fast this is!
Click to expand...
Click to collapse
Awesome! Does downloading work for you? and are you using Q5 or Terminal way?
I am using Q5. I only tried the Market. And as you stated, can get there but cannot download apps. As soon as I shut down Q5 and started up wifi, the apps downloaded. I am going to try Google Maps and Navigation to see if they work.
One question...does it matter where you put the net.dns1=8.8.8.8 & net.dns2=8.8.4.4 line in build.prop?
Thanks again and Merry Christmas!
benven said:
I am using Q5. I only tried the Market. And as you stated, can get there but cannot download apps. As soon as I shut down Q5 and started up wifi, the apps downloaded. I am going to try Google Maps and Navigation to see if they work.
One question...does it matter where you put the net.dns1=8.8.8.8 & net.dns2=8.8.4.4 line in build.prop?
Thanks again and Merry Christmas!
Click to expand...
Click to collapse
anywhere works.
New Discovery:
Q5 DUN does not require the ppp files (rogers + rogers-chat)
It only requires the chat binary file /system/bin
So if you are not using the terminal way, you can safely delete those files without affecting Q5.
New Discovery 2:
Stock browser,Firefox Beta & Dolphin HD - all three can't download... lol
But...Using Opera Browser, I was able to download files!! Yay! I'm assuming this app does not rely on 'Connectivity Manager'. I'm so happy, as this is the only browser that worked out of 4!
New Findings! Check it Out!
Simply amazing!! 关注中!
Nice Guide Vamp.
Couldn't have done it better myself!
Tried the Amazon Silk Browser
This Browser rocks in terms of browsing speeds!!
Can't download with this browser.. bummer..
New Finding!
I found a Download manager that works with BT.
Xwind Downloader by JasonWong.
By using this DL manager, I can use any browser I want to browse, and use this manager to download!
Hello, I have a question. When you pair you BB to HP Touchpad, does your Bluetooth say paired but not connected? Is that ok, or do I need to fix it somehow for the Tethering to work? So far I'm not able to tether, so I was wondering if that was the problem.
Some info:
Hp Touchpad running cyanogenmod 7
Blackberry Torch 9800 with Rogers and data plan.
Thank you.
kryal said:
Hello, I have a question. When you pair you BB to HP Touchpad, does your Bluetooth say paired but not connected? Is that ok, or do I need to fix it somehow for the Tethering to work? So far I'm not able to tether, so I was wondering if that was the problem.
Some info:
Hp Touchpad running cyanogenmod 7
Blackberry Torch 9800 with Rogers and data plan.
Thank you.
Click to expand...
Click to collapse
Hi Kryal,
It's suppose to say paired but not connected, that's normal.
All I can say is follow my instructions very carefully.
Which method are you using? Terminal or Q5?
Also make sure Dial-Up Networking Service is enabled on your phone. in Bluetooth connections>paired devices>Touchpad
vampirexhunter said:
Hi Kryal,
It's suppose to say paired but not connected, that's normal.
All I can say is follow my instructions very carefully.
Which method are you using? Terminal or Q5?
Also make sure Dial-Up Networking Service is enabled on your phone. in Bluetooth connections>paired devices>Touchpad
Click to expand...
Click to collapse
Never mind I fixed it by following the guide closely YOU ARE THE BEST. Donated, you deserve it.
kryal said:
Never mind I fixed it by following the guide closely YOU ARE THE BEST. where do I donate to you guys?
Click to expand...
Click to collapse
Awesome! Glad it worked out for you.. Donate? lol Thanks, but no need.. Free! I did not developed any software, and it was mostly used information out on the net that I slapped together
Even Netflix works on this!!! The video is a bit choppy but I'm very surprised anyways.
kryal said:
Even Netflix works on this!!! The video is a bit choppy but I'm very surprised anyways.
Click to expand...
Click to collapse
Yea, I've been trying to speed up the connection, but very unsuccesful.. it seems to cap at ~1mbps.. and on usb i can get about 2.5mbps (Tether to PC)
Also Rogers network is slow.
cm7 3.5
Hi there, I need some help please, is my chatscripts or peers wrong??
Operator: Singtel
Country: Singapore
APN: internet
user:65ideas
password: <no password>
Blackberry bold 9650 OS 6(latest)
cm7 alpha 3.5
Code:
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
ABORT "NO DIALTONE"
ABORT VOICE
ABORT RINGING
SAY 'Starting GPRS connect script\n'
'' 'BBT_OS'
OK 'ATZ'
OK 'AT+CGDCONT=1,"IP","internet"'
ABORT 'NO CARRIER'
SAY 'Dialing...'
OK 'ATD*99#'
CONNECT
Code:
# Tested by Max Taranukha
115200
noipdefault
defaultroute
#nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
nopcomp
noaccomp
pap-timeout 20
pap-restart 20
lcp-restart 10
#noauth
crtscts
usepeerdns
nomagic
noccp
#novj
user "65ideas"
password ""
name Internet
#debug debug debug
# does not exist in all pppd versions (osx)
#replacedefaultroute
connect "/system/bin/chat -f /etc/ppp/chatscripts/singtel-chat"
tried with ~p or without ~p
Tried
user 65ideas
password ""
user 65ideas
password
jinnyroxs said:
Hi there, I need some help please, is my chatscripts or peers wrong??
Operator: Singtel
Country: Singapore
APN: internet
user:65ideas
password: <no password>
Blackberry bold 9650 OS 6(latest)
cm7 alpha 3.5
Code:
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
ABORT "NO DIALTONE"
ABORT VOICE
ABORT RINGING
SAY 'Starting GPRS connect script\n'
'' 'BBT_OS'
OK 'ATZ'
OK 'AT+CGDCONT=1,"IP","internet"'
ABORT 'NO CARRIER'
SAY 'Dialing...'
OK 'ATD*99#'
CONNECT
Code:
# Tested by Max Taranukha
115200
noipdefault
defaultroute
#nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
nopcomp
noaccomp
pap-timeout 20
pap-restart 20
lcp-restart 10
#noauth
crtscts
usepeerdns
nomagic
noccp
#novj
user "65ideas"
password ""
name Internet
#debug debug debug
# does not exist in all pppd versions (osx)
#replacedefaultroute
connect "/system/bin/chat -f /etc/ppp/chatscripts/singtel-chat"
tried with ~p or without ~p
Tried
user 65ideas
password ""
user 65ideas
password
Click to expand...
Click to collapse
This setting might differ from carrier: 'ATD*99#'
This is the modem command to connect for Rogers.. you will have to find out which one works for you.
Try this one: 'ATD*99***1#'
If that doesn't work, you will need to test on your own, as I am only able to test Canadian carriers.
You can find other ATD commands online, if this one doesn't work.

How to use openvpn with android

I was a bit confused about how to use OpenVPN on an Android device because there was so little information around. I thought I'd post this to make it easy for others. It turn out to be very simple. I have my Android phone (Note 2, Jellybean) rooted and Busybox installed, but neither is necessary.
The following steps relate to using an Android device with a commercial vpn service (like an anonymizing service among others), but this should help clarify in other situations too.
Step 1: download the OpenVPN config files from your vpn provider.
Step 2: download, install and start "OpenVPN for Android by Arne Schwabe" (O4A) (get it from any android app source, it's free, but donation to the author is optional and its a great app).
Step 3: on the "VPN Profiles" page of O4A, use the folder icon upper right to browse to the .ovpn config file for a server, select, and save it on the following page. The server name will appear on the Profiles page.
Note: Sometimes the server config files include a .p12 file which O4A will want to import, then require a password to decrypt...just uncheck that file (upper left) before saving; later O4A will ask for a password, just leave it blank and hit "OK", it will connect just fine (at least with my vpn provider).
Step 4: open the settings for the server you just imported (icon to the right of the server name), navigate to the "Basic" page, and enter your username and password at the bottom of the page (if your provider uses the u/p type connection). YOU ARE DONE (but, you will need to repeat this for each server you want to use).
Step 5: tap on the server name on the "Profiles" page, O4A will open the log file and you will see it going through the steps of the connection process in both the log and the notification bar . When it's finished successfully, you'll see "connected". You can check the connection in the log file. Also depending on your device the connection will show in the notification bar for as long as its connected. You can disconnect by tapping the notification.
The correct configuration settings for OpenVPN are usually included in the .ovpn file, so you likely won't need to change any config setting in O4A. However, you can add the line "auth-nocache" to the .ovpn file manually or add it on the O4A page "Advanced -> Custom Options". This will prevent the username/password from being cached if that's important to you.
NOTE: Using dnsleaktest.com I have noticed that google dsn servers appear sometimes as a dns server. This might represent a dns leak as there would seem to be no reason, for example, for a European located server to use a U.S. located google dns server. I'm not clear about why the google servers are showing up, maybe someone can verify/clarify.
However, you can force a dns server of your choosing by going to the "IP and DNS" page of the server config settings in O4A, and select "Override DNS Setting by Server". You can then use the default dns servers chosen by the author or enter your own.
Enjoy!
@@
Meditating_Apes said:
I was a bit confused about how to use OpenVPN on an Android device because there was so little information around. I thought I'd post this to make it easy for others. It turn out to be very simple. I have my Android phone (Note 2, Jellybean) rooted and Busybox installed, but neither is necessary.
The following steps relate to using an Android device with a commercial vpn service (like an anonymizing service among others), but this should help clarify in other situations too.
Step 1: download the OpenVPN config files from your vpn provider.
Step 2: download, install and start "OpenVPN for Android by Arne Schwabe" (O4A) (get it from any android app source, it's free, but donation to the author is optional and its a great app).
Step 3: on the "VPN Profiles" page of O4A, use the folder icon upper right to browse to the .ovpn config file for a server, select, and save it on the following page. The server name will appear on the Profiles page.
Note: Sometimes the server config files include a .p12 file which O4A will want to import, then require a password to decrypt...just uncheck that file (upper left) before saving; later O4A will ask for a password, just leave it blank and hit "OK", it will connect just fine (at least with my vpn provider).
Step 4: open the settings for the server you just imported (icon to the right of the server name), navigate to the "Basic" page, and enter your username and password at the bottom of the page (if your provider uses the u/p type connection). YOU ARE DONE (but, you will need to repeat this for each server you want to use).
Step 5: tap on the server name on the "Profiles" page, O4A will open the log file and you will see it going through the steps of the connection process in both the log and the notification bar . When it's finished successfully, you'll see "connected". You can check the connection in the log file. Also depending on your device the connection will show in the notification bar for as long as its connected. You can disconnect by tapping the notification.
The correct configuration settings for OpenVPN are usually included in the .ovpn file, so you likely won't need to change any config setting in O4A. However, you can add the line "auth-nocache" to the .ovpn file manually or add it on the O4A page "Advanced -> Custom Options". This will prevent the username/password from being cached if that's important to you.
NOTE: Using dnsleaktest.com I have noticed that google dsn servers appear sometimes as a dns server. This might represent a dns leak as there would seem to be no reason, for example, for a European located server to use a U.S. located google dns server. I'm not clear about why the google servers are showing up, maybe someone can verify/clarify.
However, you can force a dns server of your choosing by going to the "IP and DNS" page of the server config settings in O4A, and select "Override DNS Setting by Server". You can then use the default dns servers chosen by the author or enter your own.
Enjoy!
Click to expand...
Click to collapse
I'll try . . . . thanks
Thank you for the detailed instructions, but I think that apps like the Open VPN Connect and Totally Free VPN are more convenient. They are free and use the free servers.
How do we save battery? App drains a lot using all day

A simple library that lets you control your Raspberry Pi from the web

Hey guys, I wrote a simple library that lets you control your Raspberry Pi. It wraps popular I/O libraries like RPi.GPIO so you can use them server-side and has an easy way to build user interfaces. More information can be found here.
A full tutorial
Server side source
Client side source
Control your rpi over nat via http
The hopmsg.com allows you the make a free message channel by creating a random key for free (no registration,login,etc) which can be used to get status / send command to your rpi:
1, Simplest way to Send/Receive message from any kind of OS/browser/platform just by clicking on a link, only need to know the ID of your msg!
Example: set your message by opening a link : hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=message
get your message from any device by opening: hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY
or use the Android App to get/set it.
2, Control your device inside Nat/Lan
Example: set your command by opening a link : hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=command
get your command from any device by opening: hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY
or use the Android App to get/set it.
3, Basic monitoring system
Bash script checking uptime:
UP=`uptime | sed -e 's/ /_/g'`; curl "hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=`echo ${UP}`"
and use the Android App or a browser to check the status of the device.
4, Get your IP address, the message source, poor man's dyndns
If you set some values, with src=1 parameter your IP and the UTC time also added to your message
Example:
hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY&value=VALUE&src=1
wget -qO- hopmsg.com/ctl.php?id=YOUR_UNIQUE_KEY > result.txt
to use with some script.
Re
on hopmsg.com now embedded keys can be used to create complex message or status report like:
ROOTKEY="My IOT dev. overview: uptime:|MY_UPTIME_KEY|, freespace:|MY_FREESPACE_KEY| end."
each key can be updated separately with https
a little bit like the pi html5 dashboard maybe ?

Categories

Resources