Android cannot accept DHCP offers above 192.168.0.11? - Android Q&A, Help & Troubleshooting

I've been having issues for a month or two and it seems as though I've finally discovered that usually once they start, the highest assigned IP address has always been 192.168.0.11..
Even when I go into the terminal and change my mac address,I still can't get a different IP. Doing the same on my pc and the router is passing out offers in the 20's... Its the story of my life, any fixes??
PS, is it possible to attain closed networks password key with an android?

Is any one out there able to verify if this is or isn't true?
It certainly seems to be the case on hero with both a 2.2 and a 1.5 rom, with what ever router is attached to some open wireless network that I can't afford at the moment.

Cloned2 said:
I've been having issues for a month or two and it seems as though I've finally discovered that usually once they start, the highest assigned IP address has always been 192.168.0.11..
Even when I go into the terminal and change my mac address,I still can't get a different IP. Doing the same on my pc and the router is passing out offers in the 20's... Its the story of my life, any fixes??
PS, is it possible to attain closed networks password key with an android?
Click to expand...
Click to collapse
If you look carefully at the IP address 192.168.0.11, it's a wrong IP, check here for those router default IP addresses.

Related

Static IP Address toggle doesn't work in android 2.2.

I have a HTC Thunderbolt that doesn't seem to recognize that the toggle for the static IP address is on. I have tried to reboot it and not sure what else to do. I need to be able to set a static IP for use with TRENDnet TEW-637AP wireless that doesn't have the ability to assign IP addresses. It continually says obtaining IP address from Network SSID. It will connect to wireless that can assign IP addresses regardless of the switch setting. Like I said, it doesn't seem to see it.
Thanks,
AC
assuming youre connecting with the wireless connect in the phone for wifi (the built in one), you can just set things manually.
Using a computer on the same network as the router you want to connect to, do this:
go to the command line in windows/linux/osx:
type ipconfig /all (if you're on windows)
ifconfig -a (if you're on linux/osx)
make note of the subnet mask (probably 255.255.255.0) and default gateway/network id (probably 192.168.1.1 but that could vary).
Then on your phone, use the same subnet and gateway and then find an open ip address for your phone to use (probably something between 192.168.1.100 and 192.168.1.150, but that also could vary depending on what your default gateway is. Anyways when you find one, say something like 192.168.1.139, enter that for the ip address and connect. Assuming all went well and you figured things out, you should be connected.
Ok. I will give that a try when I get a chance. Would have liked to done so today but very busy and it doesn't look like work is going to slow down for the next two days. Thanks for the quick response.
Sent from my ADR6400L using XDA App
I finally had time to sit down and look at this again today. I was in hopes that I had missed something on the default gateway. I don't use one on my network as there is no internet access. Thought maybe it was I tried using x.x.x.1 as the gateway hoping that it would make a difference but it didn't seem to help. Thanks for the suggestions. I have been looking on the web and it would appear that I am the only one having an issue of this type. Thanks again.

See PC IP address on my phone

Is anyone aware of an app that I can install on my Nexus One, that when used in conjunction with a server app on a pc, will allow me to see the IP address's of my PC's on my phone. I realize this will most likely only work when my phone is on the same network.
The reason I ask is that I have an old laptop running Boxee hooked up to an old CRT TV(can't afford a newer LCD TV). This works fine for watching video's, but the image quality is such that trying to do anything else such as web browsing(Hulu) or system updates is damn near impossible. So if I have to do anything other than Boxee, I'm just going to VNC into the system. The problem is that the router does not allow for setting up static IP's, and it's not my router so I can't install DD-WRT on it, and it also has a habit of changing the client's IP address in the middle of a session. So if I could install a small server app on the PC that would broadcast it's current IP address, I could then easily pull it up on my phone.
Network Mapper by Ian Hawkins does what u want. And it doesnt need a server app.
Another option is to define a static IP without even involving the router. Just set the IP, gateway, netmask, and DNS servers on your boxee laptop manually, and it will continue to work even without the routers consent! The router isn't likely to be smart enough to actually map the addresses it handed out to the traffic it is routing, so it will just blindly pass the traffic.
Chances are, the router is set up to hand out addresses within a certain region - 192.168.1.100 to 192.168.1.150, or something like that. Most of the time, they will just forward all traffic that is in the entire 192.168.1.x range (or at least some reasonable subnet) What you can do is pick an address that won't be handed out by DHCP (192.168.1.2 or 192.168.1.250 or something), and set that manually on boxee. You'll be able to tell pretty quickly if it works! On the off-chance that the router DOES care, you can also try picking an address that is within the range of addresses being handed out, but on the upper end. Realistically, those almost never get used!
Static IP support on the router is nice because you don't have to do any configuration on the client, but if you're willing to put that configuration in (one time), you can get the same results. Worth trying out! That's what we all used to do before routers got fancy (and hacked) to include those cool features.
dyndns updater keeps it in sync and you can always log in online and see your ip address if your router has randomized it
Pc monitor gives you pretty much everything about the pc, including current external ip
Sent from my HTC Glacier using Tapatalk
Se7enLC said:
Another option is to define a static IP without even involving the router. Just set the IP, gateway, netmask, and DNS servers on your boxee laptop manually, and it will continue to work even without the routers consent! The router isn't likely to be smart enough to actually map the addresses it handed out to the traffic it is routing, so it will just blindly pass the traffic.
Chances are, the router is set up to hand out addresses within a certain region - 192.168.1.100 to 192.168.1.150, or something like that. Most of the time, they will just forward all traffic that is in the entire 192.168.1.x range (or at least some reasonable subnet) What you can do is pick an address that won't be handed out by DHCP (192.168.1.2 or 192.168.1.250 or something), and set that manually on boxee. You'll be able to tell pretty quickly if it works! On the off-chance that the router DOES care, you can also try picking an address that is within the range of addresses being handed out, but on the upper end. Realistically, those almost never get used!
Static IP support on the router is nice because you don't have to do any configuration on the client, but if you're willing to put that configuration in (one time), you can get the same results. Worth trying out! That's what we all used to do before routers got fancy (and hacked) to include those cool features.
Click to expand...
Click to collapse
Tried all that recently and it never worked properly.
zachary.hilliker said:
Pc monitor gives you pretty much everything about the pc, including current external ip
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
This is perfect, thanks.
I only skimmed through the topic but try fing. It might help.
Sent from my MB860 using xda premium

SOLVED! [Q] Static IP Setting?

maybe i'm stupid and cant find the setting but how is it possible this device does not have a static IP/dns setting? is there a way to set it up after rooting the device? i just got my NT today and this is a HUGE setback for me since my network is restricted to static IPs not DHCP. Network has 9 pcs/laptops, 6 phones, 3 VOiP, and 2 IPTV Devices. I was trying to get it on the network during initial setup and failed. googled and found a way to skip oobe. still didnt help me
TIA
m0000 said:
maybe i'm stupid and cant find the setting but how is it possible this device does not have a static IP/dns setting? is there a way to set it up after rooting the device? i just got my NT today and this is a HUGE setback for me since my network is restricted to static IPs not DHCP.
TIA
Click to expand...
Click to collapse
Not that I know of. Setting a static IP means that the device will only work on that WiFi network and no other (unless it uses the same IP range and mask, AND you guarantee that your static IP will not duplicate another on other networks).
Now, you may be able to guarantee this, but I think you can see that the average consumer (many Nook owners are not computer savvy, let alone network savvy) can get into trouble with a capability like this.
Further, every WiFi router I've seen, has the capability of assigning a specific DHCP IP address to a specific device, based on the MAC address. I would be very surprised if your network can't be easily configured to do the same.
The feature DeanGibson mentioned is called "DHCP reservation" on most current routers, or "static DHCP" for DD-WRT. AFAIK, older routers may not have that feature. I don't recall it for old Netgear and Linksys firmwares, may be others.
If yours don't, suggest upgrading to a new router. Abovesaid feature has most of the benefits of static IP (eg port-forwarding) but without the client-side setup hassle.
so the simple answer is no lol
pretty much sol at this point.. means i will have to reconfig yrs of work
i still think it sad that this device doesn't allow mean to set my own ip.
thanks to the both of you for your input.
Try either of these apps and see if they work for you.
Wifi Static
https://market.android.com/details?id=com.farproc.wifi.statIc
IP Manager
https://market.android.com/details?id=com.monkelabs.ipmanager
THANK YOU!
e.mote said:
Try either of these apps and see if they work for you.
Wifi Static
https://market.android.com/details?id=com.farproc.wifi.statIc
IP Manager
https://market.android.com/details?id=com.monkelabs.ipmanager
Click to expand...
Click to collapse
purrrrrrrfect
Wifi Static was zactly what i was looking for! THANK YOU!

How do I kill mac address randomization?

Fairly generic device running a fairly stock Android 6.0 (it is rooted, though).
Every time it connects to a wireless router, it reports a new mac address (changing the last six digits).
The problem: This device never leaves its home base (it will never connect to an outside router), and I need to forward certain WAN ports from the router to this device. Of course, the router (a brand new Huawei) can only forward by mac address, not by IP address. so each new connection basically requires logging into the router and manually updating its configuration (a time consuming and error-prone process). I could live with a different mac address on each boot (since the device is seldom rebooted), but one with each wifi connection is just too much.
I understand the benefits of random mac addresses for devices that connect to a number of access points, but the implementation (with no user control) feels very Apple like ("We know what's best for you. You have to do it our way, and don't get any choice in the matter").
Is there some way of getting a static mac address when I want one (which for this device, is always)?

Question Bypassing hotspot/tethering throttle speed on n200 5g

Got a free n200 through tmobile to use as a hotspot device for my pc. I was previously getting the job done by using a galaxy note 3 and setting my pc's ttl to 65 but apparently that doesn't work with the newer phones.
I did some searching online and haven't been able to get a definitive solution to bypassing the hotspot throttle, as people seem to have varying results.
Had a lot of issues with PDAnet+, so it's definitely not a long-term solution for me.
Just sent an unlock request to OnePlus, hopefully by next week I'll get the unlock file and I'll root the phone. I'm assuming that rooting the phone will expand my options for what I want to do. Anyone have a solution that worked for them?
Yo, it's like dns hijacking, in fact, this is what you have to do to bypass this.
I'll paint a scenario, see what you make of it...
I plug my sim into a wifi router, in the control panel of this router, I set the wifi to use the 2nd ip, (yes, all isp's actually give you 2 ip's, one that is public, one the isp use's to spy on you, and the one you see in your ethernet card, usually 192.168.1.1.
Your wifi router runs adb, so it is on a different network, being 192.168.0.1, if you set your connecting device to your public ip shown by the router, and nxbogus domain your isp's private number seen in the router, (usually 100.whatever) and their dns, then set your prefered dns in the connecting device, you will bypass the throttling, but you will notice something else...
They throttle you by lowering your phones coverage lol...
Notice in your wifi setup pages your signal will drop from say 75% to 25%, and if you check the config logs, you'll see your limited 90% by the isp..
Yup, I'm isp level in this department..
didn't understand half of what you said. can you break it down a lil bit more?
l0csta said:
Got a free n200 through tmobile to use as a hotspot device for my pc. I was previously getting the job done by using a galaxy note 3 and setting my pc's ttl to 65 but apparently that doesn't work with the newer phones.
I did some searching online and haven't been able to get a definitive solution to bypassing the hotspot throttle, as people seem to have varying results.
Had a lot of issues with PDAnet+, so it's definitely not a long-term solution for me.
Just sent an unlock request to OnePlus, hopefully by next week I'll get the unlock file and I'll root the phone. I'm assuming that rooting the phone will expand my options for what I want to do. Anyone have a solution that worked for them?
Click to expand...
Click to collapse
you could always use this classic app been around for yrs its called pdanet/Foxfi........ http://foxfi.com/
PopCaps1996 said:
you could always use this classic app been around for yrs its called pdanet/Foxfi........ http://foxfi.com/
Click to expand...
Click to collapse
yea i'm using easytether rn, very similar to foxfi and pdanet+... not a permanent solution however, as it tends to randomly disconnect and i often get kicked out of games due to "network lag". Speeds are exponentially faster than the throttled hotspot, however, so i wont complain.
still, would be nice if there was a solution to this for the native hotspot/tether features... tried everything with apns and changing the ttl on the phone but it didn't work.
looks like someone found a solution for the moto g 5g here, maybe i'll try to implement this for the n200, could be a possible workaround.
l0csta said:
yea i'm using easytether rn, very similar to foxfi and pdanet+... not a permanent solution however, as it tends to randomly disconnect and i often get kicked out of games due to "network lag". Speeds are exponentially faster than the throttled hotspot, however, so i wont complain.
still, would be nice if there was a solution to this for the native hotspot/tether features... tried everything with apns and changing the ttl on the phone but it didn't work.
looks like someone found a solution for the moto g 5g here, maybe i'll try to implement this for the n200, could be a possible workaround.
Click to expand...
Click to collapse
moto g solution you posted requires a special kernel. usb tethering through PDAnet+ paid version works fine, the key is you dont enable it thru the native tethering, instead enable USB tethering through the PDAnet app and leave the phone on charging mode so it can make a ADB connection. Make sure ADB is working and you can establish a working adb connection from PC to phone first prior to attempting to tether since it will use ADB. i get full speeds tethering using the paid version.
AiM2LeaRn said:
moto g solution you posted requires a special kernel. usb tethering through PDAnet+ paid version works fine, the key is you dont enable it thru the native tethering, instead enable USB tethering through the PDAnet app and leave the phone on charging mode so it can make a ADB connection. Make sure ADB is working and you can establish a working adb connection from PC to phone first prior to attempting to tether since it will use ADB. i get full speeds tethering using the paid version.
Click to expand...
Click to collapse
yeah i've been doing this via easy tether, gets the job done for the most part
For me, PDAnet has low throughput while EasyTether runs full speed and can be used with OpenWRT. They both disconnect randomly though.
No reason to deal with that if you have root. AdGuard+VPNHotspot+noprovisioning is easy to setup and works fine for most networks.
l0csta said:
didn't understand half of what you said. can you break it down a lil bit more?
Click to expand...
Click to collapse
Only connection is WAN to WAN!
Ok, first, I use an lte wifi router, enter gui, goto lan, change router login ip to any ip not 192.168.1.1 or 192.168.0.1, the latter is hidden in router, but when trying to connect 2nd router, using this ip, problems appear, because the 1st router has adb enabled due to the lte section of 1st router being android 6, and uses's it.
So in effect, I set 1st routers address to 192.168.1.5, 255.255.254.0, 192.168.1.3 ie, this is 1st router login address. In the 2nd router I set mac address of 1st router to use 192.168.1.3, having been set in the 1st.
I do this because if I set 2nd router to match 1st routers address, the 2nd router auto changes address, when plugged in to first, and the 1st router changes too.
So now that you can goto 192.168.1.1 in 2nd router with 1st plugged in, try 192.168.1.3.
First part over, now the tricky part...
Disconnect 2nd router (this Will become your MAIN router)
Start 1st router with sim in, only to obtain public ip, because you need to set this ip in WAN of 2nd router. If your ip changes every reboot, you need to check public ip from first router match's what you set the wan ip to in 2nd router.
Now when you are in 1st router's network/lan settings, look for option to use 2nd ip. enable it, in the ip box put your public ip, ie your internet ip, and remove all access to anything else, including disabling wifi, both 2.5 and 5g.
So now plug in 2nd router WAN to first routers WAN.
Go into 2nd router, and block the PRIVATE ip seen in 1st router, the ip the isp shows you, and NX=bogusdomain your isp's private dns
In your WAN page of 2nd router, set preferred dns.
Voila.
70-80% increase in response.
The hardware method to block dns hijacking
Ps any reboot of the first router will change its ip due to being lte, so remember to check 2nd router match's after any power outage...

Categories

Resources