I'm trying to connect to our companies network through a VPN PPTP connection. The connection does not work and this is what I can see with logcat:
Code:
D/VpnService(26589): VPN UP: down
I/SProxy_mtpd(26589): Start VPN daemon: mtpd
D/SProxy_mtpd(26589): mtpd is running after 0 msec
D/SProxy_mtpd(26589): service not yet listen()ing; try again
D/mtpd (26960): Waiting for control socket
D/mtpd (26960): Received 20 arguments
I/mtpd (26960): Using protocol pptp
I/mtpd (26960): Connecting to xxx.xxx.xxx.xxx port 1723
I/SProxy_mtpd(26589): got data from control socket: 20
I/mtpd (26960): Connection established (socket = 12)
D/mtpd (26960): Sending SCCRQ
D/mtpd (26960): Received SCCRP -> Sending OCRQ (local = 50624)
I/mtpd (26960): Tunnel established
D/mtpd (26960): Received OCRQ (remote = 0)
I/mtpd (26960): Session established
I/mtpd (26960): Creating PPPoX socket
F/mtpd (26960): Socket() Address family not supported by protocol
So as you can see the tunnel works but the problem is with the socket() call returning an error.
The problem is here in pptp.c line 238 I think.
Can any kernel developer help? Perhaps this is only a kernel configuration issue because standard HTC Desire and Motorola Droid seem to work without problem.
I have tested it on the P500 with stock kernel, drellisdee kernel and Der_Caveman kernel. Always the same problem.
Have you tried OpenVPN from Market?
You'll need root and busybox.
allsalvati said:
Have you tried OpenVPN from Market?
You'll need root and busybox.
Click to expand...
Click to collapse
OpenVPN does not use PPTP. This will not work in my case.
You should try ROM Prime!
I have the same problem like you. Only Prime Rom can solve this, I think the problem is the version, Prime uses 2.2.1, others use 2.2!
Hmm, 2.2.1 uses a different kernel. Perhaps we have to check kernel configs of both versions.
Sent from my LG-P500 using XDA App
I have some problems using VPN on Gingerbread.
I upgraded my I9000 to a stock JVO with CF root. Now I noticed that I can no longer connect successfully to my VPN server. Before I was using I9000XXJPY and was working, but now it starts to connect and just stay with "Connecting..." for about 1min then drops.
Because I have access on the VPN server I can see the auth going ok and the VPN tunnel going up. I can even ping for couple of sec the VPN IP.
Here is the related server log:
May 31 12:17:05 server pptpd[17417]: CTRL: Client xxx.yyy.zzz.www control connection started
May 31 12:17:06 server pptpd[17417]: CTRL: Starting call (launching pppd, opening GRE)
May 31 12:17:06 server pppd[17418]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May 31 12:17:06 server pppd[17418]: pptpd-logwtmp: $Version$
May 31 12:17:06 server pppd[17418]: pppd 2.4.4 started by root, uid 0
May 31 12:17:06 server pppd[17418]: Using interface ppp0
May 31 12:17:06 server pppd[17418]: Connect: ppp0 <--> /dev/pts/2
May 31 12:17:06 server pptpd[17417]: GRE: Bad checksum from pppd.
May 31 12:17:06 server pppd[17418]: MPPE 128-bit stateless compression enabled
May 31 12:17:07 server pppd[17418]: Cannot determine ethernet address for proxy ARP
May 31 12:17:07 server pppd[17418]: local IP address 10.10.50.1
May 31 12:17:07 server pppd[17418]: remote IP address 10.10.50.5
May 31 12:17:07 server pppd[17418]: pptpd-logwtmp.so ip-up ppp0 [email protected] xxx.yyy.zzz.www
May 31 12:17:47 server pppd[17418]: LCP terminated by peer (MPPE disabled)
May 31 12:17:47 server pppd[17418]: pptpd-logwtmp.so ip-down ppp0
May 31 12:17:47 server pppd[17418]: Connect time 0.7 minutes.
May 31 12:17:47 server pppd[17418]: Sent 2184 bytes, received 2526 bytes.
May 31 12:17:48 server pptpd[17417]: CTRL: EOF or bad error reading ctrl packet length.
May 31 12:17:48 server pptpd[17417]: CTRL: couldn't read packet header (exit)
May 31 12:17:48 server pptpd[17417]: CTRL: CTRL read failed
May 31 12:17:48 server pppd[17418]: Modem hangup
May 31 12:17:48 server pppd[17418]: Connection terminated.
May 31 12:17:48 server pppd[17418]: Exit.
May 31 12:17:48 server pptpd[17417]: CTRL: Client xxx.yyy.zzz.www control connection finished
Is there any way I could debug the pptp connection on the android? Anyone have VPN working on Gingerbread JVO or other versions? Any ideas what I could try?
Here is the related logcat from phone:
D/mtpd (13829): Waiting for control socket
D/mtpd (13829): Received 20 arguments
I/mtpd (13829): Using protocol pptp
I/mtpd (13829): Connecting to aaa.bbb.ccc.ddd port 1723
I/SProxy_mtpd(13820): got data from control socket: 20
I/mtpd (13829): Connection established (socket = 15)
D/mtpd (13829): Sending SCCRQ
D/mtpd (13829): Received SCCRP -> Sending OCRQ (local = 62032)
I/mtpd (13829): Tunnel established
D/mtpd (13829): Received OCRQ (remote = 4)
I/mtpd (13829): Session established
I/mtpd (13829): Creating PPPoX socket
I/mtpd (13829): Starting pppd (pppox = 16)
I/mtpd (13829): Pppd started (pid = 13830)
I/pppd (13830): Using PPPoX (socket = 16)
D/pppd (13830): using channel 21
D/Tethering( 482): ppp0 is not a tetherable iface, ignoring
I/pppd (13830): Using interface ppp0
I/pppd (13830): Connect: ppp0 <-->
I/pppd (13830): MPPE 128-bit stateless compression enabled
I/pppd (13830): local IP address 10.10.50.5
I/pppd (13830): remote IP address 10.10.50.1
I/pppd (13830): primary DNS address 8.8.8.8
I/pppd (13830): secondary DNS address 8.8.4.4
I/ip-up-vpn(13831): Traffic is now redirected to 10.10.50.1
E/VpnService(13820): onError()
E/VpnService(13820): java.io.IOException: Connecting timed out
E/VpnService(13820): at com.android.server.vpn.VpnService.waitUntilConnectedOrTimedout(VpnService.java:206)
E/VpnService(13820): at com.android.server.vpn.VpnService.onConnect(VpnService.java:136)
E/VpnService(13820): at com.android.server.vpn.VpnServiceBinder$2.run(VpnServiceBinder.java:117)
E/VpnService(13820): at java.lang.Thread.run(Thread.java:1019)
I/VpnService(13820): disconnecting VPN...
D/VpnSettings(13812): received connectivity: pptpVPN PPTP: connected? DISCONNECTING err=0
I/StatusBarManagerService( 482): ADD-pptpVPN PPTP VPN disconnected , 0x7f020001
I/SProxy_mtpd(13820): Stop VPN daemon: mtpd
I/pppd (13830): Terminating on signal 15
I/pppd (13830): Connect time 0.7 minutes.
I/pppd (13830): Sent 8174 bytes, received 0 bytes.
I/mtpd (13829): Received signal 15
I/mtpd (13829): Sending signal to pppd (pid = 13830)
E/pppd (13830): MPPE disabled
I/pppd (13830): Terminating on signal 15
I/pppd (13830): Connection terminated.
I/mtpd (13829): Mtpd is terminated (status = 6)
Nobody using VPN in Gingerbread? Any feedback would be appreciated.
rising the stakes
Ok, since nobody rush here, I will raise the stakes:
Who can help me to find a fix for this problem will win a 3 month VPN account to a VPN provider of my choice (lots of servers to use there).
If anyone have a android setup close to mine and it's VPN works, let me know.
Have u tried any other kernel or turning VPN encryption off. Also try 1Vpn app from the market
Sent from my GT-I9000 using XDA Premium App
Did you turn encryption OFF (uncheck) on your phone?
AFAIK, there is no mppe encryption support in the stock android firmware. Maybe your previous firmware included the module? Anyway, PPTP works fine for me with MPPE disabled, but not if I require it. Hope this helps...
I do get the same behavior with or without the mppe enabled. It doesn't looks like to be a encryption problem as I can see the log in successful on the server and even can ping the client IP after for couple of seconds. It looks like the VpnService does not see the connection being established and it just stops it after couple of seconds.
Never got VPN working successfully even in 2.2 and 2.2.1. It was able to connect to the VPN service (can't remember if I used PPTP or L2TP) but I was unable to browse any website or connect to anything on the internet.
I was told on some forum there's some bug in Android causing this. Anyways, doesn't sound identical to the issue you had but I thought I'd mention this.
Worked for me when using 2.2.1 JPY, both PPTP and L2TP. I suspect it's a VpnService problem rather then a pptp problem, so if anyone on 2.3.3 JVO or similar have VPN running ok, would appreciate if would send me on PM or attached here the VpnService.apk and .odex he run.
isn't it the same problem as posted on the android google code site:
http://code.google.com/p/android/issues/detail?id=4706
appears to still not be working in jvp.. no one seems to have it working with 3g on any phone with gingerbread.. it appears to work ok over wifi.. i also need i working in 3g in gb. .so i am staying on froyo for now.
Please check the following firmware and report in this thread if it solves your Wi-Fi or HDMI issues.
http://update.archos.com/9/gen9/gen9_4.0.4-TEST/firmware_archos_it4.aos
There might be still some audio out problems with HDMI with OMAP4430 ES2.2 based platforms (check in settings->about tablet->OMAP version): we are still working on it and will come up with a solution shortly.
Thank you for your help/feedback and patience.
very tempting to try... but i will wait for someone to make a custom rom with root out of it...
This ROM is not intended to get custom ROM, with root and other options.
As far as i understood it is just a test ROM for users who have troubles with the official ICS update to check if this solves their issues.
Thus, if you are impacted, then just download it and test if it corrects WiFi and HDMI issues.
Cheers,
jipee296 said:
very tempting to try... but i will wait for someone to make a custom rom with root out of it...
Click to expand...
Click to collapse
I am an Archos staff, I do not do custom firmwares: I do the real ones
Downloaded and installed:
-when updated from GUI (.aos copied to Gen9 when Android was running) resulted in no backlight after reboot; installation from recovery was successful
-as before Reset Android is required for the update, otherwise boot process hangs during dalvik-cache rebuilding
-Wifi works better but still sometimes disconnects- connected to 802.11n SoftAP (ar2971 usb wlan+ built-in Win7 wifi AP)
-there are no problems connecting to 802.11g- wifi tethering on HTC Desire (CM7.2, Android 2.3.7)
Sorry, I can't test HDMI- I don't have proper monitor/TV
I misplaced my charger cable..so I'm not able to test this. If I find it i will test this out and report my findings.
courville said:
I am an Archos staff, I do not do custom firmwares: I do the real ones
Click to expand...
Click to collapse
Arf Arf nobody know Courville on XDA ....
Yes this people working on Archos !
---------- Post added at 06:40 PM ---------- Previous post was at 06:10 PM ----------
Firmawre update OK
Wifi by WPA OK
Wifi by WEP Ok
Hdmi OK
Audio.Hdmi OK
My tablet Archos 8" gen 9 8go/omap 4430 ES2.2 ...
Box : Freebox v5
Problem : yes
in audio/video archos application i see the files in twice !those files are on SC card
I'm having some 'strange' issues on wifi, so have downloaded this update and will apply it and let y'all know shortly if it breaks / fixes anything
- EDIT- So far so good. The firmware installed without a hitch (I copied it to root of Internalstorage and selected Yes when tablet asked to upgrade). It rebooted, upgraded firmware, rebooted, optimized applications and nothing seems broken. However, it DOES (so far) seem to have fixed the issue I had with Wifi - the issue I had was when I click on a UTL, it loads the browser (I use Dolphin HD) and this says 'Cannot load the page as there is no internet conenction' but then it loads the page anyway. This (so far ) is not happening anymore. Will play with the tablet this weekend and update this post if I have more.
For the record - my tablet is OMAP4460ES1.1 (whatever that means) - Archos 80 G9 16GB Turbo
Installed the test-firmware, same wifi-problems as before. There is no stable connection possible (my router: fritzbox 3270).
Axel
Archos g9 80 turbo 1,2 ghz
I've forgot to mention- my Wifi AP is using wpa2 with AES encryption
Other thoughts- confirmation dialogs in recovery would be usefull (I've wiped storage by mistake today....)
tapatalked from Desire
gen_scheisskopf said:
I've forgot to mention- my Wifi AP is using wpa2 with AES encryption
Other thoughts- confirmation dialogs in recovery would be usefull (I've wiped storage by mistake today....)
tapatalked from Desire
Click to expand...
Click to collapse
I agree with u 100% that confirmation dialogs should be included. I've accidentally formatted before, thinking it would confirm. +1
Wunderful !
I can finally look back videos with sound.
Great Thanks!
WPA TKIP
I have changed the encryption-settings to WPA TKIP (former: WPA+ WPA2) on the fritzbox 3270.
Now everthing works fine!
my results seem inconclusive. previously, Wifi seemed to not reconnect for me after i turned my screen of (without manually turning wifi off then on again). I installed the test firmware, and it seemed to work good, however i booted back into sde firmware, and the problem seems to be gone there now? Doesn't make sense to me
if it helps:
old d-link DI-624 router
WPA-PSK security
channel 6
Same result as official 4.0.4 update on my 101 G9 16Go Turbo tab (OMAP 4430 ES2.3)
* WiFi is still not working with my access point (D-Link DAP 1160 WPA2-AUTO), but i works quite well with my HTC phone when sharing 3G connexion (as i've got optical fiber connection, i'm not happy with just 3G internet),
* No sound on my Samsung video projector when connecting it through HDMI cable,
Logs from my access point :
0day 00:01:00 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:00 wlan0: A wireless client is associated - 90:21:55:E5:EF:43 <== My phone connecting to the AP
0day 00:01:00 wlan0: Open and authenticated
0day 00:01:23 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:23 wlan0: A wireless client is associated - 00:16C:6D:1A:52 <== Archos tab trying to connect
0day 00:01:27 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52 <== got dumped
0day 00:01:27 wlan0: A wireless client is associated - 00:16C:6D:1A:52 <== trying again and so on
0day 00:01:27 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:30 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
0day 00:01:31 wlan0: A wireless client is associated - 00:16C:6D:1A:52
0day 00:01:31 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:34 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
0day 00:01:35 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:35 wlan0: A wireless client is associated - 00:16C:6D:1A:52
0day 00:01:38 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
0day 00:01:39 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:39 wlan0: A wireless client is associated - 00:16C:6D:1A:52
0day 00:01:42 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
0day 00:01:43 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:43 wlan0: A wireless client is associated - 00:16C:6D:1A:52
0day 00:01:46 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
0day 00:01:47 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:47 wlan0: A wireless client is associated - 00:16C:6D:1A:52
0day 00:01:50 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
0day 00:01:51 wlan0: WPA2-AES PSK authentication in progress...
0day 00:01:51 wlan0: A wireless client is associated - 00:16C:6D:1A:52
0day 00:01:54 wlan0: A STA is rejected by 802.1x daemon - 00:16C:6D:1A:52
Logcat from my Archos tab attached.
Updated earlier today, fixed my Wi-Fi issues. Connections now solid and fast. Never had a problem with HDMI, can confirm it still works though.
Thank you Archos!!!!
Thanks! It works much better on wifi than before, but still not perfect.
I'm using it with an 802.11g network and WEP encryption (I know!)
Still occasionally loses connection, but nowhere near as often.
Haven't been able to test HDMI yet.
Sent from my Galaxy SII using Tapatalk
Loses connection less frequently but still a bit unstable
Thanks for the updated firmware, it is great to see Archos taking such an active role
My router is an Airport Express 802.11g w/ WPA
With the update, the tablet drops connection less frequently and always seems to pick it up quickly but still a bit unstable.
The tablet works perfectly for 8 hours spans without internet but as soon as you connect to a secure Wifi it rarely goes 30 minutes without requiring a hard reset. This happens less frequently when syncing is turned off but still makes the tablet pretty worthless for web browsing and the like.
Update - my G9 is still having wifi issues but less frequently. My browser sometimes reports `no internet ` before it loads page anyway and sometimes when I unlock my g9, it briefly shows `no internet connection` on the notification bar. Seems to me like it is dropping wifi completely when not in active use. However I cannot find anywhere to set/change this in settings
Sent from my ARCHOS 80G9 using xda premium
I have Wifi Problem when i use the Galaxy Nexus 3g as connection sharing
I have to use a vpn for incoming services using sprints network. Im connect to my vpn on my phone and route the vpn through my hotspot so every computer gets the public address and all that is working. My hotspot config is gateway 192.168.2.1 and the ddwrt router that my clients connect to is 192.168.2.5. Problem is. When i connect to the vpn it changes the gw and i cannot ping or connect to any services on 192.168.2.5 from the phone. However i can ping 192.168.2.1. Can someone tell me how to add a route so that i can talk to 192.168.2.5 from the phone when the vpn is connected. Thankyou my phone is rooted.
Have a Nexus 6 Rooted; Android 7.0 Stock and attempting to:
1) Stay Connected to cellular data
2) Connect via WiFi to Local Ad-Hock Network ( DHCP); "SharedData"
3)Access both WWWeb sites via browser, and the local webserver on the local WiFi ad-hock network ( @ DHCP 192.168.4.1 on SSID "SharedData")
*Constraint: Can not change webserver from current IP scheme which is
SSID: "SharedData"
BSSID: f4:55:95:11:3a:3f
Lease duration: 86400
Server address: 192.168.4.1
Broadcast address: 192.168.4.255
DNS(1) address: 192.168.4.1
DNS(2) address: 0.0.0.0
Mask: 0.0.0.0
Gateway: 192.168.4.1
IF the Cell side data connection is disabled, can connect to local WiFi network, and access the local webserver, but once the Cell side data is re-enabled, the WiFi stays connected but browser request for HTTP: //192.168.4.1 fail and can no longer reach the local webserver.
Seems to be a routing / DNS tied issue, but not sure how Android handles request when cell data and wifi are both active and handling request.
Any ideas of a configuration that preferable will not require root would be appreciated, any and all idea are appreciated.
Thanks!
cpntexas
pollardc said:
Have a Nexus 6 Rooted; Android 7.0 Stock and attempting to:
1) Stay Connected to cellular data
2) Connect via WiFi to Local Ad-Hock Network ( DHCP); "SharedData"
3)Access both WWWeb sites via browser, and the local webserver on the local WiFi ad-hock network ( @ DHCP 192.168.4.1 on SSID "SharedData")
*Constraint: Can not change webserver from current IP scheme which is
SSID: "SharedData"
BSSID: f4:55:95:11:3a:3f
Lease duration: 86400
Server address: 192.168.4.1
Broadcast address: 192.168.4.255
DNS(1) address: 192.168.4.1
DNS(2) address: 0.0.0.0
Mask: 0.0.0.0
Gateway: 192.168.4.1
IF the Cell side data connection is disabled, can connect to local WiFi network, and access the local webserver, but once the Cell side data is re-enabled, the WiFi stays connected but browser request for HTTP: //192.168.4.1 fail and can no longer reach the local webserver.
Seems to be a routing / DNS tied issue, but not sure how Android handles request when cell data and wifi are both active and handling request.
Any ideas of a configuration that preferable will not require root would be appreciated, any and all idea are appreciated.
Thanks!
cpntexas
Click to expand...
Click to collapse
Your issue is that it cant be used at the same time as they use the same hardware. As an example. When mms comes in and you are connected to wifi the radio disables the wifi connection for a sec to download it on the cell network. They both use the same antenna so only one connection is active at a time.