[Q] VPN Connections - Nexus S Q&A, Help & Troubleshooting

Anyone able to get the VPN Connections app working? I have tried 3 or 4 kernels with tun support and it still just FC's when you try to connect. I had it working on my previous 3 Android phones so didn't know if anyone had any magic to get it to connect on the Nexus S.

in case anyone else uses this app and has bee having trouble, I got it to work using Netarchy's 1.2.3 kernel. Have to run the command:
Code:
insmod /system/modules/tun.ko
i made a gscript for it so i can run it before launching VPN Connections if i've rebooted since the last time that i used it.

Related

[Q] Bluetooth: "Paired, but not connected"

I have installed pdanet on my BB9000 and have paired it with my gTablet but the tablet says "paired, but not connected." The goal is to share the data plan from the BB with the gTablet when Wi-Fi is not available.
Most of the solutions I have read are PC based (going into screens and settings I do not see on the tablet) or Android based (where the Android device is the phone with data access).
Is there an app that can install on the gTablet that allows for the pair to connect? Has anyone gotten the pairing to work with a Blackberry?
Sounds Familiar
That is the same thing I am trying to do, except my phone is a Samsung Jack (WM 6.5). I can tether my laptop so I know the phone will do it. Has anyone convinced the Tab to do this? I am using Vegan 5.1.1 with Clemsyn's latest kernel.
I hope this is still on subject:
I long to see the day when I can get a bluetooth keyboard to work. Any bluetooth keyboard.
The furthest I get is "Paired but not connected"
gTablet
TNT Lite v4.2.5
Same issue with 3g Slide and 2.1
Pairs just fine, but will not connect. Using PDAnet on the phone. Anyone know a work around? Other than rooting the phone that is? Not sure I am up for that challenge yet. I have TnT Lite 4.2.4 on my tab.
Ok. I had been chasing this for a while for a different reason. I use my Tab as GPS in the truck. Use either ShareGPS (to my DroidX) or an external BT GPS. I then use WiFI tethering to the DroidX for Data. This works fine except for when I get a call (I use a BT headset), the call is very very scratchy for a couple of minutes (interference between the wifi and the BT).
I wanted to use BT for data to eliminate the static on my headset when a call comes in.
I had all but given up on it, but today I ran across this post:
http://forum.xda-developers.com/showpost.php?p=8236341&postcount=16
I followed his directs of setting up a Gscript script and it works!
Now, for some reason 'Wifi Tethering for Root' will not do BT tethering on my Droid X (will probably work fine for other phones) but PDANet does!
I can now share my GPS signal and Data Signal from my DroidX to the G-Tab and not have any interference on my BT headset when I get a call (yes the data connection drops while on call, but that's a CDMA issue).
I've been trying to get this to connect with my Blackberry since November, and have had no luck at all. I've kind of resigned myself to the fact that it's just not possible with a Blakberry running BOS 5.X.
I do not believe any of the kernels / any of the ROMs support DUN on bluetooth. Which is the primary reason for not connecting. I believe the current crop of kernels / ROMs only support audio, and gps out of the box for Bluetooth , I believe i read in the accessories sub forum that with some app mini bluetooth keyboard is working.
manikin13 said:
I do not believe any of the kernels / any of the ROMs support DUN on bluetooth. Which is the primary reason for not connecting. I believe the current crop of kernels / ROMs only support audio, and gps out of the box for Bluetooth , I believe i read in the accessories sub forum that with some app mini bluetooth keyboard is working.
Click to expand...
Click to collapse
Please go read the instructions in the link i posted.
I have this working. I am doing bt dun throughvmy Dx
Im on tnt life 4.2.5
paired but not connected
If your BB is from AT&T they have the option turned off you need to tether your gtabelt to the BB.
If you do not have an AT&T BB you need to make a change to the config file on your blackberry desk top manager to activate it.
which code (and where)?
Z-B,
Which set of code did you use from your link, the first one or the second? Also, where do you insert the code?
I am on AT&T, but have already enabled USB tethering for my laptop so my issue should be isolated to the gTablet.
Ok, Here is what I did on mine:
On Phone:
Download PDANet and enable Bluetooth DUN (This should work with Wifi Tether for Root - But doesn't with my DX)
Pair G-Tab and Phone (I did the pairing from the G-Tab)
Download Gscript Lite.
Create a new script (Call it Bt Tether) - I does need SU access (there is a check box for this)
Put this in the script:
Code:
pand --connect <remote BT device hex address>
ifconfig bnep0 down
dhcpcd bnep0
setprop net.dns1 8.8.8.8
Don't know where to find BT HEX address on BB.
Note that this sets your route/connection at the underlying linux level. Android might still think you do not have a connection. I noticed this on a few apps (Voice Search was broken) I was able to browse the web & use Google Nav this way
Zaphod-Beeblebrox said:
Please go read the instructions in the link i posted.
I have this working. I am doing bt dun throughvmy Dx
Im on tnt life 4.2.5
Click to expand...
Click to collapse
Not sure but I believe we are saying thing. but that maybe my problem as I never did understand Zaphod!
GPS data, and Audio work, however true data (PAN - personal area network) does not work as far as I have found.
It does if you follow the above steps.
I just tried, followed the instructions, tracked down the bt address of my phone, put it in the script, turned off wifi on the tab, enabled the bt dun on the phone then -- nothing. The script returned the error "stderr: error:SIOCGIFFLAGS (no such device)". What did I do wrong?
Which rom are you on?
Vegan 5.1.1 with Clemsyn's latest kernel.
I am on TNT lite. It is possible that there is a system difference here, but unlikely.
While trying to diagnose this, I used Terminal emulator (or ADB Shell) and entered the commands from the script one at a time.
That should help you figure out which command is failing and we can look into why
Iterrors out at the "ifconfig bnep0 down command"
michaeljwestii said:
Iterrors out at the "ifconfig bnep0 down command"
Click to expand...
Click to collapse
I don't know much about the different Kernels. Its quite possible that some of the networking changes in Clemsyn's kernel changes the name of the BT adapter? Maybe it alters BT in other ways? I would suggest asking in his kernel thread.
Thanks I'll do that.

[Q] SSH Droid used on a rooted DHD does not work anymore

Hello there!
Thanks to the many useful threads on this forum, I successfully rooted my Desire HD and implemented ad-hoc Wi-Fi support (in order to control my AR-Drone).
Everything went well so far, since I can connect to "non ad-hoc" networks as well as ad-hoc ones.
But I find myself stuck with a problem which I do not know where to start to try and solve it.
See, I think this has to do with the wpa_supplicant (and not wpa_supplicant.conf) file I modified using >this one<, which is the one that allowed me to detect ad-hoc networks.
I used the recent one (the "-v2" file in the thread) and since ad-hoc works fine now, I assume it has been successfully placed into the /system/bin directory.
The problem is, before this manipulation I could SSH my DHD using the very useful SSHDroid, but now, I just can't connect to my phone using SSH anymore, and I do not get why since I can connect from my phone to the Internet using my home's Wi-Fi network, and SSHDroid does not monitor anything wrong and seems to be correctly launching.
I tried uninstalling and reinstalling SSHDroid but the result is the same.
Where should I start to investigate?
Thanks a lot!

[Q] Fix 3.2 Bluetooth-Tether issue?

Hi!
Since Honeycomb 3.2 there is an issue with bluetooth tethering. The first time it works, but after disconnecting you won't be able to reconnect until you have rebooted the Xoom!
That's absolutely annoying... And I think at least for root-users (like me) there should be another way.
I couldn't find any fix on the internet. But I think it should be possible to maybe reload the bluetooth kernel module or something. Maybe it's mobule bcm4329? Does anyone know how to do that (modprobe doesn't work).
Or are there any other ideas?
Greetz
McDV
McDV said:
Hi!
Since Honeycomb 3.2 there is an issue with bluetooth tethering. The first time it works, but after disconnecting you won't be able to reconnect until you have rebooted the Xoom!
That's absolutely annoying... And I think at least for root-users (like me) there should be another way.
I couldn't find any fix on the internet. But I think it should be possible to maybe reload the bluetooth kernel module or something. Maybe it's mobule bcm4329? Does anyone know how to do that (modprobe doesn't work).
Or are there any other ideas?
Greetz
McDV
Click to expand...
Click to collapse
My bluetooth connection wasnt reliable with bluetooth tethering either. I found though that when i did tether id only use the connection for like 30 minutes at most. If thats the case you should update to the latest version of wifi tethering from google v3.1 beta. Because when you tether wifi with that it tethers in infrastructure mode instead of ad-hoc that way your xoom can see it and connect with no problem. its completely reliable for me. And works flawlessly. ive had countless issues using bluetooth (Almost never was able to connect to network. only able to be paired)
if you do go that route. After connecting your xoom, make sure you have access control checked and that your device is in the list and enabled in wifi tethering then save.
Generally WiFi-Tether is no problem. I'm accessing the internet through my HTC with CM7 and Gingerbread offers WiFi-Hotspot by stock. But the point is, that this really drains your phone's battery if you just leave it connected.
Using Bluetooth-Tethering with the root-app Wireless Tether installed on my phone, the battery lasts much longer. Of course the connection is slower, but for mails etc. that doesn't matter. With Honeycomb 3.1 it worked great, but since 3.2 it simply won't reconnect until you reboot... You can even unpair and repair the devices etc., it doesn't help. After rebooting the Xoom it connect like a charm...
I think there has to be a way to just restart the bluetooth-module or something... But I don't know how.
Hey guys,
is there no one out there, who can help? If you search the internet, you find a lot of people, who are having this problem - no one even has a workaround.
The fact is, during reboot all the services and kernel-modules are reloaded (of course). So if s.o. could just say which service/module is responsible for bluetooth-tethering and how to restart/reload it without a reboot, this could already be very helpful!
I have an idea!
OK, I'm a little stuck, but I've got new information.
Obviously it's a DHCP-issue. Seems like the DHCP-client on the Xoom doesn't pick up a new IP anymore... If you type netcfg in a terminal emulator, you'll find that.
With su dhcpcd you often can push it get an IP! Then, after that, you sometimes can connect several times without problems, but connecting to WiFi again can be problematic...
Any ideas? Is there another way to make the dhcp-client get an IP?
My idea is to set up a static IP for that interface bnep0, but I can't find the proper config-file... Can someone tell me how to set up a static IP only for that single interface?
i am running wireless tether 2.08 which has Bluetooth wifi built in and I also have the same issues. Hopefully someone will come up with a fix for this. I kind of prefer running my Evo with Bluetooth than wifi since it does not run hot
No one has found a fix, yet?

[Q] OpenVPN on HTC Thunderbolt Issue

Ok. I am no newb to tinkering with the inner workings of an android device. I have also worked with VPN before too. However Android and OpenVPN have me stumped. My old router (Linksys WRT54G) worked fine with a standard VPN set up in Windows XP, and the Android device (both my old Motorola Droid and current HTC Thunderbolt) connected right up no problem. However, My new router (Linksys WRVS4400N) is terrible when it comes to VPN, and the dang thing has a built VPN application supporting IPSec. I failed passing everything through to the standard windows VPN and I failed trying to use VPNC along with a supported tun.ko file. I now have attempted OpenVPN. I am new to OpenVPN (installed on Server 2003) and took from multiple online sources to configure it all.
That was the back story, sorry for it, but I thought it was necessary to explain my situation. Now for the issue. I have successfully connected to my OpenVPN server using the following:
- OpenVPN Installer Version 0.2.3
- OpenVPN Settings Version 0.4.7
- HTC Thunderbolt supported tun.ko
- - Running insmod /system/lib/modules/tun.ko from terminal emulator using su level permissions
- OpenVPN generated config files
The issue:
- OpenVPN Settings connects to my server and displays the following: "Connected to XX.X.XXX.XXX as"
- I am new to this, but I would imagine it should give me a IP address regestered on my network.
The question:
- Is this an issue with the way OpenVPN is configured on my server or is this an issue with my phone and the way its configured to connect to OpenVPN? Anyone ever encounter this? What are steps I can take from here?
** Please note: If this thread has been placed in the wrong forum, please advise where it should be started and I will do so accordingly. Thank you.

Stock ROM - VPN Issues

I am able to get a successful VPN connecting using openvpn as well as l2tp. However, after about 5mins of being connected I end up being disconnected. Surely, it is not my provider as I can do use it both PC and other android phones running AOSP. This leads me to believe it is a sense issue. Has anyone else experienced this?
Using Private Internet Access. No issues on this end.

Categories

Resources