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
  • 853

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

grawity
  • 501,077