Normally when a modem/router is connected to a computer, there are multiple ways to know the ip address of them. I am using an android device and, I have free WiFi in my colony.
The problem is that previously the WiFi connected without any issues and the speed was great too. But recently they changed the WiFi frequency from 5 GHz to 2.4 GHz and now the WiFi doesn't get much signal from my home, and hence doesn't connect. And they refused to change it, and the problem is they never understood it, and it was the work of the repairman who changed it.
I am able to connect to the WiFi and it works, when in range, so is there any way to get the ip address of the router so that I can change the frequency. And also the ISP doesn't even respond to calls, and comes in months if there is any problem. And also I know the password and username, so don't respond to it that I am hacking something.
And when I connect to the WiFi it assigns me 192.168.43.214 address. So please tell me is there any way to know the ip address of the router.
.0
is unlikely,.1
a good guess without guarantee. Using a terminal app (oradb shell
), the commandroute
would give a definite answer – as the router will be the point the device routes to. So any192.168.43.X
address showing up as gateway (gw
) in theroute
output will be the router.adb shell dumpsys wifi | grep Gateway
. It is another matter that the log in page for router could be set at a different IP address.busybox route
outputs the routing information as expected – no idea what AOSP (or Google) compiled for the nativeroute
command – whatever option I provided (-n|-v|-F|-C|-A
) only provoked an "applet not found" error. Sorry for that, I should have tested it before.