Sample Header Ad - 728x90

How to see the default gateway of mobile network?

1 vote
2 answers
2432 views
Android version 13\ One UI Core version 5.1\ Model code SM-A045FZKGXID\ Kernel version 4.19.191-26097594-abA045FXXU3cWG1 After hours of googling and ChatGPT I randomly found my IP address, instead of being among network-related settings, was among "status information" (why?) I have no Android experience, but I am a Linux enthusiast and therefore thought about checking the network configuration files in /etc; I downloaded terminals but I couldn't go anywhere: almost all commands are unusable. I understood that Android did some kind of restriction on the file system, even reading files is a hassle. ip and netstat yielded errors. I decided to unlock the "developer options", connect my phone to the PC, and try to navigate it from there. Unfortunately, I couldn't find the root folder / all I could find was 'Internal Storage' with its DCIM, Documents... subfolders. I read that through some apps, the default gateway can be obtained. I think though that if apps can do it I should be able to do it as well.
Asked by Andsewal (11 rep)
Nov 16, 2023, 01:51 PM
Last activity: Jan 31, 2025, 04:54 PM