wifi issue - G1 General

(sorry for my english)
Hi,
i builded in a linux machine a wifi hotspot.
I used the madwifi modules in ap mode.
I configured an easy wep key for security.
A dhcp server provide ip addresses.
Now, different kind of devices work like a charme, such as a nokia E90, an Iphone, another Nokia E66 and some portable pc.
Only my android Dream doesn't works (firmware jf1.5). it seems connect but when you try some internet request (like market or whatelse) it says that 'an error has occured.
So I tried to perform a tcpdump on ath1 (my hotspot) and i see this error:
arp reply debian.local is-at xx:xx:xx:xx:xx:xx (oui Unknown) (I hide mac address)
What does it means ?
Could I solve in some way the problem ?
Thank for any help !!

Related

Help: techie input needed please

Hope someone can help: Every time I connect my JJ to my PC, I get a popup error message "Pocket PC Networking: Unable to obtain a server-assigned IP address. Try again later or enter an IP address in Network Settings"
This only happens when I connect to my PC via AS, and clearly it's because my JJ is not finding an IP address for via-PC networking - only I CAN access the internet this way! So, it seems that some OTHER adaptor is trying to get an IP address and is failing
I've gone thro all my PPC's network adaptor settings - all set to obtain IP address automatically - but I do believe this problem started when I first looked at these settings.
Is DHCP server enabled on your PC/router/whichever?
No, my PC is not acting as a DHCP server, and my router is an adsl router that serves my PC - which it is doing fine.
I didn't change anything on my PC nor router, just browsed network ADAPTORS on my PPC and next thing I knew I was getting this message. :?
Further, my PPC IS getting an IP address on one of the adaptors, which I can ping from my PC, and it does connect to the internet via my PC without problems (it's 169.254.2.1 on the "remote-NDIS Host" adaptor - which you will show too). Thus, I surmise that the adaptor that is supposed to connect to my PC is working, and it's another network adaptor that's decided it wants an IP for some reason... :? :? :?
Not a critical error, but I hate not being able to solve my JJ problems
I had this problem too.
It's because the Remote-NDIS Host adapter is set to DHCP.
The "catch 22" is this.... If you set it to an IP, the ActiveSync won't connect, but your only other option is to set it to DHCP, then you get this problem.
The solution...
Set Remote-DNIS Host to DHCP via Settings->Connections->Network Cards
Now edit the registry...
HKLM\Comm\RNDISFN1\Params\TcpIp
Edit the key "EnableDHCP" = 0
Problem solved !... No IP set and no DHCP either.
Basically, RNDIS shouldn't have an IP set, but it shouldn't be DHCP either... but as soon as you view RDNIS via the usual network adapters setting then you are forced to have one of the other, which will cause the problem described in this thread or will cause ActiveSync not to work.
Thanks arthurfuxake!!!
You also solved my problem!!!
Good Fix! arthurfuxake
8) Thanks man that fixed that irritating "unable to obtain IP Address" message for me
Cingular/Siemens SX66
WM2005
Activesync v4.1
arthurfuxake said:
I had this problem too.
It's because the Remote-NDIS Host adapter is set to DHCP.
The "catch 22" is this.... If you set it to an IP, the ActiveSync won't connect, but your only other option is to set it to DHCP, then you get this problem.
The solution...
Set Remote-DNIS Host to DHCP via Settings->Connections->Network Cards
Now edit the registry...
HKLM\Comm\RNDISFN1\Params\TcpIp
Edit the key "EnableDHCP" = 0
Problem solved !... No IP set and no DHCP either.
Basically, RNDIS shouldn't have an IP set, but it shouldn't be DHCP either... but as soon as you view RDNIS via the usual network adapters setting then you are forced to have one of the other, which will cause the problem described in this thread or will cause ActiveSync not to work.
Click to expand...
Click to collapse
This should be more prominent than the other search results!
Thatz one awesome soltion arthurfuxake! Thanx man! It seems to have fixed that nagging "Unable to obtain server-assigned IP" error that used to keep popping up on my screen. There is only one other problem... my Atom still can't connect to the Internet through ActiveSync! Any suggestions?!

Problem with secured Wifi connection

Hi all,
i am new here
I have problem with my Xperia.
When i connect with my phone to unsecured Wifi network everything works fine.
But when the wifi network is secured (WPA2), i cann't access the internet. (IP address is assigned, but ping to the router is without answer)
I have allready trying to set the IP address manualy, but without any success.
Can somebady help me please?
Thanks
BR
Edo
Is the WLAN-SSID hidden? That often makes trouble with devices like Phones, Radios, MP3-Players or something else. If so try to activate SSID-Broadcast (unhide SSID) and connect again.
What does your phone show in it's wireless settings (IP, Gateway, Subnet, Encryption etc)?
On my Cisco router I use WPA2-PSK Authenication with AES-CCM Encryption. The SSID id is hidden. No problems at all....
Is your router using MAC Address filtering??
This will also make it unresponsive to pinging if it is Enabled
and your x1 in not on the permitted list!
good Luck.
Stuart
hi,
now i use only MAC address filtering (without WPA2) and it works fine.
(SSID broadcast is enabled)
With activated security WPA2, MAC address filtering dissabled, SSID broadcast enable/disabled, it doesn't work
Tested with wifi router Belkin.
With HTC Diamond it works fine also with WPA2 secured network.(almost the same HW like the Xperia)
Tomorrow i will "play" a little bit with the router and phone settings.
It must works !!!
Note: i have observed the same problem/behaviour with nokia E66 (OS Symbian)
Hi,
Netgear Router.
WPA2 enabled.
MAC filtering on.
Broadcast Off.
Device added.
Browsing a doddle.
Des. . .
Deactivating the encryption nor use of wep is never a good idea.
Try to change to wpa-psk tkip.
I'm not sure what it could be, but there are some articles on the internet that WinMo phones (in general) have trouble using WPA or WPA2. WEP is apparently fine to use, but then again not secure.
I have a netgear, and using WPA/WPA2 (no MAC ACL) on my router with the Xperia doesn't work, but some of the other guys work fine
Try updating your Router Firmware (or making sure you have the latest firmware flashed to your Router) - this has been known to solve connection problems with new hardware e.g. Windows Mobile or PS3 or Wii.

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] Problem connecting to enterprise secured wifi

Hi all,
I am in a worse situation right now. My college's campus WIFI is 802.1x EAP - TLS security, which requires a client.p12 and a ca.der certificate (I assume a certificate and a key file) to connect my laptop to wifi. I am reading and trying out methods all over the web to make my Xperia Arc connect to the wifi. These are the things i tried -
1. Simply changed the extension of ca.der to ca.crt, installed both certificates by install from SD card, (certificates seems to install since i can see them under CA certificate and User certificate under my networks wifi name settings in Android OS) tried connecting but after a wait of connecting, it says disconnected.
2. Changed the ca.der to ca.cer (exporting as Base 64 encoded X.509, since it was DER encoded binary[since on opening it by notepad, it showed random symbols characteristic of binary files while after conversion to Base 64, it is a text with Begin and End lines]), then changed extension from ca.der to ca.crt, installing on android OS, tried connecting, after wait says disconnected.
3. Retrieved cacerts.bks (android trusted keystore i guess) from "/system/etc/security", added the CA and User certificates to the store using portecle, added the modified cacerts.bks to phone, rebooted the phone, tried connecting phone as mentioned in 2 above, says disconnected after a wait.
4. My college's system manager uses a MAC address based trusting (he installs the above mentioned two certificates on my laptop, saves MAC address of my wifi adapter card in his trusted list). This means that whenever i try to connect to my college's wifi system, the certificates (i am not sure which one of the two) give my MAC address verification signal to the college wifi server telling the server that i should be given access to the internet.
I assume that the server is declining the access to my phone due to my certificates not providing my MAC adress verification to server (which in turn may be due to a bad conversion of ca.der to ca.crt [I don't know how to do it for android] or that the android system not trusting the certificates) and hence the delay in saying disconnected.
I want to know if there is any app or any method by which i can know at what level of authentication the process of connecting to wifi server is failing? I just want to know if my phone is able to talk to wifi server or not and at what level is the server declining my phone's request to connect.
Kindly help me out of this crappy issue, please, please, please. Since i have no clue about network security and stuff, any help is appreciated.
Thanks in advance.
Vaibhav
Help!!! Please.....

WiFi Connected but No Internet - I FIGURED IT OUT!!!!!!!!!!!!

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

Categories

Resources