DNS problem with switching from 3G to Wifi - Nexus One General

Hi guys,
i've a problem with Exchange email and switch between my corporate wifi and 3G.
When I arrive at work, my N1 connect to the wifi area inside my corporate. At this point the phone get internal DNS and use for exchange the private IP and not the public with 3G. But the application stay about 10mins to understand that IP is changed.
Theres is a method to flush cache when connecting to a wifi network? This is very annoying.. I don't want to change the AP to use a different route and public IP for my exchange server.
Thanks!

Related

Terminal Server/Remote Desktop connection over VPN?

I'm trying to connect to my server at work through the Jasjar's Terminal Services Client over a VPN and it's not working. The VPN connects and I can open up a web site on the server using an internal address, but the Terminal Services Client just times out. I can connect with the Terminal Services Client to other servers without using the VPN and I can connect through the VPN with a PC, so I don't know what's wrong. Any thoughts?
Thanks,
Brett
are you using internal dns name or internal ip, if dns the ip should work and its cos your not internally resolving, i have this prob with when i vpn in to my server, dns does eventually resolve but ip is instant
Is the vpn terminal services restricted by IP address? Are you using gprs or wifi? If gprs maybe the ip range is not set up on the vpn??? If using gprs are you using the apn internet3.voicestream.com?
Sorry, I know, not much help. Mine seems to work
I'm trying to connect by IP address over wifi. The Jasjar does recognize that it should go over the VPN because it will automatically make the VPN connection when I try to start the TSC connection.
I'm glad to hear that it's working for you guys, though, so at least I know it's possible.
Thanks,
Brett
TSC/RDP
I am also having difficulty in this area and havent been able to resolve when using WIFI from my AP at home over ADSL to the Public IP address, then a TSC/RDP connection to the internal network IP address of our TS box.
I can easily get to the TS box via the WIFI AP at work directly, just not from the home AP. I can easily use the home AP for my home laptops to connect to work, so I know the systems at both end are up and operational.
In summary, I just dont know why the JJ doesnt VPN via the home AP over the ADSL to public IP to use the TSC to the internal IP of the TS box.
I just wanted to follow up on this. For some reason both of the servers I was trying to RDP into behind the firewall were in some wierd state and they weren't accepting any connections from anything but my desktop PC. I rebooted them today and that solved the problem I was having.
Thanks,
Brett

Wifi but no Internet

Since I bought the HD2 before 2 month and after 2 Rom upgrade I still have the same Wifi problem. I can connect to my home network and the Router can see the HD2 but I can not connect to the Internet through the Wifi. All other computers and PS3 connect just fine. Ip adress seems also ok.
Please help ?
I did have the same problem a while back, and it occured after I used the wifi router. Have you ever used that, even just to try it?
No I never tried the Wifi Router even once and changed rom twice.
quincy67 said:
No I never tried the Wifi Router even once and changed rom twice.
Click to expand...
Click to collapse
Probably not the same issue then. For some reason I had it trying to give me a static IP address that my router wouldn't allow (I've got MAC forwarding on my router to make sure that nothing other than the 4 things I have can connect to it).
When you connect to the wifi, can you open the router admin on your HD2?
Thanks for your help. No I cannot access the router from the HD2, could it be a proxy issue. I am not using a proxy for the internet
quincy67 said:
Thanks for your help. No I cannot access the router from the HD2, could it be a proxy issue. I am not using a proxy for the internet
Click to expand...
Click to collapse
No worries mate - I hope I can help!
It's not a proxy issue, if you're not using a proxy server. Could you try this and let me know how you get on?
Start your wifi connection
Go to all settings, connection, wifi, wireless networks, network adapters tab
Select the Broadcom DHD adapter
It should be set to use a server assigned IP address, not a static one. It probably is, but it's worth checking.
When I open Wifi settings I can only open advanced no wireless networks or network adapter tab. How do I get there ?
quincy67 said:
When I open Wifi settings I can only open advanced no wireless networks or network adapter tab. How do I get there ?
Click to expand...
Click to collapse
After you've started wifi, go to the settings tab, menu and all settings. Then carry on the instructions in the last post.
Found the all settings, the DHD adapter is set to server assigned. Any other ideas ?
...
Well i think we have the same problem.. If you try to connect your wireless, do you get the failure after pressing get IP: Cannot obtain serverassigned IP....
http://forum.xda-developers.com/showthread.php?t=627654 my thread was this..
I found out that if i you go under WIFI>ADVANCED>press on the NETWORKCARD under the field "SSID"> then go to the networkcard>Broadcom 802.11 DHD network adapter>remove the pin in use serverassigned, and write a static ip: example: IP: 192.168.1.23
UNDERMASK: 255.255.255.0
STANDARDgateway: 192.168.1.1
That helped for me, though i cannot use that fix because my college wont accept the static IP. so it works for like 2 mins and then it disconnect. hehe.
Heh - that would be pretty much my next suggestion.
Try a static IP address and see if that works. It's not a long-term solution, but it would determine whether it's your phone or the router that's having the problem.
Last time I set a static IP address, I liked it and left it like that, but I found (after a couple of days with no internet access) that it tries to assign the same IP address when you use your data connection for internet access. Your service provider is very unlikely to allow you to use the same IP address, so you probably can't connect.
Like I said, it's a test to see if you can connect - not a solution.
Do you know what IP addresses your router will allow you to use? Do you have a specified range of addresses, for example?
I have this exact same problem. I can connect to wifi networks at home, office, etc... But no network access. It connects to the AP's, gives me an IP Address, but I can't ping anything!
This thing gets more and more frustrating daily.
skwizod said:
I have this exact same problem. I can connect to wifi networks at home, office, etc... But no network access. It connects to the AP's, gives me an IP Address, but I can't ping anything!
This thing gets more and more frustrating daily.
Click to expand...
Click to collapse
It also happened to me. Turns out it was the router I was using. I bought a new one earlier today and problem solved!
Hi!
I got a d-link dgl-4300 router, and had problem getting a IP adr. from it. When I gave my HD2 a static IP it worked, but very slow. After I changed from DHD network adapter to NE 2000 compatible ethernet driver it get IP from router and I can browse internet through wifi fast. Maybe it can help u 2.
regards Xes.

Wifi

Hello,
When looking in the wifi options of my HD2 I saw an option to set a static IP adres with dns etc.
Since I use static IP addresses at home and DHCP disabled, I set it up with a static IP. Works fine...at home. When I was at work I wanted to connect to the wifi there, but was unable to do so, probably because he was trying to use the static IP from home...
Why isn't the HD2 switching between these connections/IP settings?....
If this is not possible, why did they implement the option for a static IP on a mobile phone?
Ty
Just like on your laptop, if you assign a static IP it will keep it even if you move to work and connect there. You have to remove it manually to switch back to DHCP. Nothing uncommon.
If this is not possible, why did they implement the option for a static IP on a mobile phone?
Click to expand...
Click to collapse
Uhm didn't you give the answer? To connect to a network that has no DHCP...
I mean something as network profiles for each wireless network.
For example on my previous phone, a Samsung Jet, when I looked for wireless networks, I could set up everything for each different network he found.
Meaning when I selected my wifi from home he used the settings with the static IP from that profile, and when I was at work he selected the wireless profile with a DHCP IP from work.
Now I only have 1 set of options regardless of where I want to connect.
A static IP is not really "mobile" friendly to
There's nothing to do that by default in WM.
Seems theres an app for it though:
http://www.freewarepocketpc.net/ppc-download-wifi-profiles-v0-0-2.html
A static IP is not really "mobile" friendly to
Click to expand...
Click to collapse
Well, add a DHCP server at home
The static IP address is a setting for the network card, as you well know. The network card does not change just because you go to a different location. Also, due to a bug with Windows Mobile, you may want to forget about using a static IP address. I don't know about 6.5, but with 6.1 it caused my data connection to try and use the same IP address, which was obviously an issue with my service provider, who just refused the connection every time. I was without a data connection for a day, before I figured out what the problem was.

[Q] Is it possible to renew IP address over GPRS/3G?

I'm using a Nexus One (Android) on Vodafone in Australia and would like to know if it's possible to release/renew an IP address over GPRS/3G.
I've tried using netcfg, ifconfig but none of them seem to actually get another IP. If I shutdown data and start it again, I get another IP.
Any ideas?
mrjarhed said:
I'm using a Nexus One (Android) on Vodafone in Australia and would like to know if it's possible to release/renew an IP address over GPRS/3G.
I've tried using netcfg, ifconfig but none of them seem to actually get another IP. If I shutdown data and start it again, I get another IP.
Any ideas?
Click to expand...
Click to collapse
Did you try turning airplane mode on and off? That may cause you to get a new IP.
In GPRS your IP is decided by something called a "PDP Context" (a sort of "contract" you have with the Network that decides which data service you can access, what would be the speed of your connection (QoS) and your IP address).
This PDP Context is not easily killed and that's the beauty of the thing : when you're in bad coverage or moving from cell to cell, this PDP permits you to keep your data connection (it'll be probably slower but your web page will go on loading when you'll get coverage again etc...)
So in a word, to renew your IP you must recreate your PDP Context and in order to do that your must reconnect to the network : airplane mode, turn your device off/on or cut data then turning it on like you've just said. No other way...
I'm not an linux expert but I think the "renew" command send an order to the network card. In your phone there's not really a network card but these network protocols, so that's why it doesn't work for me...
I'll search but I think will be the same with 3G Networks...

[Q] Connect to External IP from inside local network?

Where I work we use a software program that we connect to using our smartphones (some android, some windows mobile). To access the site we type the external (static) IP address and port into the phone's browser. However we do not get a very good cell signal in our building, so indoors we will use the wifi usually. This means instead of connecting to the external IP address, I have to use the internal IP to connect. Does anyone know of a way that I can connect using the external IP even when connected to the local wifi network so I don't need to change the IP I'm connecting to every time i go in and out of the building?
Have you tried using the external IP while on WiFi at work. It's simply a public IP and NAT should redirect it to the private IP address. Essentially data will travel out to the Internet and back to the Intranet.
Do you have the FQDN of the server? Ask your IT department, I'm sure they'd tell you the FQDN. You should be able to use that internally & externally. If you are connected to WiFi then internal DNS servers should resolve it to the local address and if you are external then public DNS records should help you find your way to the public IP.
+1 on what michaelkahl said. You will need to have your network dept to add DNS records if they don't already exist. Externally the FQDN (i.e. server.yourcompany.com) would resolve to the external public IP while internal DNS servers would resolve to the internal private IP.
We do this at my company for users connecting to a terminal server. No matter if they are at home or in the office they can use ts.ourcompany.com to connect to the server.

Categories

Resources