Hi, I recently got my first WM device with Wi-fi (T-Mobile Vario III). I've been trying to get Wi-fi working with my network, but it doesn't seem to want to play!
I'm using WPA with AES, and using 802.1X authentication (my access point connects to my FreeRADIUS server). The same Linux box that runs the RADIUS server also runs the DHCP server for the network.
I'm using EAP-TLS authentication for the network (I based the setup for the network on this http://wiki.freeradius.org/WPA_HOWTO).
I've installed my root CA cert and intermediate CA cert (not covered in the howto, but I prefer to use and intermediate 'working' CA "just in case" ) on the Vario III. I also generated a client certificate/key for the Vario and installed it successfully on the device.
I then went on to Settings->Connections->Wi-fi and chose to add a new connection and did the following:
1) Entered the network name (SSID) and selected the "This is a hidden network" checkbox (also set it to be connecting to "The Internet" - I had to go to the network adapters tab as well and set the wi-fi adapter to be "The Internet" from "Work")
2) Selected authentication to be WPA and Data Encryption to be AES.
3) Selected the EAP type to be "Smart Card or Certificate" and went to properties. In the properties box I was shown the only personal certificate I have (i.e. the client certificate that I just installed for network authentication)
I then connect to the network, and get a User Name/Domain dialog (I don't really understand why). This is pre-populated with my name, but I've tried the following in this box (the only way to get it back after having entered something appears to be a hard reset - but there must be another way?):
1) The default provided (i.e. my name)
2) The CN for the personal certificate
3) Nothing
In each case I leave the 'Domain' field empty. With all three of the above the FreeRADIUS server reports successful authentication and the Vario III appears to be connected to the network. If I go to Settings->Connections->Wireless LAN, on the Advanced tab it says that it is 'Associated to network'
The problem is that even though I'm connected to the network and have been allocated an IP address (I have my DHCP server assign a specific IP address to specific MAC addresses), I cannot connect to any websites - I don't have anything over than Pocket IE installed on the device yet. I can't even connect to the management page for the AP that the Vario III is connected to.
This setup works perfectly from a WinXP box.
Has anyone got any ideas on what could be going wrong, or advise on how I can troubleshoot? Anyone know if there are logs stored on the device for wireless connectivity (either a log file or something like the event viewer in XP)?
Any help appreciated.
Thanks
Hi,
I have WiFi setup and running on my device, XDA Orbit, using WPA and AES.
First of all, whilst inside the Network Adapters tab, make sure that:
'My network card connects to': WORK
Secondly, in 'tap adapter to modify settings' you'll need to click on a particular network adapter card inorder to configure it.
In my case, I chose the SDIO WLAN Wireless Adapter. I then clicked the radio button 'Use specific IP address' and configured the IP address of my device, exactly as it is assigned in my Netgear wireless router.
If you haven't assigned a specific IP address to your device, just click the radio button next to 'Use server-assigned IP address'.
On the 'Advanced' tab of Wireless LAN, mine also reads 'Associated to network' as the status. It also has the MAC address of my device, followed by its IP address. The three fields were all filled up automatically, by the router. I never filled this up. However, I configured the router with the necessary details.
Troubleshooting:
1. Ping your device from your PC or notebook.
The idea is to be able to see if there is communication between your router and the device.
Example: at c:\>ping ......... (.....being the name or IP address of your device as entered in the router)
2. If you have a firewall, disable it now and ping again. This step is necessary because the firewall could be stopping your device from connecting to the router if it is not configured in the firewall's access list.
3. Go to your PC/notebook and type: ipconfig /all at the command prompt.
Hopefully, you should see the device's name come up as well as other parameters, including its MAC address.
4. Ensure that the device is allowed access to your internal network and configured as such, inside the router, using MAC address filtering. This means that you MUST ensure that the correct MAC address of the device has been entered.
Summary:
1. Configure your device inside the router - name/mac address or name/IP address
2. Configure your firewall to accept connections from the device
3. Ping the device as well as the router
4. If you have another computer, try and see if you can connect to the router from there.
5. Ensure that the router, PC or PPC are all on the same subnet. This is crucially important for communication amongst the devices.
By typing ipconfig /all, you will be able to determine as to whether all the computers as well as the PPC on your network are on the same subnet.
Many a network have failed through this problem.
Hope this helps.
kiwi992.
Related
Hi guys,
I don’t know you guys can help me or not well My problem is
I’m trying to connect my I-Mate PDA2k to Senao Wireless Assess point my access point connected with my network switch .My access point showing WAN light and on my mobile also showing “W” its mean PDA getting signals but I can’t access internet from my PDA.
I don’t know how to configure access point I took access point without catalog and serial cord I don’t we use serial cord or not.
In simple words I want 2 access internet without GPRS.
Information:
SENAO
2-port switch wireless router printer server
SL-2511SR PLUS(F200)
MAC 005018578BO
I-Mate PDA2k Microsoft
OS windows 2003 CE
Local network
IP Class Local = 192.168.0.XX
Internet Sharing = ON
Look for help on configuring your the Senao web site for configuring your wireless router: www.senao.com.tw. I have an access point and it's working like a charm with my Blue Angel.
If you don't have a DHCP server or you have not configured your wireless router as a DHCP server, follow these procedures on your PDA:
Tap Start, Settings, Connections (tab), Network Cards (icon), Network Adapters (tab), tiacxwln Compatible Wireless Etherne....
Then check: Use specific IP address. You'll need to set values for IP Address, Subnet mask, and Default gateway. You IP address should be (quoting you) something like 192.168.0.xxx and subnet mask is probably 255.255.255.0
Also be sure to tap on Name Servers, and fill in the info there, you'll need a DNS address to access the Internet.
Finally, to configure your proxy server, go back to Connections, Advanced, Select Networks, and create a new connections and configure the proxy server accordingly, if it exists. If you're supposed to connect thru SecureNAT (ie Default gateway), you can simply ignore this step, or create a network profile that "connects you to the Internet" without specifying a proxy server.
into teeny weeny little pieces.
I feel so much better now!!
Anyways...I have a wireless home network up and running and would like to connet the xda to it.
I can connect to the router no probs but IE cant connect to the web. it says "the page you are looking for cannot be found".
Any ideas why I can connect to the router but not to the web?
Cheers folks - thanks
I know how you feel. There are a couple things you have to do.
First check that you have selected to connect via "work".
Then ensure that the IP address shown is in the range of 192.168.0.X
had no problems with my wifi on my home network, as ale210p said, I think it's with the way your connect via "work" or "ISP" is configured
hiya folks
thanks for coming to my rescue..hopefully i can get this thing on the road.
- in connections - advanced - select networks. both selections are set to "my work network"
- in configure network adapters - network adapters. the "my network connects me to" dropdown is selected to work.
- where can i check my ip address on the device?
Alhtough I am connected to my wireless network as that what the wireless LAN manager says?
any ideas guys?
many thanks
Is your internet provider checking the MAC address? my provider checks for the MAC address and hence I had to register my MAC address first with the provider.
I'm pretty sure my ISP isnt checking my MAC address as my PC and other computer on the network work fine with regards to internet access and I never gave the MAC addresses to the ISP.
However, my modem router does have mac filtering enabled. I have copied the MAC address of the xda to the allowed list. However I've also tried to turn this filter off and the result was the same....I still could connect to my home wireless network but had the same error message when trying to surf through pocket IE.
Any other ideas on why I can connect to the network but IE wont let me surf?
thanks again
I'm having exactly the same problem as Richard. What I don't understand is, I can drive around and find free residential wireless hotspots and surf the net , but I can't do it on my own WLAN!
IP info OK?
These symptoms could indicate that vital IP info is missing on your XDA.
Does your XDA get an IP address + gateway address + DNS server address from the router's DHCP server? Use vxIPConfig to determine this http://www.cam.com/windowsce.html
I know for a fact that many times (not always) my QTEK 9090 does NOT get the required IP info from my SMC Barricade 2804WBR b/g wireless router, so I started using fixed addresses on my QTEK.
If I use DHCP, many times I can connect to the router but am unable to access the internet... Because the QTEK has not received an IP address/gateway address/DNS server address in those cases. Fixed addresses always work.
whoa
thanks for the advice. i installed the app. rubbed the sticks together and there were sparks i tell you!!! but what does it all mean?
the ip address is 169.254.84.245
subnet mask 255.255.0.0
dhcp server 255.255.255.255
im no tekkie so am not sure what the above means? does it provide any clues?
thanks for the advice so far
just an update
i manually inputted the ip address assigned to my xda by the router as i have dhcp disabled on the router.
nonetheless it sill doesnt let me connect to the net but i can connect to the wlan?
richard321_blue said:
just an update
i manually inputted the ip address assigned to my xda by the router as i have dhcp disabled on the router.
nonetheless it sill doesnt let me connect to the net but i can connect to the wlan?
Click to expand...
Click to collapse
Fixed IP address is good, but have you also put in the gateway address and DNS server address? Normally the gateway address + DNS server address = router address.
If your routers IP address would be 192.168.1.1 (quite common address), then your IP address could be 192.168.1.2, gateway address would be 192.168.1.1 and DNS server (name server) address also 192.168.1.1.
BTW; this:
the ip address is 169.254.84.245
subnet mask 255.255.0.0
dhcp server 255.255.255.255 <========= !!!!
means that DHCP didn't work!
I suppose that when you state "connect to the wlan" you mean that you can 'see' machines on your local network? Or what? That would make sense because you wouldn't need a gateway address and DNS server address for that normally (broadcasts).
siliconaddict....you're a genius!
finally it works, it works i say.
fantastic.
thanks to all for the advice and feedback - much appreciated.
can i stoke the fire and ask how i can sync via wifi as well?
never done it myself, but here is a guide
I have never synced over WiFi myself, but here are some guides:
http://theillustratednetwork.mvps.org/WM2003/ActiveSync/WM2003ActiveSyncConfiguration.html
http://forum.xda-developers.com/viewtopic.php?p=132820
Please note that the next version of Activesync, version 4, doesn't do syncing over Wifi anymore...
Good luck!
Sorry to be a complete noob, but:
1. How do I find out the IP Address of the XDA (Is it in Wireless LAN Manager, under "current config" and "IP:"?)
2. My Netgear USB WLAN is showing an IP of "0.0.0.0" (on command prompt >> ipconfig) How do I change this?
Thanks
Q & A
A 1: On your PDA use Use vxIPConfig for this http://www.cam.com/windowsce.html. Unfortunately the OS doesn't have a standard utility for it, like 'ipconfig'.
A 2: Does your router hand out IP addresses at all? Or: is DHCP enabled on your router? If true, do you have the correct drivers loaded for that USB NIC? In Device Manager how does it look? Yellow exclamation mark? Can you post the output of 'ipconfig /all'.
I have opened WIFI and connected to my NETGEAR AP, my pda appears in AP's connecting list. But while I open PIE I can't access any website. It always says "Locating", and "The page can not be found" after a while.
Below is my configuration, any problem?
1. Connections -> advanced -> Select Networks -> both are set to "MY WORK NETWORK" -> Edit... -> Proxy Settings -> check the option "This network connects to the Internet".
2. Network cards -> wireless -> in the found AP SSID, set connects to "Internet"
Network cards -> Network Adapters -> My network card connects to "The internet"
I have tried several different configs, but none works.
I am really crazy about it!!
Sounds like a DNS problem....
How are you assigning IP and DNS settings to your phone? Manually, or DHCP from the Netgear?
I just leave it "Use server-assigned IP address". When wifi connected, i can see my pda address is "192.168.1.2" and the AP is "192.168.1.1"
confused...
My laptop works well with WIFI at the same time.
Ive had this with a few DHCP servers in routers, half of the ones I use allocate IP fine but fail to send DNS server details.
Leave IP address allocation as Auto and manually enter your DNS servers. That should fix it.
if you've got an ip address in the phone, try typing the IP address of a server, eg. microsoft, in the browser....if it connects, then it proves it's a DNS problem.....then, as suggested....add the DNS settings manually...
Thanks Britman and Vap. It works now after I fill in the DNS server in wireless adapter. I should have remembered this.
omg...im having the same problem now. i know i had my wifi working because it worked out of the box and i was using agile messenger earlier today.
my settings are the same. what happened? i tried putting the DNS server in with no luck.
WiFi on Wizard
Try set "Power Mode" in "WiFi Settings" on Best Performance". To me WORK.
Re: WiFi on Wizard
pinelesss said:
Try set "Power Mode" in "WiFi Settings" on Best Performance". To me WORK.
Click to expand...
Click to collapse
wow, you are good. heres a virtual pat on the back
Indeed, although I'm very happy with the wifi in the Wizard in general (considering size and power limitations), it's certainly a long way shy of the signal strength of the internal broadcom adapter in my laptop.
Same problem
I am also having this same problem, but all this DNS stuff is a bit over my head. On the settings on my wizard I see the ip address, and the mac address ( under wi-fi settings -> advanced tab). I logged into my router and went to the DHCP page. On that page, it shows that DHCP is enabled and if I click on the Clients button, it shows my device with the coresponding ip and mac. On the DHCP page, I can enter DNS numbers, but where do I get these numbers?
The DNS settings (servers) are provided by your ISP
Depending on the router, if you look at the general or status pages, you should see the DNS ip addresses. Or, if you already have a windows pc connected on the same router, simply type 'ipconfig /all' at a coomand prompt - this will show you the addresses.
So what happens when you're at an airport or somewhere public with wifi? How do you know what the DNS settings are to enter them?
Most airport/public access locations with wifi setups normally have their DHCP servers configured with the DNS settings all in place (ie....nothing for you to do)....
However, some places will require the user to enter some information (for example, dns settings, WEP key, etc)
Similar issue
Can you disable the attempt by the phone to go to Cigular GPRS when you try to use a browser?
Hey everyone. Well the title says it all. Is it possible to manually type in an IP address to a specific router instead of the phone actually automatically giving me one?? If not, are there any programs that can accomplish this?
thanks
Easy there, you want to enter a fixed IP in your router in the computer? Or you want to select IP in the case of its type in the IP network on your phone?
Depending on the router, it works with DHCP, Auto IP, this is more of the router for WLAN network, it is configured with an IP again, to not be that your network is DHCP, it?
Computer (fixed) -> Router (fixed) + Router (DHCP wlan)
Any wishes?
thanks
If you have the IP of your wireless network, and only enter the track in his case:
Ex: 192.168.0.x
Ja, if your network is DHCP, assigns an IP Auto, and so leave them the phone!
Do not confuse this: If the connection of your home is wireless (radio) you will configure your phone to use the same sign, so you need a wi-fi router
Yes, there is a way to set a static ip on your WM device. All you have to do is go to Settings, Select the Connections tab at the bottom, select WI-FI, Select Network Adapters tab, Make sure "The Internet" is selected from the drop down menu, Select IEEE 802.11b/g Compatible WI-FI Adapter, select Use specific IP Address and fill in the requested info.
I never really thought about it until you asked. i knew there was a way to do it i just never took the time to look at the options.
I hope this helps, if not let me know.
I'm having trouble understanding your question. the phone doesnt specify the IP, if the router has DHCP enabled, then it'll automatically assign the phone the IP. You want it so that when you're on your WLAN, the IP address is fixed? If that's the case, then go into your router's setting and reserve a specific IP that you want your phone to have. All you have to do is input your phone's MAC address into the router's setting with the desirable IP address. The next time you're on WIFI, your phone will have the IP that you assigned.
Here is basically a run-down of what I did. I hope this helps everyone out.
Device specs:
Samsung Galaxy Player 4.0 Rooted
Network Specs:
DSL Modem
Router (DHCP with WPA security and does not have MAC Filtering)
4 Access Points (all on same channel broadcasting same SSID with same WPA security DHCP)
2 Servers - Static IPs
-Server 1 - DNS (not sure if it is actually a DNS server or just forwards the requests). Also storage/application server.
-Server 2 - Storage/Application/SQL server
Many clients on network (unsure of total amount but somewhere around 30 would be my guess)
Problem (note this is only on this network, every other network wifi
works just fine):
Wifi Connected but no internet.
My Windows 7 laptop (same network) gets internet access with no problems
No reports of any other clients on the network having this issue
Device has assigned a good DHCP IP address
Subnet, Gateway, and DNS IPs are all correct (they match the ones on my laptop)
Connection strength is great (speed is 52mbps)
Device has full local access (intranet). It can access all files and other devices on the network.
On occasion the device will get "internet" access for a brief period of time but will go back to "intranet" access only after a few minutes.
Tests Performed (My android device will be referred to as "device" my laptop will be reffered to as "laptop". All tests were performed with both laptop and device connected to the network in question, unless otherwise specified, and device was not able to access internet):
Ping from laptop to device - Successful
Ping from device to laptop - Successful
Ping from laptop to gateway - Successful
Ping from device to gateway - Failed
Resolve DNS IP on device - Successful
Resolve DNS IP on laptop - Successful
Ping from laptop to google - Successful
Ping from device to google - Failed
Small FTP file transfer from laptop to device - Successful
Small FTP file transfer from device to laptop - Successful
Device has no problems on other networks (tried un-secured, WEP, and WPA/WPA2)
Connect device using Google public DNS servers
-Intranet - Successful
-Internet - Failed
-Resolve DNS IP - Successful
Connect laptop using Google public DNS servers
-Intranet - Successful
-Internet - Successful
-Resolve DNS IP - Successful
More that I cannot remember right now. Will add as they come to me.
At this point I gave up for a few days. Every test and every bit of research returned nothing. I had spent many many hours trying to figure this out and testing theories and nothing ever pointed me in the right direction of where to go. Nothing made sense EVERY single setting is the same is on my laptop. Started thinking maybe there was something in the router that could be blocking Android devices (since it is a work network). Although I am not a aware of a router feature to do that I figure I would try some more tests.
Testing Round 2 (same conditions as initial tests):
Configured laptop to be a Wifi hotspot.
-From CMD command 1: netsh wlan set hostednetwork mode=allow ssid=AP key=XXXXXXXXX
-From CMD command 2: netsh wlan start hostednetwork
-From network and sharing center: Shared the physical wireless network connection with the Microsoft Virtual WiFi Miniport Adapter.
-The above commands create a virtual wireless adapter and set it broadcast the specified SSID with the specified WPA security key. Then you can choose any available, connected, physical, internet connection and share it's internet connection with the virtual connection, thus theorectically turning my laptop into a 5th access point on the network.
Connected device to the SSID "AP"
-Intranet - Successful
-Internet - SUCCESSFUL
Horray!!!! Progress! So with the above information I went to our IT guy and we sat down and looked at some stuff (settings in the router, access points, and servers). After digging and digging around within the settings we came up with.... you guessed it NOTHING!!!!!!!!!!!!! Now I was in "Its on!" mode and decided I wasn't going to stop until I found out at least what was causing the problem. My IT guy was also very determined to figure this out as he doesn't like to get beat either. So we both went at it. We decided the first thing to do was make a very detailed network map containing every piece of information we could possibly find. We did this all from his machine (laptop with Windows 7) and wrote everything down on paper (we even used a piece of our 36" wide roll paper from our plotter to make sure everything would fit) and made an excel spredsheet with all the info. Now with the newly aquired network information I decided I was going to do more testing.
Testing Round 3 (same conditions as initial test):
Map the entire network again gathering every piece of information possible just like before but this time using MY DEVICE (not my laptop).
Compare
Finally! I have found the problem! As stated before my device was getting the correct gateway IP (XXX.XXX.XXX.1) which is the same as my laptop). However the assigned MAC address OF THE GATEWAY (router) to my device is XX:XX:XX:XX:XX:FB but the MAC address OF THE GATEWAY (router) to my laptop is XX:XX:XX:XX:XX:FA. Got back with our IT guy and we found (by looking the router config) that the XX:XX:XX:XX:XX:FA is the LAN MAC address for the router. The XX:XX:XX:XX:XX:FB is the WAN MAC address for the router.
Testing Round 4 (same conditions as intial test):
Connected laptop to network, confirmed XX:XX:XX:XX:XX:FA MAC address was assigned for the gateway by running "arp -a" in CMD.
-Pinged google - Passed
-Changed assigned MAC address of gateway by running "arp -s XXX.XXX.XXX.1 XX:XX:XX:XX:XX:FB" in CMD
-Verified new MAC address assignment by running "arp -a" in CMD
-Pinged google - Failed
-Changed the MAC back and pinged google again - Successful
Connected device to network, confirmed XX:XX:XX:XX:XX:FB MAC address was assigned for the gateway by running "arp -a" in Terminal.
-Pinged google - Failed
-Changed assigned MAC address of gateway by running "su" then "arp -s XXX.XXX.XXX.1 XX:XX:XX:XX:XX:FA" in Terminal
-Verified new MAC address assignment by running "arp -a" in Terminal
-Pinged google - Successful
-Changed the MAC back and pinged google again - Failed
Conclusion:
For some reason the device is getting assigned the correct gateway IP but the wrong gateway MAC. This is allowing the device to connect to the network but not communicate with the router. Since it can't communicate with the router any "Internet" requests time out because the packets have to go through the router to make it to the "Internet". Since it is not blocked from the network it can still connect and communicate with other clients on the "Intranet" but not the router.
Our IT guy thinks there is a client somewhere on the network in the same subnet that is configured in this matter and it just so happens that for some reason my device is picking that up when it connects. He is going to look into it more when time permits but since we are very busy and we have already spent way too much time on this, and I now know at least what the issue is, he is going to move on for now.
Why would my device be picking up the WAN MAC address of the router?
What would be responsible for assigning a WAN or LAN MAC address?
How can I prevent this?
Has anyone ever experienced anything like this?
Temporary Solution (must be rooted):
Open your favorite terminal app on your device.
-Enter "su" (without quotes)
-Enter "arp -s [Your gateway IP here] [Your gateway's LAN MAC address here]
Browse away!!!!!
Hello.
I had the same problem, that I could connect to router but had no connection to internet.
Read this post and started to do some research on my router. When I configurated my router, there was an option to clone MAC address. And of course to get it done fast I cloned MAC. And now I checked that it cloned my laptop MAC. Changed MAC from laptop to Routers MAC (must be on label under router) and got a really nice internet connection.
Hi, I think I have the same problem with the same device, Samsung Galaxy Player 4, but even if my device is rooted I still can't excecute the "arp" command from the Terminal application (there is no "arp" command). How can I check/modify the arp list on my device???
I really appreciate your help. Thanks in advance!!!
I use the terminal emulator app. It works just fine for me and I never had to download any other software to be able to run the ARP command.
bmx0964 said:
Here is basically a run-down of what I did. I hope this helps everyone out.
Temporary Solution (must be rooted):
Open your favorite terminal app on your device.
-Enter "su" (without quotes)
-Enter "arp -s [Your gateway IP here] [Your gateway's LAN MAC address here]
Browse away!!!!!
Click to expand...
Click to collapse
anyone found a solution to this ?
just updated to ics4 and cannot connect to the internet.
You only have one device that assigns IP adresses, right?
How about changing the channel to see if that works? or maybe even the security protocol
greeky510 said:
You only have one device that assigns IP adresses, right?
How about changing the channel to see if that works? or maybe even the security protocol
Click to expand...
Click to collapse
the only thing that worked for me is to turn on the dhcp option
in my router. previously, i was using static ips
may_east said:
the only thing that worked for me is to turn on the dhcp option
in my router. previously, i was using static ips
Click to expand...
Click to collapse
I had the sams problem. I could connect with my wifi but had no internet acces. The solution here was the wifi encription.
My smartphone could not encript the hard encription I think. With WEP encription it all works well.
Hey guys,
Here's a run down of the problem I'm currently having. A few months ago I purchased a Dapeng A75 currently running ICS 4.0. Although a beautiful and fast phone, just recently it started going out of wack.
- Youtube and Play Store hang on "Loading" screen
- My Gmail accounts won't sync
- I can no longer search on Google.com with ANY browser through WiFi. (I do not have data service on my phone)
I've tried several attempts at troubleshooting this, all which have failed.
- I restored my phone to factory default.
- Uninstalled and reinstalled these apps.
- Downgraded the apps to previous versions.
- Cleared my cache on just about everything.
- Release and renewed my IP in Terminal.
Just recently I noticed a CWM recovery image posted and I figure this is the only solution. Wiping out the phone and flashing a fresh ROM but unfortunately I can only get as far as installing the drivers to my Windows 7 machine. Some reason when I plug the phone in after installing the drivers, Windows will prompt me that the device is plugged in but before I get a chance to hit F9 for SP Flash Tool to do it's thing, the device quickly disconnects.
NOTE: I am able to browse Google via WiFi only by using HotSpot Shield VPN (Which is problematic in itself).
I'm currently losing the battle with this phone and at my wits end. Is there anyone out there who is experiencing the same situation or has some sort of solution which doesn't involve be shelling out more money for a new phone?
good work brother
i understood the above problem n i too experienced the same problems so now i will take ur research to next level n see my know of network .
i appreciate all the work done you , in research of this LITTLE but hetic problem.
i have learned a lot through u r research.
n will do more n keep u guys posted if i found somthing on this
---------- Post added at 11:11 AM ---------- Previous post was at 11:06 AM ----------
bmx0964 said:
Here is basically a run-down of what I did. I hope this helps everyone out.
Device specs:
Samsung Galaxy Player 4.0 Rooted
Network Specs:
DSL Modem
Router (DHCP with WPA security and does not have MAC Filtering)
4 Access Points (all on same channel broadcasting same SSID with same WPA security DHCP)
2 Servers - Static IPs
-Server 1 - DNS (not sure if it is actually a DNS server or just forwards the requests). Also storage/application server.
-Server 2 - Storage/Application/SQL server
Many clients on network (unsure of total amount but somewhere around 30 would be my guess)
Problem (note this is only on this network, every other network wifi
works just fine):
Wifi Connected but no internet.
My Windows 7 laptop (same network) gets internet access with no problems
No reports of any other clients on the network having this issue
Device has assigned a good DHCP IP address
Subnet, Gateway, and DNS IPs are all correct (they match the ones on my laptop)
Connection strength is great (speed is 52mbps)
Device has full local access (intranet). It can access all files and other devices on the network.
On occasion the device will get "internet" access for a brief period of time but will go back to "intranet" access only after a few minutes.
Tests Performed (My android device will be referred to as "device" my laptop will be reffered to as "laptop". All tests were performed with both laptop and device connected to the network in question, unless otherwise specified, and device was not able to access internet):
Ping from laptop to device - Successful
Ping from device to laptop - Successful
Ping from laptop to gateway - Successful
Ping from device to gateway - Failed
Resolve DNS IP on device - Successful
Resolve DNS IP on laptop - Successful
Ping from laptop to google - Successful
Ping from device to google - Failed
Small FTP file transfer from laptop to device - Successful
Small FTP file transfer from device to laptop - Successful
Device has no problems on other networks (tried un-secured, WEP, and WPA/WPA2)
Connect device using Google public DNS servers
-Intranet - Successful
-Internet - Failed
-Resolve DNS IP - Successful
Connect laptop using Google public DNS servers
-Intranet - Successful
-Internet - Successful
-Resolve DNS IP - Successful
More that I cannot remember right now. Will add as they come to me.
At this point I gave up for a few days. Every test and every bit of research returned nothing. I had spent many many hours trying to figure this out and testing theories and nothing ever pointed me in the right direction of where to go. Nothing made sense EVERY single setting is the same is on my laptop. Started thinking maybe there was something in the router that could be blocking Android devices (since it is a work network). Although I am not a aware of a router feature to do that I figure I would try some more tests.
Testing Round 2 (same conditions as initial tests):
Configured laptop to be a Wifi hotspot.
-From CMD command 1: netsh wlan set hostednetwork mode=allow ssid=AP key=XXXXXXXXX
-From CMD command 2: netsh wlan start hostednetwork
-From network and sharing center: Shared the physical wireless network connection with the Microsoft Virtual WiFi Miniport Adapter.
-The above commands create a virtual wireless adapter and set it broadcast the specified SSID with the specified WPA security key. Then you can choose any available, connected, physical, internet connection and share it's internet connection with the virtual connection, thus theorectically turning my laptop into a 5th access point on the network.
Connected device to the SSID "AP"
-Intranet - Successful
-Internet - SUCCESSFUL
Horray!!!! Progress! So with the above information I went to our IT guy and we sat down and looked at some stuff (settings in the router, access points, and servers). After digging and digging around within the settings we came up with.... you guessed it NOTHING!!!!!!!!!!!!! Now I was in "Its on!" mode and decided I wasn't going to stop until I found out at least what was causing the problem. My IT guy was also very determined to figure this out as he doesn't like to get beat either. So we both went at it. We decided the first thing to do was make a very detailed network map containing every piece of information we could possibly find. We did this all from his machine (laptop with Windows 7) and wrote everything down on paper (we even used a piece of our 36" wide roll paper from our plotter to make sure everything would fit) and made an excel spredsheet with all the info. Now with the newly aquired network information I decided I was going to do more testing.
Testing Round 3 (same conditions as initial test):
Map the entire network again gathering every piece of information possible just like before but this time using MY DEVICE (not my laptop).
Compare
Finally! I have found the problem! As stated before my device was getting the correct gateway IP (XXX.XXX.XXX.1) which is the same as my laptop). However the assigned MAC address OF THE GATEWAY (router) to my device is XX:XX:XX:XX:XX:FB but the MAC address OF THE GATEWAY (router) to my laptop is XX:XX:XX:XX:XX:FA. Got back with our IT guy and we found (by looking the router config) that the XX:XX:XX:XX:XX:FA is the LAN MAC address for the router. The XX:XX:XX:XX:XX:FB is the WAN MAC address for the router.
Testing Round 4 (same conditions as intial test):
Connected laptop to network, confirmed XX:XX:XX:XX:XX:FA MAC address was assigned for the gateway by running "arp -a" in CMD.
-Pinged google - Passed
-Changed assigned MAC address of gateway by running "arp -s XXX.XXX.XXX.1 XX:XX:XX:XX:XX:FB" in CMD
-Verified new MAC address assignment by running "arp -a" in CMD
-Pinged google - Failed
-Changed the MAC back and pinged google again - Successful
Connected device to network, confirmed XX:XX:XX:XX:XX:FB MAC address was assigned for the gateway by running "arp -a" in Terminal.
-Pinged google - Failed
-Changed assigned MAC address of gateway by running "su" then "arp -s XXX.XXX.XXX.1 XX:XX:XX:XX:XX:FA" in Terminal
-Verified new MAC address assignment by running "arp -a" in Terminal
-Pinged google - Successful
-Changed the MAC back and pinged google again - Failed
Conclusion:
For some reason the device is getting assigned the correct gateway IP but the wrong gateway MAC. This is allowing the device to connect to the network but not communicate with the router. Since it can't communicate with the router any "Internet" requests time out because the packets have to go through the router to make it to the "Internet". Since it is not blocked from the network it can still connect and communicate with other clients on the "Intranet" but not the router.
Our IT guy thinks there is a client somewhere on the network in the same subnet that is configured in this matter and it just so happens that for some reason my device is picking that up when it connects. He is going to look into it more when time permits but since we are very busy and we have already spent way too much time on this, and I now know at least what the issue is, he is going to move on for now.
Why would my device be picking up the WAN MAC address of the router?
What would be responsible for assigning a WAN or LAN MAC address?
How can I prevent this?
Has anyone ever experienced anything like this?
Temporary Solution (must be rooted):
Open your favorite terminal app on your device.
-Enter "su" (without quotes)
-Enter "arp -s [Your gateway IP here] [Your gateway's LAN MAC address here]
Browse away!!!!!
Click to expand...
Click to collapse
i would like to add if u have seen the
cmd-ncpa.cpl-ipv4-propreties- in this section u see its Dhcp so all fields are inactive
but u can see gateway ip which is inactive such as in my case 192.168.1.1
u cannot remove that.
any body saw the reply....
thanks regards
bmx0964 said:
Temporary Solution (must be rooted):
Open your favorite terminal app on your device.
-Enter "su" (without quotes)
-Enter "arp -s [Your gateway IP here] [Your gateway's LAN MAC address here]
Browse away!!!!!
Click to expand...
Click to collapse
Thanks, This Solution Saved me Today