Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:pydund [2018/12/04 19:06] – created Andreas Böhlerprojects:pydund [2020/05/26 18:34] (current) Andreas Böhler
Line 5: Line 5:
 The PDA still works fine, however Bluetooth HotSync doesn't work anymore since the required Bluetooth-daemons on the Linux-side are deprecated. The PDA still works fine, however Bluetooth HotSync doesn't work anymore since the required Bluetooth-daemons on the Linux-side are deprecated.
  
-I looked around for a long time until I found an implementation of rfcomm.py in the bluez-compassion project [[https://github.com/ykasidit/bluez-compassion|here]]. The original script can emulate the necesarry rfcomm server, but lacks an implementation of the PPP frontend. Furthermore, it is limited to either stdin/stdout or two separate named pipes - both of which can't be used for ppppd.+I looked around for a long time until I found an implementation of rfcomm.py in the bluez-compassion project [[https://github.com/ykasidit/bluez-compassion|here]]. The original script can emulate the necesarry rfcomm server, but lacks an implementation of the PPP frontend. Furthermore, it is limited to either stdin/stdout or two separate named pipes - both of which can't be used for pppd.
  
 I modified the code to include support for Pseudo-Terminals (pty) and direct launching of pppd. So far, it works fine for me, even though the PPP connection parameters are currently hardcoded in the file. I modified the code to include support for Pseudo-Terminals (pty) and direct launching of pppd. So far, it works fine for me, even though the PPP connection parameters are currently hardcoded in the file.
Line 14: Line 14:
  
 Just run''%%./rfcomm.py -D%%'' for dund support. On Arch, you need to prefix it with ''%%python2%%'', since it seems to only work with Python 2. Just run''%%./rfcomm.py -D%%'' for dund support. On Arch, you need to prefix it with ''%%python2%%'', since it seems to only work with Python 2.
 +
 +==== Code ====
 +
 +You can find and download the code at [[https://code.rnb-consulting.at/source/pd/|code.rnb-consulting.at/source/pd]].
 +
 +==== Next Steps ====
 +
 +After you have set up the connection, you can network hot-sync, in my case, j-pilot is the only application that's still available. I'm currently looking into syncing my NextCloud-data (Contacts, Addresses) to the device.