5

I want to keep two directories in sync between my laptop (Ubuntu) and my PocketCHIP (Debian) which connects over USB serial.

I use cu to log in to the PocketCHIP, but is there a way to rsync between them (without being on a network)

3

Set up a PPP connection – configure pppd on both sides to attach to the serial device (Google keyword "null modem pppd"). You'll get a ppp0 interface which supports TCP/IP, just like with old-school dial up modems.

On the 'server' side, it should be possible to create a special user account and set its shell to pppd; that way you'll still have a regular login prompt via cu. The client will need to use a "chat script" to log in. (This is probably similar to how UUCP is used.)

2
  • Thanks. I'm sure this is a good answer, but even after googling around the subject I'm still too ignorant of this level to make much sense of it. Do you know any simple / beginner tutorials for this? – interstar May 26 '17 at 20:55
  • tldp.org/HOWTO/PPP-HOWTO/direct.html might be a good start. – user1686 May 27 '17 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.