Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Random question about OnePlus since I'm seeing it in a Linux conversation... do you happen to use Termux? If so do you happen to know how to run a daemon (e.g. SSH) without getting choked by BgDetect every few minutes?


Yeah I do run termux, but I don't run an SSH daemon anymore (mostly because of issues like that). I just plug in the USB cable and run `adb shell` whenever I need a shell on the phone.

Performance for file transfers is also way faster and more reliable using `adb pull /sdcard/DCIM ./` than with `scp -r phone:/sdcard/DCIM/ ./`

I use termux mostly just run my own ruby scripts or SSH to cloud servers and stuff.

Mind if I ask where the conversation is? (if it's public). That sounds like something I'd enjoy :-)


Your question was not directed towards me but would like to add that for synhing media between phone and computer, Syncthing[0] has been great for me. Once setup, no manual steps are required anymore - everything syncs automatically.

[0]: https://syncthing.net/


Oh, I was just referring to this post, which is about putting Linux on devices meant for other OSes. :-)

Ah I see. Yeah I use USB when I need to, but I neither always have enough data to warrant the speed (often just a handful of pics...), nor is it true that I only want SSH for file transfer. =P




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: