New answers tagged ip-address
[From Comments:] If you're looking to connect the two via IP networking they'll need to be in the same subnet. Your PC is self-assigning an IP address because it can't find a DHCP server. Try statically assigning your PC 192.168.1.1 with the same 255.255.255.0 subnet.
I think reverse tethering would solve your problem. Android reverse tethering steps: Note: Works only in a rooted Android phone. Connect Android device via USB. Enable USB tethering. To do so, go to Settings → More... → Tethering & mobile hotspot → Usb tethering. On host machine, type: $ ifconfig usb0 10.42.0.1 netmask ...
just type netcfg it will lists the interface, and work on any terminal emulator. running on the phone itself, or remotely via adb.
Top 50 recent answers are included