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)

interstar
  • 843
  • 1
  • 10
  • 17

1 Answers1

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.)

u1686_grawity
  • 426,297
  • 64
  • 894
  • 966
  • 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
  • http://www.tldp.org/HOWTO/PPP-HOWTO/direct.html might be a good start. – u1686_grawity May 27 '17 at 13:13