[Q] VPNC issue on Streak - Streak 5 Q&A, Help & Troubleshooting

I installed 1.6.1 on my Streak. tun.ko now comes with it and I can actually use insmod to register/test it. But VPN Client when establishing connection, just keeps trying to connect and never completes the connection.
Any help would be appreciated. Any bone is worth chasing after.
Cheers.

thasan said:
I installed 1.6.1 on my Streak. tun.ko now comes with it and I can actually use insmod to register/test it. But VPN Client when establishing connection, just keeps trying to connect and never completes the connection.
Any help would be appreciated. Any bone is worth chasing after.
Cheers.
Click to expand...
Click to collapse
Are you using the vpnc gui client? If so, you need to make sure the route and ifconfig commands are working properly at the command line. I have found that the toolbox route and ifconfig don't work correctly for this client so I remove them and then make sure I have links for busybox route and ifconfig. HTH.

thasan said:
I installed 1.6.1 on my Streak. tun.ko now comes with it and I can actually use insmod to register/test it. But VPN Client when establishing connection, just keeps trying to connect and never completes the connection.
Any help would be appreciated. Any bone is worth chasing after.
Cheers.
Click to expand...
Click to collapse
Can you Please post Questions in the Q&A Forum next time Please
Moving to Q&A

Yes, I am using VPNC gui (vpnc from code.google.com). But my prob is more elementary such as
if I run insmod /system/lib/modules/tun.ko, I get an {Error Execution}.

Resolved
For everyone's info, I got the problem solved. There is some kind of incompatibility between VPNC and Busybox 1.17.2. I had to downgrade to 1.17.1 and the problem has resolved.

Related

wifi tether on tattoo working

1) download pre8 version here:
http://code.google.com/p/android-wifi-tether/downloads/list
2) start the app the first time to create config files
3) than run:
/data/data/android.tether/bin/tether start 1
4) now open wifi tether app and check logs
Thanks! I will try it and then add it to my rom!
grande suoko !
thanks suoko
sorry, i'm newb..
what do you mean by
"run: /data/data/android.tether/bin/tether start 1" ?
kongkows said:
sorry, i'm newb..
what do you mean by
"run: /data/data/android.tether/bin/tether start 1" ?
Click to expand...
Click to collapse
there's a bug in the gui as always
you must run that command from terminal with root user
i use "better terminal emulator"
I cannot stop it and turn on wifi!!!
???
try "run: /data/data/android.tether/bin/tether stop 1"
Thank you for the method !
Tether Wifi works fine.
But I'm obliged to return the code ("/data/data/android.tether/bin/start tether 1) every time I restart my Tattoo.
It's normal?
Thank you for your help.
Sorry for my bad English, I'm french =p .
Sorry for noob question.
What is wifi tether?
Google is your friend ! =P
Wifi Tether allows use your phone as a router (modem).
Wifi Tether uses the 3G connection, and translates into wifi signal.
I don't know if it's clear, but I'm not very good in English and some words escaped me.
it's clear... i dont need this for now, but is very usable. thx.
I followed the steps but still cannot use tethering
My PC can connect to the Tattoo and get the IP from it, and that app alerted to be connected by a client, but the PC still cannot browse webpage
ww_boy6 said:
I followed the steps but still cannot use tethering
My PC can connect to the Tattoo and get the IP from it, and that app alerted to be connected by a client, but the PC still cannot browse webpage
Click to expand...
Click to collapse
Same here, I tried connecting through a netbook and a iPod Touch, both of them see and connect to the phone, but are unable to use internet.
Same problem
I am using Modaco R2. for HTC tattoo.
I installed wireless_tether_2_0-pre10.apk.
My laptop able to connect to Tattoo & give Ip address.
I tried to browse webpage... but it unable to go into internet.
BUT both, Tattoo & laptop showed that they are connected together!!!
Tattoo's access control even show my laptop's name correctly!
Using laptop command prompt, I tried to ping Default Gateway (192.169.2.100)
It showed 100% data LOST!!!.
What happen???
Download the latest apk (2.0.1), it works.
Hi Guys,
I have an HTC Tattoo and want to do wifi Tethering. My phone is not rooted yet and i cannot find instructions to do this (most of the instructions are for adding new roms). I do not want to add a new rom, i just want to tether my 3G connection by turning my phone into a wifi hub.
phiber123 said:
My phone is not rooted yet and i cannot find instructions to do this
Click to expand...
Click to collapse
Please search this forum before posting.
awesome, it's working.
Wifi Tethering start successfully, but when i try to connect to the network, Tattoo don't assign the ip to the PC and the connection failed.
Wich ip i've to use for gateway and dns? Wich subnet mask?
Thank you
I try to run without root access but not work.
Later on I root my Tatto and app start working with 1.6
Now not have WiFi card to try but when i get one i infform you about res.

Cisco AnyConnect for rooted devices on stock 2.2

In case someone wants to use it on stock 2.2 which does not come with tun.ko module,
use the one from steve's 1.9 rom and it will work like a charm.
Put tun.ko in /system/lib/modules, inmod tun.ko from a terminal and you are good to go (check with lsmod).
http://db.tt/TDEsnNt
Note, need to reload after a reboot.
Sent from my Transformer TF101 using Tapatalk
Hmm...I tried this, no problem downloading tun.ko, copying to /system/lib/modules and doing insmod, verified w/ lsmod.
But, when I run the AnyConnect client, I get:
Could not connect to server. Please verify internet connectivity and server address.
Any thoughts or ideas?
-Mark
PS This is the same error I got before I downloaded and insmoded tun.ko.
PPS Yes, I have internet connectivity, and I've double checked and triple checked the server address.
Found this post via Google search. Just realized it's in the Dell Streak forum. I'm actually on a Motorola Atrix.
Sorry about that...
-Mark

Please help me debug my OpenVPN!

Hi all, I'm trying to get OpenVPN working on my SGS2 - connecting to a WRT54G router running DD-WRT (with OpenVPN).
This is my first Android device and I previously had the same tunnel working on my Nokia N900 before I dropped it and killed the touchscreen.
So the phone is rooted using this kernel here. I've added OpenVPN Installer, OpenVPN Settings and Busybox, copied some keys and created a config file. The settings app says that it connects fine but I don't appear to have a tunnel.
Firstly, I appreciate I may need a tun.ko module seeing as I've not added one. How do i check if I've already got one?
Many thanks in advance
Solved it with the zip from this thread.
I'd read that before but hadn't realised it was going to work for me. Got nowhere with the tun module as modprobe was showing nothing. lsmod is still showing nothing even with the tunnel up and running!
At least it works!

[Q] SSHD on tab, not able to connect

Hi!
I have tried SSHDroid, QuickSSHD and also Dropbear directly from the command line with logging to STD_ERR, but I am not able to connect to my GalaxyTab 10.1. Using nmap from WinXP I see the port, but it is filtered:
PORT STATE SERVICE
22/tcp filtered ssh
Using netstat on the tab shows that the connection has begun, but it stops with syn_recv and never get established. Using DropBear with logging it seems like no traffic is passed on to the server as no new log appears at the connection moment (or later).
The problem occured after rooting the device and has been persistent even though I have changed back to stock ROM and manager. Now I am using "recovery-cwm_4.0.0.4-sam-tab-10.1.tar.md5" and "Task650&Phantom_V5_Final.zip".
Using netcat I am able to send traffic both ways on the same ports.
I would really appreciate any suggestions on how to solve this as I have I feel lost without SSH
BR,
Henrik
It works okay for me with stock rom, rooted and SSHDroid. Set the superuser to grant automatic root permissions. Launch the SSHDroid and set - require wifi and password to yes.Check the port and make sure its 22 in the SSHDroid settings. Then start the server, you should see a confirmation saying the process is listening in port 22. You would also see a prompt stating the SSHDroid has been granted SU permissions. LEt me know if this helps!
SOLVED
Thanks for suggestions mango1122! I have for sure tried all those things too many times already But I got a breakthrough today by using the Overcome ROM and kernel (see galaxytabhacks).
Using this ROM, SSHDroid worked out of the box. I have unfortunately no clue why this works, but what made me try this ROM was this comment:
"For Custom roms: Be aware, I’ve put the wifi module right in the ramdisk (which is where it is on 10.1 stock). Please move over the modules folder in /system/lib prior to flashing, if this applies to you."
BR,
Henrik
Solved...again...
Update...had to take a long break as it didn't work when I got home from work that day in Nov...it was my home router that caused the problem, I guess combined with something in the Dropbear/SSHDroid application for Android 3.0 as there is no problem using SSHDroid on my smartphone with Android 2.3.3 on the same router. I assume it has something to do with the fact that it listens on tcp6?
Using another router solved the problem.
BR,
Henrik

[Q] SSH Tunnel

I'm looking for an app that can handle SSH tunneling with RSA keys instead of a simple password.
It should work like "SSH Tunnel" or "ProxyDroid" (I need to encrypt my internet traffic when using public wi-fi) but with RSA autentication.
Any suggestion?
Thanks
Try connect Bot
morph1us said:
Try connect Bot
Click to expand...
Click to collapse
Can't figure out how to bypass all my internet traffic trought SSH (like I can do with ProxyDroid). Is there a command to use or a special configuration? I can't find anything in the options.
Ok, I managed to use port-forwarding on connect-bot and use ProxyDoroid, as described here.
The problem is that it works only for a few seconds (I suspect it stops working after I successfully connected to the first website I want to visit).
Any suggestion?
zudrev said:
Ok, I managed to use port-forwarding on connect-bot and use ProxyDoroid, as described here.
The problem is that it works only for a few seconds (I suspect it stops working after I successfully connected to the first website I want to visit).
Any suggestion?
Click to expand...
Click to collapse
After long research I found out there was a bug in my SSH server. Now the problem is solved.

Categories

Resources