VPN Connection (OpenVPN, TUN.KO, IPSec XauthPSK... usw..) - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hey,
ive some issuse with the vpn connection (cooper gt-s5830).
about the issues with openvpn:
iv'e tried different versions of cm.
The problem is that if i press on a configuerd profile, it says "connect...." for a few sekonds and than abort with a message like "no network connection".
the openvpnserver log looks like no one've tried to connect
I used kali linux to sniff the data while the cooper trys to connect to the vpn server, but there was no output.
so the phone ( the openvpn implementation ) can't send data by wlan.
aktually ive no app to sniff the 3g data, but the issue is the same.
so i think its must be a mistake between the systemapp openvpn and the cm7​issues with IPSec Xauth PSK:
if i run the cooper with =>cm9 it will come with android =>4.x.
with android 4.0 the "IPSec Xauth PSK" connection is implementated.
if i try to connect it works. but if im not in the same wlan and trying to use the 3g connection the cooper does a force quit an boot again if i try to acces anything over network......​
ive tryed different roms different kernels... i dont know why the issue is every time the same..
vpn is a software solution so it shouldn be addictet to any harware resources... why this works for other phones and not for mine?
is any cooper out there with working vpn?
pelase help me
ps:
i wondert bout this htt p: // w ww . modaco.com/topic/353469-fixed-problem-using-openvpn-on-galaxy-ace-gt-s5830/
i tried many cm7 versions, no one worked...

Open vpn on cm10+
Now im trying to use "OpenVpn for Android" on the cooper with cm10.? Android 4.3
The log says:
Code:
OpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
Das Öffnen des tun Interfaces ist katastrophal gescheitert.
Fehler: Cannot create interface
ERROR: Cannot open TUN
Process eited with exit value 1

hey, ill be very glad if you reply to my issue...
just test vpn if it works please report to me...
it would be verry nice if i can get a cm backup with working vpn.
i still dont saw a cooper with working openvpn.
in one forum someone wrote he got openvpn working with just installing cm7.
akutally i use the last nightly version downloaded at cyanogenmods website...
but this vopenvpn implementation wont work for me....
in the next week i*l try to debug the coopers system and try to find the destination of the error..
maybe we kan fix it by editing the code before building cm7.

same issue with IPSec Xauth PSK
Hi,
I have the same problem using IPSec Xauth PSK with CM10.1: Connection works, but as soon as data is sent the phone reboots. I have already tried several versions of CM to no avail. Could it be a problem with a hardware driver that is still the original version from Samsung?
A few other people out there report this issue for other phones, as well, but I have seen nobody with a solution.
Thanks,
Theisu

Related

Helmi_BA_WM2k5_AKU3[1].5_v1.4.CF2.R2 WiFi Security -> WPA encryption

Hi,
I'm trying to enable my BA (Helmi/Baniaczek R2) to use WPA encryption with my Netgear router.
Can this be curently enabled? If not, is there someone (Baniaczek?) who could add suppot for WPA (and replace WEP) in this ROM?
Thanks
DEVICE: BA (Orange SPV M2000)
ROM: Helmi_BA_WM2k5_AKU3[1].5_v1.4.CF2.R2
RADIO: 1.15.00
With my router, Netgear DG834GT, BA works well with WPA protection enabled.
Great. Thanks. I set it up and all works perfectly.
I get the same problem i cant connect with any security on
isnt there any other software to conntect rather can using the windows software
Did you check that the shared key is exactly the same? Some apps need the hex version of the key, so try that.
If you do not connect all then this could be an access list problem (based on the MAC address of your PDA). Check this.
If yu provide more info about the problem it will help...
HTH

WIFI connected but cannot go to INTERNET!!HELLPPZZZZ

my Wifi show that my diamond is connected with my router. however, when i use internet explorer try to accesss to google/yahoo, the following message pop up:
"The page cannot be found. Check the name and try again"
i have double check and i am sure i enter the right address www.google.com/www.yahoo.com
i dun understand why this message pop up even thought i have connected wid my router. i am upgraded my router firmware to the newest one!!!!!
Rouer type is : Netgear Rangemax
Channel: 6
Region: United States( i am living in Uk and the router do not let me change the region to UK)-(i dun think this is the problem as my Ipodtouch connect with my router and work perfectly)
Mode: B and G( i have downgrade from Auto 108mbps)
Security option: WPA-PSK [TKIP]
any1 plz kindly help me wht wrong wid the diamond or router---> the main reason i buy diamond is to connect wifi!! thank!!
Hi,
Try changing the default network for Internet connections...
Go to settings -> connections --> advance --> select networks --> Programs (...) Internet should connect using: My Work Network
Cheers,
David
Same Problem here.. i've just updated my diamond with the newest software release ( HTC_GER_2.03.407.2) from the HTC Website.
The Diamond detects the WLAN, and connects after entering the key.
But i think the main problem is that i cannot select anything under "connect with" when i'm in the network setup.. There's only a white box :-(
I attached a screenshot from an other user there it's ok..
In my case there's nothing to select under "Verbindet mit"
Bellacluchy said:
Same Problem here.. i've just updated my diamond with the newest software release ( HTC_GER_2.03.407.2) from the HTC Website.
The Diamond detects the WLAN, and connects after entering the key.
But i think the main problem is that i cannot select anything under "connect with" when i'm in the network setup.. There's only a white box :-(
I attached a screenshot from an other user there it's ok..
In my case there's nothing to select under "Verbindet mit"
Click to expand...
Click to collapse
i have upgrade the rom to the excatly same as ur, i try to connec to my university wireless and still cant use the WIFI, i think the problem is on the diamond, not on the router!!!!
dosado said:
Hi,
Try changing the default network for Internet connections...
Go to settings -> connections --> advance --> select networks --> Programs (...) Internet should connect using: My Work Network
Cheers,
David
Click to expand...
Click to collapse
hi, yes, i am chek it and it is connect using : My Work Network. i dun knw wht wrong with it and i am thinking of refund!!! the main reason i buy this is to connect wifi but it dun seem to be working!!!!
I experienced following :
If i set up the wlan connection directly after a hard reset it works !
The problem is the connection manager "Verbindungs-Setup" that starts automatically..
This first run autostart item asks for your network carrier.. after selecting and applying the selection this assistent overwrites the existing wlan bindings. After this no more binding to the wlan is possible.. And it don't works too if you first run the "Verbindungs-Setup" and then the WLAN Setup.. Even to create a connection manually with the "> connections --> advance --> select networks --> Programs (...) Internet should connect using: My Work Network" is not possible!
I stopped the assistend at first run and configured my MMS and UMTS setting manually.. WLAN works now!
Bellacluchy said:
I experienced following :
If i set up the wlan connection directly after a hard reset it works !
The problem is the connection manager "Verbindungs-Setup" that starts automatically..
This first run autostart item asks for your network carrier.. after selecting and applying the selection this assistent overwrites the existing wlan bindings. After this no more binding to the wlan is possible..
I stopped the assistend at first run and configured my MMS setting manually.. WLAN works now!
Click to expand...
Click to collapse
hello, can u tell me excatly wht should i do? it is possible to disable that "Verbindungs-Setup" witout hard reset??? hard reset will it erase all my picture music etc plus the current ROM?? cuz i didnt know how to update the rom and the current rom is one of my friend update for me!!!!!
Bellacluchy said:
I experienced following :
If i set up the wlan connection directly after a hard reset it works !
The problem is the connection manager "Verbindungs-Setup" that starts automatically..
This first run autostart item asks for your network carrier.. after selecting and applying the selection this assistent overwrites the existing wlan bindings. After this no more binding to the wlan is possible.. And it don't works too if you first run the "Verbindungs-Setup" and then the WLAN Setup.. Even to create a connection manually with the "> connections --> advance --> select networks --> Programs (...) Internet should connect using: My Work Network" is not possible!
I stopped the assistend at first run and configured my MMS and UMTS setting manually.. WLAN works now!
Click to expand...
Click to collapse
can u plz tel me wht to do. thnx!!
i do not know which registry entries the Connection Setup Wizard changes..
You can make a backup of your ROM with SpriteBAckup, then HardReset and Restore the Backup with Merge Level 1 of Sprite Backup. The Internal strorage will not be deleted by a hard reset!
Comm Manager - seting - WIFI - 3-d page and slider to the left
The problem is in the ROM. I have this issue only if connecting to WiFi using WPA2-PSK (TKIP). All other protocols work. Upgrade your Diamond with any other ROM and it should work. I had problem with Dutty's v3.4 and also Nataly v2.0.1.
duncho said:
The problem is in the ROM. I have this issue only if connecting to WiFi using WPA2-PSK (TKIP). All other protocols work. Upgrade your Diamond with any other ROM and it should work. I had problem with Dutty's v3.4 and also Nataly v2.0.1.
Click to expand...
Click to collapse
can u tell me how to update the rom step by step plz!! and where can i find d ROM?? thnx u!!!
It is not the ROM issue.
I have the same problem. I updated the ROM, but the problem exists as before.
Sometimes my phone connects the internal modem and not my WiFi network, why?
Ps.: I am using WIFI router for internet (WPA-PSK [TKIP])

Cyanogenmod 5.0.5.3 - Wireless_tether 2.0_pre8 (and older)

I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
ghost_o said:
I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
Click to expand...
Click to collapse
Did you turn off USB tethering?
hotweiss said:
Did you turn off USB tethering?
Click to expand...
Click to collapse
Never turned it on, and verified it is off...
how did you load the apk?
lpasq said:
how did you load the apk?
Click to expand...
Click to collapse
Downloaded to SD, and installed from browser download screen...
ghost_o said:
Downloaded to SD, and installed from browser download screen...
Click to expand...
Click to collapse
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
lpasq said:
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
Click to expand...
Click to collapse
Will do adb.. I have the linux sdk..
Thanks, will post back with results..
OK, installing with adb has the same effect.
There are posts from the google code pages where this has happened in the past (last year though), so I doubt related..
Out of ideas...!
eth0 IEEE 802.11-DS ESSID:"AndroidTether" Nickname:""
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 3A:4E:3D:88:EC:41
Bit Rate=72 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-57 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This is with WEP set.. It must have something to do with wpa_supplicant somewhere.. I'll keep digging...
maybe it might have something to do with atnt not able to do it throught there network. like us tmobile users can use data while on the phone? dont know alot but that could be a possibility
Nah, wpa_supplicant is not negotiating wep for some reason. I just replace the wpa_supplicant.conf file with a very generic open key WEP config and it still does not work..
I need to dig through my broadcom nda's and find this chip, and see if I can use the firmware.. I'll just load it up in AP mode and run hostapd and be done with it....
Ad-Hoc just plain sucks, almost as much as wep...
Cant find find wireless apk anywhere can someone please give me link
ttieder said:
Cant find find wireless apk anywhere can someone please give me link
Click to expand...
Click to collapse
http://lmgtfy.com/?q=android-wifi-tether&l=1
deprecate said:
http://lmgtfy.com/?q=android-wifi-tether&l=1
Click to expand...
Click to collapse
lmgtfy.com - that was awesome - my family members are gonna feel like idiots asking me questions now!
I had not heard of that site before.
Regarding wep-encryption & CM 5.0.5.x:
http://code.google.com/p/android-wifi-tether/issues/detail?id=292
So, wep-encryption is broken (no idea why) on the latest cyanogenmod-build. Please use CM 5.0.4.1 - it works flawlessly there.
I will take a closer look the next days ... but it's hard to tell what is causing this - I don't know which changes were made on CM.
By the way ... why was this topic moved to Q&A
This is definitely an issue which needs to be solved and should stay in development!
Thanks - I googled for quite a while, and never came across that info. Tethering is not that critical (unless I am travelling), so I will just wait for a fix sometime.
I would have figured other in this forum would have hit it though?!?!?
-G
I've installed 5.0.5.3 and downgraded the kernel which came with 5.0.4.1 - and it start working again! So, I would say that this issue is related to the latest kernel (2.6.33.1)!
I've created an issue on cyanogemod:
http://code.google.com/p/cyanogenmod/issues/detail?id=1217
i have wifi tether pre 8 on latest CM mod and its working great, wep works, and no errors in log.
I am having the same problem. I have both a nexus one and motor milestone. Tethering on milestone doesn't have problems but my nexus can't seem to connect as well no Sep security. I can see the my SSID, anyone can help?
There are obviously factors that differ between devices somehow. I too can change kernels and the issue goes away. Something is "missing" somewhere. A git pulled vanilla 2.6.33 kernel works just fine when booting the zimage from fastboot..
I have not looked at the cyanogen .config or wireless module source yet to see any modifications that would effect it...
I'm more interested in the module working in AP mode now that the driver supports it, and have been working on that...
-G

VPN Connections (Cisco VPN)

Have this working well and thought this info may help others...
First, your phone needs to be rooted and busybox properly installed. If you've rooted in the past few days, you're fine as the current payload-update.zip does install busybox with all of the links, but if you rooted early please confirm this before continuing.
Next, grab the tun.ko module from the OpenVPN thread.
Then follow the instructions for the Motorola Droid at the VPN Connections site, using the tun.ko you downloaded previously. The one caveat here is that you have to copy the module in recovery on the Incredible as we don't yet have rw access to the /system partition when booted normally.
Once you've restarted your phone after installing tun.ko, just install the latest VPN Connections apk and you're ready to go!
One point that confused me (for longer than I care to admit) is that once you create a VPN profile, you have to long-press on it to bring up the menu for connect/disconnect.
Enjoy!
Dave
which vpn connections. I downloaded latest from the store it opened but did not work.
then tried the latest from the site and it forces close. I'll start over tonight and try again.
-------------------------------------
Sent via the XDA Tapatalk App
I was working on this the other day, but I cannot get the phone to connect to my company's VPN - I setup the IPSEC ID/PW correctly as well as my user IP/PW, but I get an ISAKMP_N_AUTHENTICATION_FAILED. The one thing I didn't do was copy tun.ko in recovery mode - I just did a modprove /sdcard/tun.ko...it didn't complain and it seems like VPN Connections can find the device node without a problem.
On my linux box, I can run the same config options in vpnc and connect no problem...
I got it working after a couple days playing with it. My problem was that I had not installed busybox to xbin like their instructions outlined since it was already installed to sbin. once installed to xbin and proper permissions were granted, it worked like a charm.
Please someone post a complete how to. I cannot get this working. Busybox will not "--install" to xbin
Is there a secrete to getting busybox installed? I know this is weak sauce, but I need help.
Did you try installing busybox while in recovery mode?
where do I install busybox? /system/xbin or sbin?
Kulaa said:
where do I install busybox? /system/xbin or sbin?
Click to expand...
Click to collapse
I've got it in both places. It needs to be in xbin for the vpnc-script. I tried modifying the vpnc-script but running in to too many problems.
Those to configured their ASA
I am trying to setup the ASA for this VPN. Numerous vague (to me) unresolved errors. Phase 1 completes (easy).
Phase 2 Failure: Mismatched attribute types for class Encapsulation Mode: Rcv'd: Tunnel Cfg'd" Transport
Group = <group>, Username = <username>, IP = <IP Address>, All IPSec SA proposals found unacceptable!
" " Duplicate Phase 2 packet detected. No last packet to retransmit.
I am not finding the answers to these issues. I have not been working on VPNs for long but have setup A LOT of client (Any Connect & SSL) VPNs. I tried to "match" those configurations and have failed.
Anyone know of a tut they used to set the VPN up on the Firewall side? Im sure one of these guys I work w/ can set it up in mins but learning the hard way is what "they" prefer. < a week later is enough, I concede!
Bump ~ 10 ~
Bump ~ 10 ~
Console output?
It think I followed all the necessary steps but wanted to confirm somehow. Is there any ways to see the log on what VPN Connect is trying to do and why login fails?
supagene said:
It think I followed all the necessary steps but wanted to confirm somehow. Is there any ways to see the log on what VPN Connect is trying to do and why login fails?
Click to expand...
Click to collapse
./vpnc --debug 3 --script <path to script> --gateway <gatewayip> --id <VPN Group ID> --username <username>
johnnybags said:
./vpnc --debug 3 --script <path to script> --gateway <gatewayip> --id <VPN Group ID> --username <username>
Click to expand...
Click to collapse
./vpnc --script ./vpnc-script --gateway gateway.domain.com --id "Default Initial G
roup" --username supagene
Enter IPSec secret for Default Initial [email protected]: *******
Enter password for [email protected]: *******
uname: not found
basename: not found
grep: not found
which: not found
grep: not found
which: not found
grep: not found
which: not found
[: not found
readlink: not found
[: not found
[: not found
hash comparison failed: (ISAKMP_N_AUTHENTICATION_FAILED)(24)
check group password!
I know about the comment to check the group password, but I copy and pasted it so I know it is correct. Any suggestions? Do I copy the busy box from sbin to xbin or do I need to look for another busybox, where do you recommend me getting it form? Sorry for the noob questions.
Ok So I looked and found that the Procudures I followed for Rooting didn't actually copy busybox to xbin so maybe the first post should be updated to mention to check that xbin actually has busybox. I used the same busybox that was included in the rooting guide.
Now I'm at a different error.
Error binding to source port. Try '--local-port 0'
Failed to bind to 0.0.0.0:500: Address already in use
that's fine, it means you probably have another process of vpnc running that didn't terminate. just ad --local-port 0 to the end of your command line.
So how is your ASA configured? Is it the latest software or 8.2? ???
Kulaa said:
So how is your ASA configured? Is it the latest software or 8.2? ???
Click to expand...
Click to collapse
Not sure. I just know that the Admin can connect with his Cyanogen Modded G1 and it works great for him. He has his NAND fully unlocked of coarse.
Thanks for all the help I'll post my next issue tomorrow.
Following this thread that was linked for helping to get this working on the Incredible.
I'm getting a constant "unable to connect" error... Where do I need to enable logging to find out more about where the error is happening at? On my ASA or on the Incredible?
Thanks.
I've never got it working but if you look above you'll see how I ran this thin in adb shell. That will output everything to console and tell you what is wrong.

[Q] Bluetooth PAN enabling (bnep.ko module)

What about subj on FROYO-based FW's?
I tried to enable it on JM5 firmware (Eclair), but no success
We need to compile bnep.ko module for kernel version 2.6.32 and a bluetooth pan daemon - pand.
So, in case of Eclair, i tried to use bnep.ko, compiled for kernel 2.6.29 and pand version 4.47 (see attachments for both).
And what i've done (step-by-step):
1) Inserting our bnep.ko:
Code:
insmod /lib/modules/bnep.ko
2) Copying pand to /system/bin/
3) Trying to start listening for a incoming bluetooth PAN connection by typing:
Code:
pand -n --listen --role NAP
4) .. and seems we have a problem
Code:
pand[7013]: Bluetooth PAN daemon version 4.47
pand[7013]: Failed to connect to the local SDP server. Connection refused(111)
pand[7013]: Bind failed. Address already in use(98)
... and i have no idea whats going wrong.
So, it will be great if someone could compile bnep.ko for FROYO-based firmwares, may be it will be more lucky
Could someone please compile and post the bnep.ko module and pand for the Galaxy Tab wifi P1010. It seems they left it out of a device that desparately needs it, considering it has no 3g.
I actually have no way of tethering this tab with my phone. It does not pick up adhoc wifi (wpa supplicant hack from p1000 does not work on this device), and itbdoes not support bluetooth pan, which is ultimately my preferred tethering solution because of better battery performance.
I tried the above files but they dont work on the p1010. I even tried copying pand from other devices, but so far none of them execute on this device.
Would really appreciate it if someone could compile the above for the p1010. The kernel version is 2.6.32.9 [email protected] #1. Thanks.
A bit late but someone may need it http://www.patthoyts.tk/blog/android-bluetooth-tethering.html
@sinancetinkaya: Thanks, d00d, came in *very* handy!

Categories

Resources