[Q] Open VPN on EVO Shift - EVO Shift 4G General

First Let me say I have a working vpn router and I am experienced in networking.
I am running the stock rom /perm rooted with a modified kernel found here
http://forum.xda-developers.com/showthread.php?t=941728&highlight=tun
So I have followed the instructions listed here http://forum.xda-developers.com/showthread.php?t=883021
I know these were for the EVO but the seem to have worked... kinda, I can connect to my router and my router issues the IP address for my phone through the tunnel vpn tunnel, However I can not get data to pass through it. I can not access anything on the other end of the tunnel - any ideas?

After more research it seems like the phone is not updating the routing tables. Has anyone encouterd this problem?

Related

ICS & VPN with WM6

My searches on the web haven't yielded much help or information so I thought I would come to the experts...
I have a Treo 750 that I just "upgraded" to WM6 2 days ago. I noticed that DUN has gone away and was replaced by ICS. After configuring my laptop to use that instead of DUN I connected and was surfing the web. My problem now is VPN. I travel frequently (luckily I'm in the office until Jan.) and regularly used my phone to connect to the corporate network via VPN. I also work with a lot of other companies and have VPN access to their systems as well. Basically now I can open my Cisco VPN client, connect to a VPN gateway, authenticate, get assigned all the appropriate IP information, but cannot communicate on the network. What gives? Is there a solution to this? If not, what the heck was MS thinking when they did this!? My phone is basically useless for one of the major reasons I bought it...
Any help is appreciated!
thanks!
Ok, further searches found that DUN can be added back into WM6 via a cab that was posted here at the XDA forums. I installed it and the DUN service is now visible again. I unpaired by phone and laptop, re-paired, and included DUN. Now when I try to connect, I get the DUN connection box after the bluetooth connection is initiated but when I click DIAL I get the DIALING... prompt, followed by Error 678: The remote computer did not respond.
Anybody get this working on a Treo 750? Thoughts, ideas suggestions?
What is the ip address you are getting via the cisco vpn client
It maybe that it is in the same subnet as the ip address assigned to the pc from the wm6 ics. The ICS gives the address 192.168.0.1. and if your Cisco is also giving a 192.168 address then you will have two routes for the 192 address range thus giving you the problem when accessing hosts.
If this is the problem Im pretty sure you can change the address allocated via the ICS using a registry editor. If not you may be able to get work to use a different range for you on the cisco vpn.
Our corporate network is 172.x.x.x so it's nowhere near the 192.168.0.x assigned by the phone. When I look at the route in the VPN client I see 192.0.0.0, 10.0.0.0, and 172.0.0.0 so I am assuming 192 is my laptop, 10 is the phone, and 172 is the corporate network.
I'm guessing NATing is the problem. I've been reading that if I use a different APN (isp.cingular instead of wap.cingular) there is no NATing. I've tried both, and I've tried turning off and on the "force AT&T" proxy setting to no avail.
Tried the DUN cab hack that is floating around for WM6 also. The service is active again and I can also add Modem Link back in and my laptop sees my Treo as a modem but when I dial I get an error stating the remote computer did not respond. I'm guessing along with going from WM5 to WM6 AT&T also updated the radio so the old communications protocols don't work anymore?
Hello Sir,
I have exactly the same problem... I have successfully connected via VPN, however unable to communicate with any devices on that network... Then what is the use of VPN on the phone? I've tried searching online for answers, but no luck... People are having the same problem but no one knows how to solve it... I'll try and trouble shoot this problem more as soon as my exams are done...
Hi
Working successfully for me. I am using Imate jasjam wm6. Pc using cisco client connecting via ics on phone. I have telstra 3g connection tested ok on both telstra.internet (Nated ip) and telstra.extranet (real ip).
You are correct it may be an nat issue. Can you check that your transparent tunnelling is on as follows: right click on your connection entry in cisco client and select modify then transport tab. Check that enable transport tunneling is enabled ipsec over udp(Nat/pat).
The other thing to check is that the cisco vpn server aslo has transport over Nat on as well.
Also are you sure your corporate ip range is 172 or is that the range given by the cisco vpn to clients.
Transport tunneling is on (always was). I'll have to check with our network admin and check on the VPN server setting...I guess as long as I have connectivity back to the office, I don't need it that badly for all the customers I need to connect to at various times.
Yep, positive on the corporate IP. Right now it is 172.28.1.87 and I'm in the office.
Thanks for the help so far. Got any other suggestions on how I can troubleshoot further?
One other thought...should I modify the registry on the phone to assign a different IP address to my laptop? Would that help?
Same Problem
MX. I am having the exact same issue but with Securemote VPN. I've looked through the registry and found the assigned address, but I'm wary of changing anything until I can find some more information.
Anyone out there ever change the DHCP configuration for their phone?
Somewhat related question?
Im attempting to route my connection on my mobile through a laptop acting as a wan bridge, then uplinking it into the router. The issue Im having is that XP and WM6 both use the same IP Block. Ive read and read and cant find much to tell me how to change the WM6 IP BLock to something like 192.168.2.1 rather than the default 192.168.0.1
Does anyone have any pointers? Ive looked through the registry. There MUST be a simple way to change a default.
To clarify my setup, I am using ICS Via USB into a UMPC laptop running XP. The UMPC is set to share that same connection back out over Ethernet. The ethernet runs into my WAN Uplink on the router and then back out via wifi/rj-45
This setup works as I have done it using Wifi with other networks, and I can chose the "Lan3" to share under the advanced settings on the UMPC. The reason I dont just share out via Wifi from the start is that Wifi on my Kaiser and Raphael both make the device to hot to charge, thusly killing the battery within a couple hrs of sharing. If I share via USB , it stays pretty cool and still charges.
Anyone have any pointers?
I have already tried tricking XP into using the Lan on another block but as soon as you try to share the USB lan, it reverts back to the 192.168.0.1
The only way I can imagine is a registry modification or a program change in ICS.
Thanks Much!

Wifi finally connected but cant browse

ok - i have gone through about 6 roms now and im constantly getting the same story.
i primarily use CM based roms cuz those are the only ones that seem to connect to ad-hoc networks shared from my computer. when i use CM7 roms the internet constantly connects and disconnects and when i use CM6 roms the phone says im connected but the PC doesnt see any present connections.. not even with connectify or the other hotspot programs seem to help
its strange cuz i also have an aria with a CM6 rom which connects flawlessly but the HD2 cant even be seen on the network.
PLEASE can anyone help me out with this problem? I've been awake for the past 2 days trying to fix this problem from all sorts of angles and i still cant connect to an ad-hoc wifi
i just tried connectify but the problem is the same, it says im connected but still there is no data coming from the computer. my MAC address appears fine so i have no idea what is causing the problem
not even changing the channels, editing wpa_supplicant, using static IP or DHCP... nothing helps..
just realized that if i try to connect while other devices like my aria are currently connected, the other devices get disconnected from the network.. no idea whats causing that but could use some insight
There is another longer thread with someone having the same or at least very similar problems. All non-Sense builds he's tried have wifi "connecting", but not actually transferring any data. When he loads up a Sense build, it all works fine. I'd look it up, but search unavailable for "10 minutes". I did comment on it though.
You wrote you try to setup an ad-hoc WiFi connection. This means you connect two devices together, not to a network (if you want to use your laptop as Internet bridge it's a more complex config).
You're talking about DHCP in ad-hoc connection... Do you setup a DHCP server on your computer (is this even possible)?
You said when you have other devices connected... this is not ad-hoc.
I think you try to connect the wrong way, sorry if I misunderstood but you have to provide more info for me to help.
As general advice:
Check for your ROM thread as initially their was a problem with all devices (with Android on HD2) having the same MAC (has been solved)
Start first to try to connect to a "normal" WiFi network
Make sur of the network config (try with basic b/g instead of n, n+...)
First step could be to setup a basic b/g network with DHCP enable, SSID broadcast, no security (wep,...): the kind of network you have when you take your access point out of the box.
No other advice... hope this will help.
Check the IP you have on your phone when connected. If it's kind of 169.xxx this can't work. It's auto IP from the device itself.
thanks for the response mate. Unfortunately, there are not many unsecured "routed" wifi connections available where i am to test - thats why i have to rely on the laptop to feed internet to my phones through an adhoc network.
let me explain what im doing:
im currently trying to use internet sharing from my laptop on my phones - i have 2 android phones, an aria and an HD2 - both of which connect to the internet through an ad-hoc wifi connection to the the laptop which has LAN internet connection.
the only way to connect is by issuing each device a static IP
eg. laptop - 192.168.0.1,
aria - 192.168.0.3,
HD2 - 192. 168.0.2
whenever i try to use DHCP i get "obtaining IP address" from the phones until it auto-disconnects.
using a static IP-Config, the aria connects and browses effortlessly. But the HD2 wont. Just says "connected" but the pc says "waiting for peers to connect" and doesnt feed any data to the HD2. Additionally, i found out that if the aria is already connected while attempting to connect the HD2, the aria gets kicked from the net..
if it helps, my rom is CMN V_2.0.. its the only one that gets me "connected", so to speak..
Then I will not be very helpful as I seldom use ad-hoc and bridge connection.
I connect my HD2 to my home network only (works in WEP or WPA anyway).
Just what I know:
1/ for ad-hoc you can't use DHCP (or you may have to activate a server on your laptop, this will add complexity to your setup)
2/ ad-hoc is only between 2 devices (1 laptop and 1 phone for ex), it could explain that when you connect the HD2 the other one is "kicked out".
3/ On your laptop you have to bridge your connections. Anyway, if with another device you can connect and broose, then your laptop setup has to be ok.
4/ if you're connected you may find a good IP in the HD2 (anyway if you use fix IP it has to be ok).
5/ to connect to a server you need a DNS. this is maybe what is missing. Usually when you connect to an access point you use the "AP IP". Not sure it can work here.
Try to manually put the DNS address in your HD2.
Just to make one test:
a/ from your laptop "ping" an Internet server (xda for ex).
--> Start menu, type "cmd", in the cmd windows type "ping server_name"
b/ from your HD2 try to connect with the IP instead of the server name.
This is the puprose of a DNS, to give your device the IP of a server.
NB: to find the DNS server used by your laptop:
In cmd type "ipconfig /all" it will give some info, you may find your DNS in it.
Sorry, no other idea...
I read again what you write and I think you can forget my previous post.
The answer from your laptop is different with the two phones.
I don't think it's a DNS problem.
Sorry, I will be useless! Hope someone with the same network config will help.
My home network is totally different.
If it's specific to your rom you can try to check in your ROM's post if other have the same problem. If no, try to ask there is someone has the same connection setup.
Edit: check this link, it seems that many people with non-sense build has problem with WiFi (I use sense build, always):
http://forum.xda-developers.com/showthread.php?t=907670
i would use a sense build but it seems all of them take up quite a lot of space from internal storage - im always left with 500-400Megs from the 1GB of space
its just odd because when i had a G1 (before i got my HD2) it connected effortlessly as well.. even more so, both aria and g1 could be connected to my laptop's adhoc simultaneously
OOOOHHH!!! i just rememberd hearing something about internet pass-through, but im not sure how ti works.. i will give it a try

HD2 Android WiFi Problem - Experience Sharing

The strangest thing I have even experienced, and perhaps can save you time and headache.
** Summary (for those not wanting to read the whole story, but just the fix)
If your HD2 Android can connect to your home WiFi but cannot access Internet, check if your WiFi network uses a 192.168.20.x IP subnet address. The HD2 Android's USB port uses the same subnet, causing a conflict. If you change your home WiFi to use any other subnet, it will work fine.
** The Long Story
Been reading and admiring all the Android developments in XDA-Developers for some time, finally decided it was time to give it a try. Picked one of the more popular and stable MDJ Froyo (Desire HD) for SD and loved it.
Problem is couldn't use the Internet via WiFi from my home. Internet via GPRS works fine, Internet via USB/PC works fine, just not WiFi. The connection to WiFi is successful, picks up a DHCP IP address just fine, but no Internet.
Oh well, perhaps there is a WiFi bug in HD2 Android not reported so never mind.
Wait! On a business trip, when HD2 Android connecting to the hotel's WiFi, Internet works fine! Subsequently in many other places WiFi works also flawlessly.
Must be the WiFi router at home. Not too surprising as I don't use much wireless but wired all my other computers (including notebook PCs), it is faster anyways.
So went back and tested WiFi on a notebook PC (prior to that upgraded the WiFi router's firmware), PC connects and works, but HD2 Android still not. Tried all kinds of WiFi and encryption combination (BGN, BG, G only, WPA2, WPA, WEP), just nothing works for HD2 Android. >> Conclusion: not the WiFi router at home, just HD2 Android working with this particular WiFi router.
Finally (but forgot what app it was), I saw the USB port binding to 192.168.20.x subnet, exactly the same as my LAN subnet in the WiFi router.
Bingo, changed the LAN subnet to something else (really anything is fine because it is inside a NAT so not an issue getting out to the Internet) and HD2 Android works like a charm.
Hope this helps.
sorry, can you explain more where to change in the router settings? i can't find anything to change in my wireless settings
Look up the LAN (local area network setting) in your router, where the IP address for most WiFi router is set to use 192.168.0.1
In my case the WiFi router is set to use 192.168.20.1 (and DHCP to pass out 192.168.20.x IP addresses).
By changing the IP address of the router, most router automatically change the DHCP assignment to corresponding subnet, say from 192.168.20.1 to 192.168.x.1
x can be any of 0 to 255, just not 20 for my case or it causes conflict with HD2 Android.
Hi Dear friend , And Thanks for sharing experiences.
I have the same problem , but my router's setting is :
IP Address : 192.168.1.1
and my Starting IP Address : 192.168.1.100
IP Pool Count : 101
DHCP : Enabled
NAT : Enabled
Default Route : YES
but no webpage loaded , the weather not work . but the meebo messenger
with my yahoo ID just worked .
so how can i fix it ?
tnx
I notice the conflict (with my 192.168.2.x) when I checked the HD2 IP addresses (after connecting to the WiFi). When I see the USB port bound to 192.168.2.x I know the two just conflict with each other.
If something (meebo messenger?) works but not others... could it be your HD2 not getting name resolution (DNS ?). Say if you try opening this do you get the Google page:
http://74.125.153.104/
** This is Google's page without the need to resolve via DNS.
webmice said:
I notice the conflict (with my 192.168.2.x) when I checked the HD2 IP addresses (after connecting to the WiFi). When I see the USB port bound to 192.168.2.x I know the two just conflict with each other.
If something (meebo messenger?) works but not others... could it be your HD2 not getting name resolution (DNS ?). Say if you try opening this do you get the Google page:
http://74.125.153.104/
** This is Google's page without the need to resolve via DNS.
Click to expand...
Click to collapse
hi my friend. I tested it with IP but nothing changed.
but some of the WebSites with SubDomain Loaded. like : http://2.farsihiphop.com
and can u tell me how can I know about the port nimber . like USB port.
i think my Android's Kernels have been changes. maybe i'll can find something like this (equal IP address)
thanks.
I have following problem : At my university i have hidden Wifi network, locked with password.. But, ofcourse, we cracked their password, and now we can use their WiFi.. But i cant use it.. On WM i could use it .. One more thing to mention, there is a proxy u need to setup before u can go on internet trough that Wifi network.. but thats not my concerne yet.. I cant get connected to that Wifi.. I make new conn, with password and other settings, and it keep saying : Connecting... Disconnected...
Any ideas to help me ?
Thanks in advance
I had the same problem. I solved it by updating the radio to version 2.14.50.2. I think this version works best.
For me 2.15.50.14 works, too...

[Q] VegaComb 8.1 Ad-Hoc Tether issues

I'm almost at the end of my tether (urgh) with this one.
I have a 10s freshly flashed to VegaComb 3.2 Build 8.1
Loving it except it flat refuses to tether in any way, shape or form with my mobile (HTC TP2 + Energy 6.5 ROM)
Bluetooth doesn't work (pairs but can't share internet) but we'll ignore that for now.
I'm using HTC's Wifi Router software. I know this is working because a PC can connect to it fine and browse the web.
VegaComb could see the AP from the outset. I have tried the wpa_supplicant file in the Xoom Ad-Hoc guide thread but I suspect it's identical to the one already in the ROM.
When I tap connect it asks for the WEP key then goes to Obtaining IP Address. It sits there doing this for quite some time then gives up.
If I set an IP manually it changes to Connected, and from a terminal window on the tablet I can ping the IP address on wlan0. However it can't ping the phone, or get any internet access. Pinging the phone gives Destination Host Unreachable.
I have checked the routing table and it looks fine.
I have tried this:
setprop net.hostname test
In case it was due to the long and not-super-compliant (has an underscore) default hostname breaking either DHCP or networking.
Wifi to a WPA2/PSK infrastructure AP works completely fine.
Any suggestions?
I see the latest OTA for the TF has fixed Ad-Hoc for them, I wonder if perhaps someone could tell us what changed to fix it?

(Solved) [Q] Android devices connects to wifi but no internet

I have three Android devices and two laptops, all of which I have been using on my home wifi network for years with only minor issues now and again. All of which I have been able to resolve. Two of the Android devices are phones and are rooted with custom roms and one is an unrooted Nexus 7.
Sunday, the 6th of April (yesterday) all 3 of the Android devices lost internet connectivity spontaneously but both laptops still access the internet with no problems over wifi. I was not doing anything with the network or any of the 3 devices. The Android devices all still connect to the wifi and they can all access all the other devices on the home network. I can ping my phone from my laptop and I can ping my laptop from the phone. I can access the files on my phone using AirDroid. I have reset every device on the network including the wifi access point and the cable modem. I called my ISP and they are saying that it might be due to the fact that my cable modem has reached "End of Life" and does not support newer Docsis 3.0 technology which for some reason now precludes Android devices from accessing the internet. I don't buy it. I read up briefly on Docsis 3.0 and it is supposed to be backward compatible with Docsis 1.0 and 2.0. I have not had a chance to see if my phone or the other devices will connect to the internet through other wifi networks but I suspect they will. My phone does connect through the 3g network.
Anybody having this issue and if so have you found a fix? My only solution at this point is to buy a newer cable modem that supports Docsis 3.0. It's not all that expensive but I don't want to buy one if I can't confirm that is the problem. The one I have seems to be working fine with the laptops and was working fine with the Android devices before it quit working. If that is the problem.
If anybody has any suggestions as to how I might test this I would be grateful.
Do you have a terminal app? Start pinging your router then 8.8.8.8. Then if you can ping Google, then it is something else.
Sent from my Nexus 5 using xda app-developers app
That did the trick. At least for now.
MrObvious said:
Do you have a terminal app? Start pinging your router then 8.8.8.8. Then if you can ping Google, then it is something else.
Click to expand...
Click to collapse
Dude, you nailed it. I pinged google and that didn't work and when I pinged the IP it worked. I also was able to ping that 8.8.8.8 ip. I knew then it had to be a DNS issue.
I then set my IP on the phone to static and then I used the Google dns server IPs 8.8.8.8 and 8.8.4.4 as my DNS servers and Bingo, it worked. Why was it working before? What changed overnight? And why did it occur to all three Android devices at the same time. Up until now I had been using DHCP and everything worked fine. I even went for a walk around the block and found a couple of unsecured wifi networks and connected to them and subsequently the internet. But when I got home and connected to my network, no joy. However, as stated in the OP, our wireless laptops work just fine. Maybe Comcast is sending out the wrong DNS IP or they just somehow no longer support Android???
Electraglider said:
Dude, you nailed it. I pinged google and that didn't work and when I pinged the IP it worked. I also was able to ping that 8.8.8.8 ip. I knew then it had to be a DNS issue.
I then set my IP on the phone to static and then I used the Google dns server IPs 8.8.8.8 and 8.8.4.4 as my DNS servers and Bingo, it worked. Why was it working before? What changed overnight? And why did it occur to all three Android devices at the same time. Up until now I had been using DHCP and everything worked fine. I even went for a walk around the block and found a couple of unsecured wifi networks and connected to them and subsequently the internet. But when I got home and connected to my network, no joy. However, as stated in the OP, our wireless laptops work just fine. Maybe Comcast is sending out the wrong DNS IP or they just somehow no longer support Android???
Click to expand...
Click to collapse
I am having this exact same problem. My laptop connects to wifi and my desktop, ps3, and TV via Ethernet but all of a sudden about an hour ago my Nexus 5 and Nexus 7 can no longer access the internet. They are connected to the network however the signal indicators in the quick settings is orange and I can't access the internet.
Could you tell me exactly what you did to fix this as I am not good with networking type stuff at all...you mention pinging and DNS servers and I have no clue what you're talking about.
BTW I have AT&T U-Verse.
EDIT: I ping'd google in my phones terminal and it didn't work....I ping'd my router and that worked(I think it did anyway...it kept pinging and I had to close terminal to stop it)
I ping'd 8.8.8.8 and got Destination Net Unreachable.
Jonnyredcorn said:
I am having this exact same problem. My laptop connects to wifi and my desktop, ps3, and TV via Ethernet but all of a sudden about an hour ago my Nexus 5 and Nexus 7 can no longer access the internet. They are connected to the network however the signal indicators in the quick settings is orange and I can't access the internet.
Could you tell me exactly what you did to fix this as I am not good with networking type stuff at all...you mention pinging and DNS servers and I have no clue what you're talking about.
BTW I have AT&T U-Verse.
EDIT: I ping'd google in my phones terminal and it didn't work....I ping'd my router and that worked(I think it did anyway...it kept pinging and I had to close terminal to stop it)
I ping'd 8.8.8.8 and got Destination Net Unreachable.
Click to expand...
Click to collapse
I don't know what AT&T U-Verse is but the problem I had was that for some reason my Android devices would no longer access anything outside my home network. I used a terminal app that I have on my phone and I was able to ping 8.8.8.8 which I understand is one of Google's DNS servers. DNS stands for (Domain Name Service) which allows us humans to type in meaningful names in a browser rather than the IP address. If you can enter this http://74.125.224.72/ into your browser on your Android device you should get to Google. If that works then you need to point your device to a DNS other than the one assigned by your ISP. I just used 8.8.8.8 and that solved my problem. You can also change the DNS server in your gateway device, whatever it happens to be, and that would fix the problem as well. That is assuming you can reach Google using the IP address I have mentioned previously.
There should be all sorts of tutorials and suggestions regarding how you can make the necessary changes. It all depends on your device and network appliances.

Categories

Resources