7.2. HotSync your Palm over Bluetooth


You can also HotSync your Palm over this same connection, using the Connection Profile we created earlier. If you haven't disconnected your Palm from Bluetooth yet, try this:

  1. Tap on HotSync, then select "Modem" from the two available options listed on the screen. Also make sure to select the TCP network profile we created earlier, which uses the Bluetooth connection we also set up previously.

    Figure 7-2. Select "Modem" HotSync option

  2. While in HotSync, tap on Menu, and then on "Primary PC Setup". In here, you should list the IP address of the machine you are physically connecting to, via TCP or Bluetooth. This is the IP address of the machine running the pppd command from earlier. In my case, this is '10.0.1.8'. Yours will likely be different.

    I've had some trouble when I fill in the "Primary PC Name" field and the "Subnet Mask" field, so I left those blank. It still works with just the IP address entered there. I haven't had the time to debug why it fails to find the 10.0.1.8 machine by name, but it might be related to a DNS problem on the Palm side.

    Figure 7-3. Primary PC Setup

  3. Lastly, still while in HotSync, tap on Menu, and then on "LANSync Prefs...", and make sure that "LANSync" is selected, and not "Local HotSync".

    Figure 7-4. Setting LANSync Preferences

Now, on the desktop machine, launch the following command, from the pilot-link suite of tools:

			wrath:~$ pilot-xfer -p net:any -l
			
		  

With the "Modem" option selected in HotSync, tap on the HotSync icon. You should see files being listed in the terminal there. When the list is complete, the bluetooth connection should terminate on you. This is one method to do this type of HotSync.

Now, while still in HotSync, and with the connection terminated, launch the same pilot-xfer command on the desktop, and tap on the HotSync icon again. You will be prompted to pick a network connection. If rfcomm was listening again, and pppd launched, you could do this Network HotSync over Bluetooth in one tap.

Slick, isn't it?