VPN and VPNC with error message, tun.ko problem? - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Hi.
I am trying to get a VPN connection at my University.
Unfortunately, the normal VPN does not connect nor the VPNC on this website:
http://code.google.com/p/get-a-robot-vpnc/
I installed the app, but no connection is possible although the settings should be correct.
I found the tun.ko which is for tunneling in Froyo I believe.
But how do i install this?
insmod does deliver an error message:
"error inserting tun.ko: -1 Invalid module format"

I'm new to Android, but I've been trying to get OpenVPN working on my new Bionic, which also requires tun.ko. From what I've found so far, you have to have a tun.ko built for the version of the Android kernel you are using, so you can't just take any tun.ko you find and get it to work. It also looks like tun.ko is often compiled with many non stock Android builds, such as Cyanogen. I'm stuck waiting, but depending on what Android build you have, you may be able to find the right one.

android vpn
you need to fix gateway address or server address if you dont have config details then ask for it or need tutorial is here http://purevpn.com/vpn-service/android-vpn.php

Related

Any 2.1 rom can support iprables?? for droidwall

hi, anyone know got which rom can support iptables? bcos i wan use droidwall , can some one help?
nini8888 said:
hi, anyone know got which rom can support iptables? bcos i wan use droidwall , can some one help?
Click to expand...
Click to collapse
last i read, its kernel related and cant be supported till the bootloader is cracked which will allow the dev's to load a custom kernel.
Yes they can be complied as kernel modules. The issue you have is not iptables but netfilter being loaded and configured. I've noticed the need as anyone who has installed Titanium backup has. Bin4ry is the kernel commando here.. maybe ask him for a custom kernel and buy him a case of beer
Sent from my X10a using XDA App
I'd love to see that too, just for Wifi Tethering (barnacle needs it too... :-( )
If you find something let us know, thx.
bbvg said:
I'd love to see that too, just for Wifi Tethering (barnacle needs it too... :-( )
If you find something let us know, thx.
Click to expand...
Click to collapse
Barnacle works fine including with WEP as-is without netfilter or iptables. The last couple of Barnacle updates have made it extremely reliable.
awojtas said:
Barnacle works fine including with WEP as-is without netfilter or iptables. The last couple of Barnacle updates have made it extremely reliable.
Click to expand...
Click to collapse
Wut??? That would be great...
I only manage to get it to work with https protocol, no http.. Tried with several different ROMs, always the same.
I'm gonna try to see if I can find any info on that.
bbvg said:
Wut??? That would be great...
I only manage to get it to work with https protocol, no http.. Tried with several different ROMs, always the same.
I'm gonna try to see if I can find any info on that.
Click to expand...
Click to collapse
It's always worked fine for me, except about 2 months ago there were a number of Barnacle builds where WEP didn't work. That's all fixed now.
Here's the settings I use:
- WEP: Enabled (ASCII)
- Custom Wifi Ad-hoc: none
- Skip wpa_supplicant: Yes
- Auto Associate: No
- WAN: rmnet0
- LAN: wlan0
A neat new feature is that you can have "Local Mode" where it doesn't need 3G/HSDPA so you can create your own little adhoc network for file sharing.
I then start SwiFTP and Gladinet (running in background) on my laptop maps the \sdcard\DCIM folder to Z:\Android in Windows Explorer so I can import my photos into Adobe Lightroom.
Or you could map \sdcard\music and sync with MusicBee or another music player that allows copying to network drives.
I quite like Barnacle
Unless this thread is about an active development idea, program or effort, it should not be posted in the development forum.
Moved To General as this thread does not involve above development requirements.
awojtas said:
It's always worked fine for me, except about 2 months ago there were a number of Barnacle builds where WEP didn't work. That's all fixed now.
Here's the settings I use:
- WEP: Enabled (ASCII)
- Custom Wifi Ad-hoc: none
- Skip wpa_supplicant: Yes
- Auto Associate: No
- WAN: rmnet0
- LAN: wlan0
A neat new feature is that you can have "Local Mode" where it doesn't need 3G/HSDPA so you can create your own little adhoc network for file sharing.
I then start SwiFTP and Gladinet (running in background) on my laptop maps the \sdcard\DCIM folder to Z:\Android in Windows Explorer so I can import my photos into Adobe Lightroom.
Or you could map \sdcard\music and sync with MusicBee or another music player that allows copying to network drives.
I quite like Barnacle
Click to expand...
Click to collapse
Thx for all the info, but i tried with your settings and mine, and i still have the same problem : all works fine in https, but i always get error 403 (permission denied) in http.
Slight difference with your settings : Barnacle shows an error message : NAT Restart : permission denied.
I'm starting to think it's my provider (SFR) that blocks this... possible?
EDIT : Think i'l open a new thread in the appropriate section if I can't find anything. Thanks for helping.

[Q] All workarounds failed,cm7.1 ROM not connecting to Ad hoc wifi

HI all,
My phone specs -HTC Aria
Rooted , S -OFF
ROM : cm7.2 RC0
clockworkmod recovery v5.0.2
Android 2.3.7
I am trying to connect to wifi ad hoc from my win7 laptop(using connectify) to my phone.My laptop is connected to internet via LAN which is behind college proxy but Connectify successfully created wifi hotspot. Now problem is that my phone is able to detect the ad hoc network but has problem connecting , it gets stuck at "obtaining ip address...." .
What I tried after searching in forums?
As mentioned by a member I filled in some values in Advanced wifi settings and
filled out I.P Address(192.168.2.2) subnet (192.168.2.1) dns1 and dns2 after doing this my wifi went crazy, It connects & immediately disconnects continuously and this happens so on.
As mentioned in this forum http://forum.xda-developers.com/showthread.php?t=754961 I tried to flash the zip from recovery but i got this error :
Code:
Amend scripting (update-script) is no longer supported.
Amend scripting is deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Installation aborted.
Next using Root Explorer I tried to replace the existing wpa_supplicant file located at /system/bin with the file given in this post http://forum.xda-developers.com/showpost.php?p=17582197&postcount=79, this time my wifi doesn't even detect the ad hoc network so I reverted it to old file. Basically I couldn't find anywhere wpa_supplicant file for Android 2.3.7.The most updated I got was for Android 2.3.5 version.
I tried so hard but couldn't work it out , if any one done this before please help me here..
Thank you !!
to flash the zip you need clockworkmod version 2.x
Thanks for the reply..
can you provide a workaround for 2.3.7(to be precise wpa_supplicant for 2.3.7) as in other forums it was given for previous android versions. Since I am new member I cannot post in the concerned threads .

[Q] Harshjelly 3.2 - tethering not working

hi to all, i'm a newbie on this forum, and i know this may not be the right place for this 3d, but i don't have enogh messages to write on developer topic.
I've a strange behaviour on my galaxy S advance.
I've installed Harhjely 3.2 with cocore 8.2 and CWM, with HJ 3.0 all works fine, i've upgraded to 3.2 but tethering is not more working.
Doesn't work neither wi-fi and bluetooth tethering.
I found the problem but i don't know how to fix it.
essentially the problem is on the dhcp server,
I'm able to see wi-fi connection from different devices to my phone, i can see on the tethering table the mac address of my pc and the ip address reserved to it, but the pc doesn't acquire the address and after a lttle it assigns itself an ip from PIPA netwoek (169.254.0.0/16 ) and so is not able to use the phone to go to internet.
I tried different devices (many laptop with different OS, tablet and others phones), but no luck, dhcp server is not working properly.
Any idea how to fix it ?
still not working
i tried to update to 4.0 version of harshjelly, but no luck, tethering is still not working.
i put here a log taken with logextreme during tethering process (device is able to connect, phone seems able to give it an ip address, but no one ip address is released), so please if any of you is able to give me an hand i'll be extremely gratefull.
Tethering is crucial for me, if i'm not able to make it working, i need to revert to stock image that i hate, but tethering works...
Please help me:
many thanks
kasparh said:
i tried to update to 4.0 version of harshjelly, but no luck, tethering is still not working.
i put here a log taken with logextreme during tethering process (device is able to connect, phone seems able to give it an ip address, but no one ip address is released), so please if any of you is able to give me an hand i'll be extremely gratefull.
Tethering is crucial for me, if i'm not able to make it working, i need to revert to stock image that i hate, but tethering works...
Please help me:
many thanks
Click to expand...
Click to collapse
ok, i solved the issue, i flashed from scratch and re-installed, now all works like a charm.
thanks for the help

[Q] SSH server and Android (SSHelper)

I've tried a couple different SSH apps but the only ones that work "out-of-the-box" are the closed source ones with ads. I've tried DigiSSHD and SSHelper, but can't get either to start a server. SSHelper gives me an error saying "Could not load host key" and "sshd: no hostkeys available". DigiSSHD doesn't seem to start the server either, there is a bar that just says "NO" at the top and the dropbear/openssh icons have hourglass icons on them as if something isn't quite right.
I'm using Android 4.4.2 on a Dell Venue 8. I saw that there's a support thread for SSHelper, but i don't have permission to post there.
Any ideas what i need to do? Do i need to create the host key myself? It seems like not all of the components were installed correctly for SSHelper (on the site it lists "OpenSSH, Busybox, Rsync and others") since i assume it would create the key for you the first time you run it.
I'd really appreciate any help. Thanks

Setting up a proxy server on Android

Hello there guys.
So my problem is that I cannot setup a Proxy server on my Android properly, when I'm trying to use it I just get "ERR_PROXY_CONNECTION_FAILED" error in the browser.
I tried 2 programs (by the same author) - Servers Ultimate and Proxy Server.
With SU for example I created a simple "proxy server", obtained the ip/port from the "connection info" and was trying to connect through it, with no success...
I tried this on two different phones. One is Samsung A3 2016, second is something old with Android 3+ version.
Can someone point me to the right direction? I would be very thankful.
Also to mention, I'm trying to perform this with 3G connection and not Wi-Fi. Does this interfere somehow?
I just realised in the Status tab of a created instance it says:
"Public Connectable - No". Even with Wi-Fi. I asked one friend to perform this on Meizu and he got success with SOCKS server/Wi-Fi setup. Hmm.
What is the solution to this issue. I'm also facing the same over 3G network.

Categories

Resources