June 18, 2016

There are a number of solutions available for accessing an Android device remotely from a computer. Mobizen is available for Android through Google Play. In particular,

  • it does not require root
  • it does not require a wired connection
  • it does not require to be on the same network as the device accessing it
  • it is free
  • it supports not only remote screen access, but also many other features, including transferring files between your Android and the remote computer

Some notable disadvantages are:

  • it appears to no longer support USB connections
  • depending on the quality of the network, performance and quality will vary greatly
  • sound cannot be played remotely
  • reliability, responsiveness and frequency of disconnection


By default, a machine will be assigned two different IP addresses if connected via multiple interfaces (i.e. wireless and wired ethernet). Here is an example on a MacBookAir connected to the same router as such:

 
➜  ~ ifconfig
en0: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
	ether 48:d7:05:bc:91:11
	nd6 options=1
	media: autoselect ()
	status: inactive
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
	ether 98:5a:eb:d3:b9:b9
	inet6 fe80::9a5a:ebff:fed3:b9b9%en4 prefixlen 64 scopeid 0x9
	inet 192.168.0.113 netmask 0xffffff00 broadcast 192.168.0.255
	nd6 options=1
	media: autoselect (1000baseT <full-duplex,flow-control,energy-efficient-ethernet>)
	status: active

To change this, open System Preferences -> Network -> Thunderbolt Ethernet, and change Configure IPv4 to Using DHCP with manual address. Enter in the current IP address for the first network interface used. Then repeat the same for that interface too, so that when DHCP re-assigns these addresses (either after connection is re-initialized, or the DHCP assignment expires, if your router is not configured to assign IP addresses permanently.

If you run the ifconfig command after applying the new configurations, you should see that the IP address assigned for both interfaces is the same.

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 48:d7:05:bc:91:11
	inet6 fe80::4ad7:5ff:febc:9111%en0 prefixlen 64 scopeid 0x4
	inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
	nd6 options=1
	media: autoselect
	status: active
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
	ether 98:5a:eb:d3:b9:b9
	inet6 fe80::9a5a:ebff:fed3:b9b9%en4 prefixlen 64 scopeid 0x9
	inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
	nd6 options=1
	media: autoselect (1000baseT <full-duplex,flow-control,energy-efficient-ethernet>)
	status: active