Get gateway ip address in android
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How to get gateway IP details , There is option using wifimanager but. If there is no wify how to find gateway,dns and other details in android device when connected using usb tethering. 回答1: I'm using cyanogenmod 7.2 on android 2.3.4, then just open terminal emulator and type: $ ip addr show $ ip route show 回答2: I wanted to post this answer as an update for users of more recent Android builds (CM11/KitKat/4.4.4). I have not tested any of this with TouchWiz or older Android releases so YMMV. The following commands can be run in all the usual