View Single Post
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#16
Originally Posted by n950 View Post
I connect usb cable from pc to galaxy i choose developer mode but only galaxy said in charge only
when i run in ubuntu ssh nemo@192.168.2.15 i have network is unreachable.
Do the following:
  1. go to Settings/USB, then set it to Always ask
  2. start fingerterm or another terminal
  3. enter devel-su systemctl restart usb-moded
  4. select Developer mode from the list
Now you can connect to the device from the PC with ssh nemo@192.168.2.15 (or if you installed 4.0 as fresh: ssh defaultuser@192.168.2.15)

The other way, if you connect your device to the same wifi network where your PC is connected to then use the phone's IP address for the ssh.
Example: (let's say the phone's IP address is 192.168.1.80)
ssh nemo@192.168.1.80 (or ssh defaultuser@192.168.1.80)
 

The Following User Says Thank You to edp17 For This Useful Post: