Wifi - MeMO Pad 7 Q&A, Help & Troubleshooting

Hi, I have a rooted ME173X with Android 4.2.2.
Although I have DHCP enabled, I recently can't connect to my Wifi anymore. The problem seems to be that the following IPs seem to be preset by the system and can't seem to be overridden:
IP address: 192.168.1.128 (should be something like 192.168.0.128)
Gateway: 192.168.1.1 (should be 192.168.0.1)
I can temporarily connect to my Wifi by manually switching off DHCP and typing in the correct values, in which case the erroneous addresses are visible in grey in the form. This fix works until the next reboot.
Any idea how I can fix this? How can I get DHCP to chose the proper IP addresses again? Many thanks for your consideration! :fingers-crossed:

Related

[Question/Request] DHCP IP assignment timeout

Hey coders,
I have a question regarding the networking subsystem in Android.
I know that dhclient.conf in linux will allow a "timeout" parameter that lets you set the DHCP request timeout. I'm wondering if there's some way to do that in Android. It's not immediately obvious to me, so that's why I'm asking.
Before, when I was stock, my phone had no issues connecting to my work's wireless SSID--even though it would sometimes take a long time to obtain an IP address, it would eventually connect.
Now, I've flashed CyanogenMod 5.0.5.3-N1, and I can still associate with my work's wireless network, but it appears to timeout the attempt to obtain an IP address too soon. My Palm Pre and my laptop can connect to the same, and I've verified that my stock ROM can also still connect, but when I flash to CM, I can no longer obtain an IP address successfully anymore.
I'm wondering how difficult it would be to modify the DHCP obtain IP timeout?
Thanks everyone!
--Hans
same problem here as well also on cm5.0.3.1 and 5.0.6.test2...
Haven't tried modifying it, but you can look at /system/etc/dhcpcd/dhcpcd.conf. Here's a man page.
Doesn't seem to help. I added "timeout 360" to the bottom of dhcpcd.conf and it doesn't increase the time that passes between "obtaining IP Address from <SSID>" and "unsuccessful".
Must be something else in android?

problem connecting to the house internet

Hi this is my first time on a site and I just wonder if anybody can solve my problem!
I,ve read a few posts and set my xda llI so that in connections my network card connects to work!Also have done all the rest and set it to internet just in case as well
My Isp in connections window is on the advanced tab and select networks on the network Management is set to My Isp.
my Wirles Lan Manager is status connected to network
My ssid is the one that all the house computors are set to,my mode is Infratructure and Tx is Auto.My channel is 6
my bssid is 00-18-2D etc etc.
My Mac is 00-09- etc ,etc.
My IP.169.254.168.73
signal quality is good
I,ve been onto the 192.168.0.1 website and added the mac address of the xda lli but when I try to get the internet on the xdalli to connect it justs says default page. I cannot seem to connect. is this normal or do I have to go through O2 to pay for another internet connection besides my home address one.Have I missed something out!Help would be greatly appreciated! thanks
Nilocsss
Hi,
Your IP of 169.x.x.x means that you are trying to use DHCP to get an ip address but haven't been supplied one by your router..
The ip addres of your router is 192.168.0.1, so it may be sensible to setup your router to allow a dynamic address range of 192.168.0.100 to 192.168.0.110 (say) - when anyone tries to connect using a dynamic address (using dhcp), they'll be given an address in this range.
So, initially check if DHCP is enabled.
Do you have a laptop that connects using a dynamic ip address (ie not static - ie not implicitly defined) - if so then DHCP _is_ already working and there's another problem.
If this is the case, I'd initially disable any kind of mac-filtering or security until you get a simple connection going..
Sorry, if this isn't too clear - I'm tired - what router are you using?
Kev
First hand it can depend on your router
I have had problems connecting with Virgin broadband routers for instance.
Have you tried connecting elsewhere?
Also what type of security do you have on your router?
One more thing to try
Check under the "Network Cards" settings when disconnected and select "the internet" from the drop down menu.
Hope this helps
clearing the way so that I understand correctly!
kevcal said:
Hi,
Your IP of 169.x.x.x means that you are trying to use DHCP to get an ip address but haven't been supplied one by your router..
The ip addres of your router is 192.168.0.1, so it may be sensible to setup your router to allow a dynamic address range of 192.168.0.100 to 192.168.0.110 (say) - when anyone tries to connect using a dynamic address (using dhcp), they'll be given an address in this range.
So, initially check if DHCP is enabled.
Do you have a laptop that connects using a dynamic ip address (ie not static - ie not implicitly defined) - if so then DHCP _is_ already working and there's another problem.
If this is the case, I'd initially disable any kind of mac-filtering or security until you get a simple connection going..
Sorry, if this isn't too clear - I'm tired - what router are you using?
Kev
Click to expand...
Click to collapse
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
thanks for your response!
voxshots said:
First hand it can depend on your router
I have had problems connecting with Virgin broadband routers for instance.
Have you tried connecting elsewhere?
Also what type of security do you have on your router?
One more thing to try
Check under the "Network Cards" settings when disconnected and select "the internet" from the drop down menu.
Hope this helps
Click to expand...
Click to collapse
thanks for replying ,my router is a netgear and the security is a wep key which I have disabled and i also tried the drop down menu "the internet" but still nothing! how would I find out on the phone what ethernet card it is running so that I can connect to that .
nilocsss said:
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
Click to expand...
Click to collapse
If you haven't set up mac filtering, then it won't be a problem.. if you have, then there should be an option to disable/remove any you've input - build security up from a working setup.
Have you (can you borrow) a laptop that you can setup wireless with a dynamic ip address and check that connects; if that's okay then the router is setup correctly.
So I the Alpine comes up with "connected to network" but the ip address is 169.x.x.x ..
This means that the Alpine has not been allocated a usable ip-address by the router for some reason and you'll get nowhere until this happens.
Your other PCs.. are they set to dynamic ip addresses - I guess so as you have no room for static addresses. You should probably check they're all dynamic as if (say) you've allocated a static ip address of 192.168.0.2 to one of them and then DHCP tries auto-allocating addresses, I guess there could be a conflict (don't know how clever dhcp is). Usually I would set the DHCP range to 192.168.0.100 -> 192.168.0.200 (allowing 100 different dynamic addresses).
Have you checked that authentication is set top 'Open' and Data Encryption 'Disabled' on the Alpine; and ensure you've disabled (temporarily) all router security..?
Kev
kevcal said:
If you haven't set up mac filtering, then it won't be a problem.. if you have, then there should be an option to disable/remove any you've input - build security up from a working setup.
Have you (can you borrow) a laptop that you can setup wireless with a dynamic ip address and check that connects; if that's okay then the router is setup correctly.
So I the Alpine comes up with "connected to network" but the ip address is 169.x.x.x ..
This means that the Alpine has not been allocated a usable ip-address by the router for some reason and you'll get nowhere until this happens.
Your other PCs.. are they set to dynamic ip addresses - I guess so as you have no room for static addresses. You should probably check they're all dynamic as if (say) you've allocated a static ip address of 192.168.0.2 to one of them and then DHCP tries auto-allocating addresses, I guess there could be a conflict (don't know how clever dhcp is). Usually I would set the DHCP range to 192.168.0.100 -> 192.168.0.200 (allowing 100 different dynamic addresses).
Have you checked that authentication is set top 'Open' and Data Encryption 'Disabled' on the Alpine; and ensure you've disabled (temporarily) all router security..?
Kev
Click to expand...
Click to collapse
Thanks kev for replying.
I have a hard wired lead to the router for one computor and 3 laptops connected by wifi and another computor connected by wifi.
the range or should I say the ip addresses are 192.168.0.3,192.168.0.4
upto 192.168.07.I,m at work at the moment but as soon as I get home tonight I'll set the wep key to disabled is there any other thing on the router that I need to do?
Can't think of anything else...
But at least you know DHCP is working if the other PCs are getting ip addresses okay.
And you know the wireless is working...
So it does look likely that it will be something to do with WEP/WPA encryption... (I guess you've got it setup at home), hence why the router isn't allocating you an ip-address.
If you can't get it going, it may be worthwhile doing some sceenshots of the router configuration pages (or config files)...
What I can tell you is that what you are doing looks correct and you have everything setup so you can go on the internet whilst at home using the Alpine. Mine uses the router whilst at home and GPRS whilst out.
nilocsss said:
Thanks Kev!
My router is a netgear dg834GT.I,ve looked at the range and the range for 192.168.0.1 actually goes from 192.168.0.2 upto 192.168.0.254 so the range should be there. how would I know if the router is DHCP, is there a way of seeing this? The filter would be set up where for the mac address?Is there a way of changing the isp on the phone so that its range is within the 192.168.0.1 range?the only security that I have is the routers own and the avg antivirus.would disabling the avg help!
Click to expand...
Click to collapse
The dg834GT is pretty much the one that Virgin use, like I said in my earlier post.
I have found these particular routers to be a problem (sometimes) with my Alpine.
You should try to update the firmware.
kevcal said:
Can't think of anything else...
But at least you know DHCP is working if the other PCs are getting ip addresses okay.
And you know the wireless is working...
So it does look likely that it will be something to do with WEP/WPA encryption... (I guess you've got it setup at home), hence why the router isn't allocating you an ip-address.
If you can't get it going, it may be worthwhile doing some sceenshots of the router configuration pages (or config files)...
What I can tell you is that what you are doing looks correct and you have everything setup so you can go on the internet whilst at home using the Alpine. Mine uses the router whilst at home and GPRS whilst out.
Click to expand...
Click to collapse
Well Done Kev!
It was the "open"on the phone and putting "open" on the router.I had to intiallely disable the wep key.then when I got connected,I reactivated the WEP key and I could not connect.So on the phone I unticked the automatically connect to my name of my router name and reput in my encryption key again and I was in and On line.Thanks to both of you(Kevcal and Voxshots) for helping me.Definately could not have done it without you Pair.I like the idea of using the screenshots so I,ll post a screenshot of all the settings on the phone and computor so that anybody else will be able to resolve there problems with all credits going to you people on the bottom!
Very happy to have helped and glad you sorted it out

[Q] wifi adhoc issues

hi guys,
i have been breaking my head to sort this out.
i'm not able to connect to my laptop internet via wifi on the Note. i have this application called connectify that automatically creates a wifi hotspot on my laptop (i don't have a router). with this im easily able to connect symbian devices on it (my old phones)
but the Note doesn't even detect this hotspot. so i researched a lot and finally found a galaxy sii modified file "wpa_supplicant" which i replaced in the system/bin folder of my GNote. now the phone detects the hotspot but remains stuck at "Obtaining IP address". the status doesnt change from this and not able to connect.
so again i played around and enabled static IP on the phone. i entered some ip address, gateway, netmask and DNS values i got on the net (for another internet connection bsnl 3g). (my own ip is not static, im trying to share a mts mblaze datacard connection) now im getting the "connected" status but when i go to browser it doesnt load up any website. please help. hope i am clear
in ipconfig my values show as follows
ipv4 address: 180.215.40.199
subnet mask: 255.255.255.255
default gateway: 0.0.0.0
i tried with the above values and its not even reaching the "obtaining ip address" status.
Sorry...had a question, but just figured it out myself...can't help you either though.
Regards,
ChaosDM
anjath said:
hi guys,
i have been breaking my head to sort this out.
i'm not able to connect to my laptop internet via wifi on the Note. i have this application called connectify that automatically creates a wifi hotspot on my laptop (i don't have a router). with this im easily able to connect symbian devices on it (my old phones)
but the Note doesn't even detect this hotspot. so i researched a lot and finally found a galaxy sii modified file "wpa_supplicant" which i replaced in the system/bin folder of my GNote. now the phone detects the hotspot but remains stuck at "Obtaining IP address". the status doesnt change from this and not able to connect.
so again i played around and enabled static IP on the phone. i entered some ip address, gateway, netmask and DNS values i got on the net (for another internet connection bsnl 3g). (my own ip is not static, im trying to share a mts mblaze datacard connection) now im getting the "connected" status but when i go to browser it doesnt load up any website. please help. hope i am clear
in ipconfig my values show as follows
ipv4 address: 180.215.40.199
subnet mask: 255.255.255.255
default gateway: 0.0.0.0
i tried with the above values and its not even reaching the "obtaining ip address" status.
Click to expand...
Click to collapse
I had the same problem before, what I did is to use a different wpa_supplicant then copying it to /system/bin, changing its permission (just copy the original wpa's permission) and rebooting afterwards.
It worked for me in stock LA4 Firmware (2.3.6). But most of the time i had to set the wifi setting to static ip so that it will connect instantly so I recommend you do the same if it doesnt connect automatically.
Advali said:
I had the same problem before, what I did is to use a different wpa_supplicant then copying it to /system/bin, changing its permission (just copy the original wpa's permission) and rebooting afterwards.
It worked for me in stock LA4 Firmware (2.3.6). But most of the time i had to set the wifi setting to static ip so that it will connect instantly so I recommend you do the same if it doesnt connect automatically.
Click to expand...
Click to collapse
sorry to bring this old thread up,
but since the ICS update it seems that the wpa_supplicant replacement no longer worked ,,,after replacemant you wont be able to even turn the wifi on
wondering if there's any other way or could someone plz modify the wpa_supplicant file from the new ICS rom so to creat a new wpa_supplicant that works on ICS?
thanks!
after the latest update of Connectify, my note can connect to the hotspot by connectify without any problems
Yes indeed

[Q]Wifi droping problem

I have problem: My wifi signal drop every 60 secs approximately,on every stock rom from JVQ to the newest JVU. Last rom where wifi works great was JVQ after that version i have same problem in every single STOCK rom,JVZ,JW1,JVU... (on CM7,ICS port,MIUI I dont have that problem).
Anyone know how can i fix it? (sorry if my english is not to good)
Known problem. There is a workaround however. Set your wifi routers dhcp lease time from 0 (or never) to, for example, 120 mins. Also remove ip address reservation (if set) in your routers settings.
Used to have the same problem at android 2.2, but the 2.3.3 update fixed it. I used to assign a static IP to my device at home, that helped for the time being.
I have INTRACOM JetSpeed IAD-Wp2 router and cant find non of these settings.
Try going to 192.168.1.1 in your webbrowser on your pc, and try getting access with username and password "admin". That should allow you to configure some settings, including assigning a certain IP address to your phone.
On your phone, go to wifi settings, advanced, and enable "Use static IP address". Then configure it's settings.
You should refer to the routers manual to find out the setting for the dhcp lease time and ip address reservation. Routers and their names for these settings can differ slightly from each other.
If you set static ip in your phones wifi settings, you may not be able to use wifi anywhere but in your home network.
So the problem is my router or the phone? All these solutions that you have proposed are not long-term right? It will help me just when I am at home but if I go out somewhere that settings will not be of some help right?
The settings I posted were looked up specifically for your router, milanche911. But indeed, it'll only fix it when you're at home; you'll have to turn using a static IP off if you're elsewhere.
Does it happen to you no matter what router you use? I only had it happen to me at home, at other people's places things were fine.
try this application
it is WiFi scanner and signal checker... in config is setting scan Frequency 0-30 seconds and including the radar and WiFi sources GPS locator ...
good luck.
milanche911 said:
So the problem is my router or the phone? All these solutions that you have proposed are not long-term right? It will help me just when I am at home but if I go out somewhere that settings will not be of some help right?
Click to expand...
Click to collapse
If the issue is the "wifi bug" which has been covered in the leaked rom threads, the culprit is the phone.
As a long-term solution, there's no harm in setting the wifi routers dhcp lease time to finite value and removing the address reservation, so that the router is not forced to give your phone always the same ip. At this point, you should not change the ip to static in your phones settings, this is what will prevent you using wifi outside your home.
Now you should find a way to check these settings in your routers configuration.
Thank you people! Thank you for your help, the problem was that I had been logging into the router settings with admin / admin and I got the complete setup for just a basic settings. Trick was that I log in with admin / tzlkisonpk and thus get full router settings where I finally found the "lease time" setting. Configured for two hours and now everything is fine. Thank a lot once again! Cheers!
Glad it worked out
tap on the keypad of your phone - >*#*# 4636 # * # * and Wi-Fi information, you can find something to help ...

Setting static IP prevents device remembering WiFi password, prevents auto-connect

Note4, N910T3, rooted, but otherwise stock Android 5.1.1 from T-Mobile/Samsung's OTA update. Having trouble with WiFi and static IP:
If I use DHCP, WiFi works fine. It'll remember my LAN's WiFi password and auto-connect when available.
However, problems occur when I try to use a static IP (yes, I have reason to want a static IP within my LAN, but the reasons aren't relevant to the issue here):
First (this is the smaller issue, but still goofy and annoying), when I go to "Modify Network Config" Android won't allow me to set a static ip unless I'm already connected to the given network. It'll let me change "IP settings" from "DHCP" to "Static", but the "IP address" setting is greyed out. I have to connect using DHCP first, only then will it allow me to change the "IP address" setting for a static IP.
But here's the far bigger problem: Once I have worked around that issue and actually set a static IP, the next time I leave the network and come back (or just turn WiFi off and back on) it no longer auto-connects. When I try to manually connect, it's forgotten both the WiFi password and the static IP setting.
How can I make Android remember WiFi network settings AND use a static IP for a given connection?
Nothing at all? This is a major pain, and it's bizarre that Android apperently can't even get something as basic as static ip working realiably.

Categories

Resources