Failed to obtain IP. - Galaxy Note 10.1 (2014 Edition) Q&A, Help & Troubl

So, weird thing started to happen last night. Both my Samsung devices ( my 2014 10.1 and my S4) started failing to get an IP from my wifi network. It would see the wifi network and report a strong signal, but would fail at the obtaining IP address. The IP assignment is handled by a Windows DHCP service running on a domain controller. I work in IT so I have a fairly extensive lab at home with routers, switches, servers, domain controllers, etc. The wireless access point in my home is a WNDR3700 with no WAN port config as my firewall/routing is done by a Cisco ASA 5505. All the 3700 does is provide wireless access to the network, essentially it acts solely as a wifi AP. Every other wireless device on the network is functioning fine including 3 laptops, a Blackberry and two other Android tablets ( Asus Transformers). So I know nothing is wrong with the dhcp or the AP in general. It's not a security issue as it is not failing on authentication, just on obtaining IP. So as a workaround I configured each one with a static IP and, of course, everything works fine.
One thing I noticed that seemed odd was that when I went to change the IP addr the address that was already in there, but greyed out sort of, was the wrong network for my home wifi. The phone and tablet both looked like they had a 192.168.1.0/24 address whereas my home wifi segment is 192.168.0.0/24. So maybe that had something to do with it. At the office now and both my phone and tablet have no issue connecting to our Cisco APs and getting a dhcp config from a Windows DHCP server. So pretty weird situation. I'm fine with leaving them on static config while on my home wifi network. Was just wondering if anyone else has seen this before?
Thanks

For any that might be interested. I used inSSIDer to find a less crowded channel for my 2.4 ghz band at home and both my Samsung devices are connecting and receiving ip addrs now.

Related

No wifi routing on 3COM wireless router?

For some odd reason I am unable to use WIFI at work on our 3COM wireless routers. I can connect to all the access points fine, but it never routes. I can ping other internal IP addresses, but I am not able to ping public IP addresses outside of our network.
I started looking through logcat and found that it is setting the gateway to 120.123.1.0 when it should obviously be 192.168.1.1. I looked everywhere in the router settings and the gateway is specified as 192.168.1.1. This is obviously a problem! Why in the world is it picking up this bogus gateway IP address from these routers?
I've had no problems with any other routers and an office neighbor is able to get wifi just fine on his iPhone. Any clues?
Well it is definitely just a gateway issue. I opened a shell with adb and set the gateway to 192.168.1.1 manually and I was able to to access the internet via wifi on the 3COM wireless router.
Does anyone have any idea why the EVO would not obtain the correct gateway? Every other system on the wireless network gets the right data from the DHCP server. I don't care how much of a long shot your suggestions or ideas are, I am looking for any leads to investigate. I've already double checked everything in the wireless router and DHCP server and the mysterious gateway IP (120.123.1.0) is nowhere to be found.
IP, netmask, DNS, DHCP server, and lease time are all coming in fine.

Wrong IP address

At my workplace (400+ employees, probably 75 use devices that connect to WiFi, less than 10 on now), IT staff uses MAC filtering on a DHCP server (freeware called PF Sense, if anyone is knowledgeable with that software) that broadcasts IP addresses from the range of 10.10.1.50 to 10.10.1.200 - everything below the last .50 goes to a bunch of access points. This hasn't changed in at least five years, same setup.
IT uses a combination of Linksys and D-Link routers WITH THE DHCP TURNED OFF. This is verified, this is not at issue at all. And WiFi sniffers on two different phones and a MacBook turned up nothing but the EXTERNAL WiFi network (though, obviously, sometimes as many as 3 access points to connect to at one time).
At my work, we've got probably 2-3 city blocks of space here, with the building and myself no closer than 500 feet from the nearest road, let alone other businesses or residences.
Again, no other WiFi networks appear at all.
To be perfectly clear here: I have used this exact setup with no issues going back 2.5 years on both my current Samsung Galaxy S (Sprint Epic 4G) and my former Palm Pre (Sprint).
So here's what's going wrong:
I turn on WiFi, my Android phone running CM9 claims it's connected to "EXTERNAL" (the name of the WiFi network), the WiFi indicator in Android status bar goes blue (meaning has Net access), then it immediately goes gray (connected, no Internet available).
Instead of getting a 10.10.1.1xx IP, Android tells me I've got a 192.168.1.68 (or .21 or .8 or whatever).
Connected to a Cisco/Linksys device (always), and it tells me the following:
Gateway, DNS1 and DHCP server are all: 192.168.1.1.
Subnet mask: 255.255.255.0
IT has nothing that broadcasts this. My phone does not appear in the DHCP lease logs. It doesn't appear to connect on PF Sense's end at all, despite the MAC addresses matching in that system and on my phone. We killed mine out and reentered it. No change.
Of course, my WiFi at home works like a champ (and delivers IPs only above 192.168.1.100). Open WiFi at a McDonald's works. Pass pro WiFi at a local bar works as advertised.
WHAT DA FAAAAAAAAK??
I've reflashed my CM9 rom. I've wiped dalvik and regular caches. I've forgotten ALL WiFi networks and started from scratch.
What am I missing? What could be causing this? IT is stumped, I'm stumped - and I'm on Sprint so getting a data connection here is about as trustworthy as a methhead in a plumbing store.
Have you tried forcing the static ip and manually entering the settings?
Sent from my SPH-L710 using xda premium
I haven't, no. But of course after dealing with this since last Thursday, all of a sudden I'm working fine. :-/
8-D
XD
??????
IT is heading out for hte day, but they're going to check every access point in the building tomorrow.
So, so weird.
It actually sounds like one of the linksys access points may be going rogue on you. The default address for a linksys router is 192.168.1.1. It the linksys dhcp server responds before the main dhcp server, your phone can't get out of the neighborhood.
Sent from my SPH-D700 using xda app-developers app
Almost certainly a rogue access point. All too common for employees to sneak them in or for consumer grade units to behave curiously.
Enterprise wireless systems will automatically detect that sort of thing and contain the unit. It's rather stunning how well that works.
The hospital I used to work for was plagued daily until we properly engaged that security.
Sent from my SPH-D700 using xda developers app

wi-fi {wifi} (multiple / static ip) manager app?

Anyone have a favourite wi-fi static ip manager?
(I'm on stock gb.)
-----
At home, I have to set a static ip or I can't connect. So far this is (sort of) ok - I turn off static ip when I leave, turn it back on when I return. The settings are remembered. However, if I have to start setting different static ip at different locations, this is going to quickly become a PITA.
In another building, 4 different SSID's available, the phone just goes into a disconnect / connect cycle on 3 of them (1 a TP-Link router, other 2 on a Cisco Valet M10) - never getting an IP. I'm guessing I'm running into the same static ip problem there, and need to set different static ip's depending upon which SSID I want to connect to.
Anyone have a favourite app for per SSID static ip setting / remembering?
TIA
bs27975 said:
Anyone have a favourite wi-fi static ip manager?
(I'm on stock gb.)
-----
At home, I have to set a static ip or I can't connect. So far this is (sort of) ok - I turn off static ip when I leave, turn it back on when I return. The settings are remembered. However, if I have to start setting different static ip at different locations, this is going to quickly become a PITA.
In another building, 4 different SSID's available, the phone just goes into a disconnect / connect cycle on 3 of them (1 a TP-Link router, other 2 on a Cisco Valet M10) - never getting an IP. I'm guessing I'm running into the same static ip problem there, and need to set different static ip's depending upon which SSID I want to connect to.
Anyone have a favourite app for per SSID static ip setting / remembering?
TIA
Click to expand...
Click to collapse
Why the need for static IP? DHCP should work great. I use DHCP on my phone and never have to worry. Is it a security issue?
dudejb said:
Why the need for static IP? DHCP should work great. I use DHCP on my phone and never have to worry. Is it a security issue?
Click to expand...
Click to collapse
D'OH!. Sorry, left that part completely out ...
Hardware issues of some sort, between routers and phone.
e.g. At home, everything is happy, non-phone, wired and wireless. With phone, with DHCP, it never connects. As soon as I set static, off it goes.
I agree, other places, leave DHCP, and all is fine.
But not at home, and now, I suspect, at this other location.
Various threads in various places seem to acknowledge the problem, it's not limited to particular phones or routers as far as anybody can tell, and the problem hasn't been pinned down to any particular cause / solution. One thread ponders whether it's an 802.11n-only router issue, but that isn't my case. I wonder if it has to do with particular router chipsets, but haven't enough information to draw any correlation.
So, I'm thinking it's worth trying static IPs at the other location, and thought I'd ask if anyone had a favourite app.
(It being all too easy to drown in useless results at the store, much like any internet search.)
Unfortunately I would say the majority of people use DHCP. If I were you I would try to fix the DHCP compatibility issue with your router. Try updating your firmware on it or lowering it to an older version. If your router supports it try DD-WRT (http://www.dd-wrt.ca/site/index) You can always also change your router but that has a cost associated to it, so try the free stuff first. Perhaps you have already done all this and I am just talking to hear my own voice (text). In that case disregard my message and carry on....
Just trying to be helpful..
JB
I agree, the majority of the time, DHCP works.
Part of the point of asking
bs27975 said:
Anyone have a favourite app for per SSID static ip setting / remembering?
Click to expand...
Click to collapse
is that it doesn't all of the time.
And such an app is a diagnostic step towards detecting if a static/DHCP issue is in play.
Already running OpenWRT on my own router, Netgear WNDR3700 {dual-band, gigabit} (that needs the static IP, and I'm good with that).
Of course, I have no control over the routers in other locations.
dudejb said:
Unfortunately I would say the majority of people use DHCP. If I were you I would try to fix the DHCP compatibility issue with your router. Try updating your firmware on it or lowering it to an older version. If your router supports it try DD-WRT (http://www.dd-wrt.ca/site/index) You can always also change your router but that has a cost associated to it, so try the free stuff first. Perhaps you have already done all this and I am just talking to hear my own voice (text). In that case disregard my message and carry on....
Just trying to be helpful..
JB
Click to expand...
Click to collapse

[Q] Note 8.0 weird WiFI problem...

Hello,
I recently purchased the Note 8.0 and I'm experiencing a weird problem with the internet connection. I can connect to my wireless network, I can access other devices on the LAN, but I cannot access the Internet or ping the gateway (I can however ping other hosts on the LAN). I know it's not the tablet as I've tried it at work and I also tried running my S4 as a hot-spot and internet works as it should. The S4 works without a problem on my wireless at home as do a few laptops.
At this point, I'd say, it is obvious that it's something with my cable modem/router, but if possible I'd like to figure out what the problem is.
I found a post somewhere that had a similar problem, where the device in question was receiving the wrong MAC for the gateway, but this is not the case here as my tablet does not even receive a MAC for the gateway.
Output from the tablet:
android:/ $ ip neigh
<some IPv6 address> dev wlan0 lladdr <Gateway MAC> router STALE
192.168.0.1(gateway) dev wlan0 FAILED
192.168.0.5 dev wlan0 lladdr <Server MAC> reachable
Output from the S4:
android:/ $ ip neigh
<same IPv6 as above> dev wlan0 lladdr <Gatewawy MAC> router STALE
192.168.0.1 dev wlan0 lladdr <Gatweay MAC> reachable
192.168.0.5 dev wlan0 lladdr <Server MAC> reachable
I've tried resetting the modem back to factory defaults, removing/changing encryption type. I did not wipe the tablet as I've had the issue from day 1.
The only way I'm able to get the tablet to sort of connect to the internet is to assign a static IP to it, however that only works for a few mins and is very intermittent.
Does anyone have any suggestions? Any way to figure out why the tablet won't get the MAC for the gateway?
My cable modem/router is an Arris DG860, but unfortunately, there's very little info on it and I couldn't find a firmware upgrade for it. What's also interesting is that the tablet does not show up in the DHCP client list of the modem, however it gets an IP, connects and communicates with other hosts.
Thank you for your help
What IP is the Note 8 ending up with? If somehow it is outside the range of what it should be I would wonder if it is just giving itself an IP when it fails to receive one from the DHCP server (ie, your router). I know that Windows computers will do that as a fallback.
Can you check your router to see if perhaps the DHCP pool is too small? If that were the problem then it might not be allocating another IP because there aren't any left (based on it's current config). In which case you can just make the number of allowable IPs to be larger.
There may be other possibilities too. The above are just what is coming to mind at the moment.
It is a valid IP as I have access to other devices on the network, but to answer your question it gets 192.168.0.13 with a mask of 255.255.255.0. I wanted to try forcing the private network to work on IPv6, but haven't been able to figure it out yet.
The tablet gets the right MAC for the server and communicates with it, which leads me to believe that the router (gateway) isn't responding to ARP requests from the Note. I have some access to the router's CLI but it's not very helpful and I have no idea how to troubleshoot it on the Note..
finaldude said:
It is a valid IP as I have access to other devices on the network, but to answer your question it gets 192.168.0.13 with a mask of 255.255.255.0. I wanted to try forcing the private network to work on IPv6, but haven't been able to figure it out yet.
The tablet gets the right MAC for the server and communicates with it, which leads me to believe that the router (gateway) isn't responding to ARP requests from the Note. I have some access to the router's CLI but it's not very helpful and I have no idea how to troubleshoot it on the Note..
Click to expand...
Click to collapse
That is bizarre. Can you ping the gateway from other devices on the network? Can other devices on the network ping or otherwise see or access the Note 8? It seems like the Note 8 doesn't exist to the gateway, and so I'm wondering if it also doesn't exist to anything else on the network. It is possible (though I'm just guessing here) that the Note 8 is giving itself an IP address that it determines as being appropriate based on the other devices it can see. Given that it doesn't show up in the DHCP table on the gateway I can't really see how it is getting an IP unless it is assigning it to itself. Another thought is to check the IP addresses of all the other devices currently on the network in case somehow you're having an IP address conflict (ie, two separate devices ending up with the same IP somehow, which can happen temporarily in the case of a device having an IP and then being hibernated, during which another device is given the same IP, and then later the first device is resumed from hibernation).
If you don't receive much further help here on the XDA forums I'd suggest starting a thread over on the SmallNetBuilder Forums as there's lots of knowledgeable folks there that can help with networking things like this.
As for me, I've got to sign off for the night. Best wishes to you as you troubleshoot!
Hi and thanks for the reply.
Yes the gateway is pingable from other devices, so is the Note. I also tried changing the 192.168.0.xxx to 10.10.0.xxx with no luck. The Note received the 10. from the DHCP server, but the gateway still would not respond.
I think it might have something to do with the routing on the modem, the hosts on the network can communicate at layer 2 (no routing need) while everything on the outside needs to be router. Still does not explain why the gateway doesn't respond to the Note though...
Have you done a traceroute to another local device to see the path its taking?
You will need to have root and I think busybox. You will also need to su before doing traceroute... maybe there is an app that can a trace if your not rooted!
Sent from my GT-N5110 using Tapatalk HD
---------- Post added at 08:42 PM ---------- Previous post was at 08:35 PM ----------
What is your network diagram with models
(I.e note 8 > router(wrt54g) > cable modem)...
Sent from my GT-N5110 using Tapatalk HD
I am not able to run traceroute from the tablet, I tried it from my desktop and it completed, but never hit the gateway - it went right to the host.
the network model is
note8--->all-in-one-wireless cable modem
finaldude said:
I am not able to run traceroute from the tablet, I tried it from my desktop and it completed, but never hit the gateway - it went right to the host.
the network model is
note8--->all-in-one-wireless cable modem
Click to expand...
Click to collapse
Is the router still left with it's default settings? Also, Is there a page in the router/modem's web gui for DHCP and if so, what are those settings? It sounds to me like the DHCP is failing to pass along the external GW and/or DNS servers. To test a theory, are you able to ping 8.8.8.8?
I wonder if this was solved? I'm having the exact same problem minus all the technical knowledge. Tech support at time Warner seem like they are reading a script. Has anyone found a fix or workaround for this modem? My note works everywhere but home
I might have narrowed down the issue...
On technical support last night it was resolved that the Note was looking for IP version 6 ip and the time warner box only outputs IP version 4...
Is there a way to have the note look for IP version 4??? I know nothing about this but I guess over this next year we are supposed to be switching to IP version 6?
I unpacked my note 8 yesterday and I experience an issue when connected to wifi. When I tried to download something from play store it taked too times and usually downloads remained blocked at 70/90% and this didn't happen in 3G. So I tried a factory reset and now all thing works great you could try..
Tapatalk on Samsung Galaxy Note 8.0 3G
mouse100 said:
I unpacked my note 8 yesterday and I experience an issue when connected to wifi. When I tried to download something from play store it taked too times and usually downloads remained blocked at 70/90% and this didn't happen in 3G. So I tried a factory reset and now all thing works great you could try..
Tapatalk on Samsung Galaxy Note 8.0 3G
Click to expand...
Click to collapse
Factory reset doesnt do it for me.
My wifi works everywhere but at home using Time Warner on the Arris DG860 modem. I think the OP and my problem are because of a combo of these factors.
I believe it has to do with the IP change that is taking place this year.
If you look up online it seems to be kind of a big change. You can type ... time warner ip version 6... into google and see a link that explains it. I cant link for some reason.
I wish someone could confirm this, but does the note 8 only accept IP version 6? Time Warner will only deliver version 4 to me right now through this modem, and the tablet is making a version 6 IP.
Atleast thats where ive made it so far.
I can confirm that I have the same problem at my In-Laws house. Arris router, and Charter network in Louisville. Likely the same as Time Warner folks.
But I think the Arris router is the more likely culprit. I didnt feel comfortable asking the FIL to let me kack around in his router :laugh:
I have the same problem on my main wifi at the house. It's a 2.4/5 ghz setup. My guest wifi is just normal 2.4 different router etc. I'm going to need to look into this at length as this just isn't going to do. Also as far as IP6 is concerned we won't see that roll out Internet wise for at least another 2 years fully. When it does go full steam all of the IP4 routers APs will have to be either replaced or firmware upgraded if the internal radios will even support IP6. Most likely 70% won't and that's the reason you don't see a lot of IP6 routers etc. We have them on the enterprise side but most are not in use. I will report back when I have anything useful.
Casperi
Sent from my GT-N5110 using xda premium
---------- Post added at 11:54 AM ---------- Previous post was at 10:57 AM ----------
OK figured it out and it includes a bit of funny.
I went through my network setup and forgot that I had
MAC filtering on so I added the Note along with a face palm thinking
That was it, couldn't have been that easy right... No it wasn't but good
News.
The note 8 doesn't like the 20/40 "channel width" or some routers call it "wideband" in the routers or in my case access points. Turn that to 20 only and boom there you go. Wifi
Works perfect. You will find it typically under advanced settings.
Casperi
Sent from my GT-N5110 using xda premium
sweeptheleg said:
I might have narrowed down the issue...
On technical support last night it was resolved that the Note was looking for IP version 6 ip and the time warner box only outputs IP version 4...
Is there a way to have the note look for IP version 4??? I know nothing about this but I guess over this next year we are supposed to be switching to IP version 6?
Click to expand...
Click to collapse
The Note 8 supports both 4 and 6. The issues described sound a lot like config issues on the modem or router. as stated before, sounds like an issue with the DHCP server (the thing that provides ips to the devices.)
Sent from my GT-N5110 using Tapatalk 4 Beta
Hmmm I have an ipad, note 2, ps3, laptop, gfs iphone all connecting just fine... hours and hours of tech support, and the best answer is incompatability. For some reason the note is only creating ip6 my isp only does 4. I understand the note is capabale of both, but in this specific instance there is a bug in the note with this router.
nothing to do with settings. If every other device I own connects without hassle then someone needs to fix the note 8. Christ my note 2 connects....
there were no options untouched by highest level tech person fromisp... its the note 8
Arris DG860 and Note 8 *Workaround*
Ok, just got done trouble shooting a customers Note 8 on working behind one of our DG860 modem/routers, what I was seeing was the Note 8 was showing up with an IPv6 address even if I had the IPv6 DHCP turned off. What I found works is if you go into LAN > DHCP on the DG860 and create a "Fixed DHCP Client" using the Notes MAC address and some address in the IPv4 range like 192.168.0.X it will force it to pull that instead of the IPv6 address and work. Hope this helps anyone running into this weird combination.
At wits end
I been having nothing but issues connecting my wifi only note 8 to the internet at my house. Everywhere else it works fine but at home nothing but issues and all other devices are connecting with no problems. I have tried it with a netgear router, and now a arris gateway and still cannot connect. The cable tech came out by chance and was checking my connections and could not figure out why it would not connect either. I have time warner if that makes a difference which I am starting to wonder it does seeing how I can connect everywhere else and have tried two different ways to connect at home.
Update: So after being on the phone with time warner, samsung, and live chat with Arris this is just one hot mess. Samsung is stating that there seems to be firmware issues with arris gateways which I have noticed many people posting problems with their arris products, and their resolution was to roll back the software. Time Warner is stating that they cannot roll back the software on the modems and was trying to blame it on my tablet, though it was working before I setup the gateway and it works on other routers even on a piece of crap belkin that likes to kick off everything it worked on that with no issues. Arris told me that they have no control over the software only the cable companies do, so in typical fashion a lot of passing the buck and finger pointing. I am just irate at the moment for I do not have a working tablet at home. Part of me thinks it is the android 4.2.2 as well, for I had 4.2.2 on my droid razr hd and had numerous wifi issues with it.
Update 2: After doing some more research I have found there seems to be a issue with the wifi card and the chipset with arris gateways so there is a compatibility issue with the card. I had my netgear hooked up to it before and didn't have issues so I am going to just use my netgear and run the gateway in bridge mode it should fix the issue.

[TIP] Wifi connected but no internet connection!

At some points in your life, one of your Android devices connect to a wifi router, but can't connect to the internet. However, your computer, laptop or iPad will connect to that same wifi and use the internet just fine. I've looked everywhere on the internet for solutions, some of them are:
+ Turn off and on both modem and wifi router
+ Factory reset wifi router
+ Battery pull your phone, wait 30s and put it back
+ Reflash stock or custom ROM
+ Change DHCP IP setting to Static
+ Disable security (WEP, WPA) on wifi router
+ Check DNS server, gateway IP address for correctness
Fortunately, I stumbled upon this old thread last night -> http://forum.xda-developers.com/showthread.php?t=1371794
It helped fix the internet connection temporarily, turning off and on wifi on phone caused the issue to repeat.
In summary, he found out the correct MAC address for gateway was mismatched with the one on his phone. Even though the gateway IP address is correct (example: default gateway IP 192.168.1.1)
Upon further investigations, I found out my Wifi ROUTER has the same IP address with my MODEM (192.168.1.1) This IP conflict causes the phone to recognized the WIFI ROUTER's MAC address as the gateway's MAC address. This problem mostly occurs on Android phone, not computer (I'm no tech savvy so I have no idea why)
Simple fix: Go to wifi router setting page, change the IP address on wifi router to different number (other than default 192.168.1.1), and the problem should be fixed.
Please help spread the words to fellow Android lovers, I'm sure a lot of us have struggled with this problem :laugh:
I'm one guy who is desperately looking for a solution to this.
Unfortunately the solution you gave didn't work.
Hi
i have a problem with wifi. it remains connected but loses internet access randomly. i found this solution:
"In the wifi networks, select the network you want and select ‘Forget network’
Turn off the wifi
kill all the apps with your task manager
Turn on the wifi again
Connect to the network
Check the internet connectivity
If still the problem exist, switch off the phone and redo the above steps"
it solves the problem, but it happens again after some minutes. actually, i also installed an app named "wifi fixer" which does the above process automatically. when the program is active, it turns the wifi off and on every 2-3 minutes. and the phone has internet access when the program tuns the wifi on.
any idea?
Turn off wifi optimization on some android phones help.
Sent from my Nexus 7 using Tapatalk 4
(bump) By any chance, are you all using Aztech's router? I have the same problem with my Aztech router.
solution?
---
Had the same problem for several months. Changed my router and everything became prefect.
Sent from my Galaxy Nexus using Tapatalk
---
---
2 years after the last reply I am having the same problem. My wife and kids all have internet access on their phones, tablets, desktop and laptops all from the same modem router yet I am unable to use the internet on my Galaxy S2 mobile phone even though my phone says connected to Wi-Fi Network Netgear 06.
The Mac address solution provided isn't applicable to my situation as my Mac address on my mobile is different to my modem router Mac address.
Any other solution?

Categories

Resources