+------------------------------------------------------
| Some useful links
Using a Palm Tungsten-T with a Linux PC - Original how-to
BlueZ - Official Linux Bluetooth Stack
J-Pilot - Desktop Organizer Software for the Palm Pilot
+------------------------------------------------------
| Running PPP Synchronization
# to set the device and services up
/etc/pda-bt up
# to start rfcomm communication
/etc/pda-bt go
# to synchronize PDA: press Sync button of J-Pilot and then tap HotSync
# to stop the bluetooth device
/etc/pda-bt down
+------------------------------------------------------
| /etc/pda-bt script
#!/bin/bash
# PDA Bluetooth sync connection...
case "$1" in
up)
/sbin/modprobe hci_usb
/sbin/modprobe l2cap
/sbin/modprobe bnep
/sbin/modprobe rfcomm
/usr/sbin/hciconfig hci0 up
/usr/sbin/hcid -f /etc/bluetooth/hcid.conf
/usr/sbin/sdpd
/usr/bin/pand --listen --role NAP
cp /etc/ppp/options.pda /etc/ppp/options
;;
go)
/usr/bin/dund --listen --sdp --channel 1 -n
;;
down)
/usr/sbin/hciconfig hci0 down
;;
*)
echo "Usage: $0 {up|go|down}"
esac
exit 0
+------------------------------------------------------
| J-Pilot Preferences
Settings Tab:
Serial Port = "net:any"
+------------------------------------------------------
| /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp $
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
pin_helper /usr/bin/bluepin;
#dbus_pin_helper;
# A dbus PIN daemon can be found at
# ftp://ftp.handhelds.org/pub/projects/gpe/source/bluez-pin-0.20.tar.gz
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";
# Local device class
class 0x120104;
# Default packet type
pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
#
lm accept,master;
#
# lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
#
#lp hold,sniff;
#
lp hold,sniff,park;
# Authentication and Encryption
auth enable;
encrypt enable;
}
+------------------------------------------------------
| /etc/ppp/options.pda
57600
# do not require auth
noauth
# do not use modem control lines we aren't using a real serial line
local
# do not determinate local ip from hostname
noipdefault
# usefull ARP proxing
proxyarp
# do not enable default route
nodefaultroute
# do not use ipx
noipx
# set disconnect timeout
idle 0
# local ip : remote ip
x.y.z.12:x.y.z.13
# dns
ms-dns ... # IP od DNS
# netmask
netmask 255.255.255.0
# this is required for the non standard microsoft PPP negotiation
connect "sleep 1; echo -n CLIENTSERVER"
+------------------------------------------------------
| Palm HotSync Settings
Modem Sync: Net
LAN Sync: Local HotSync
Primary PC: x.y.z.12
Main screen
of HotSync: Modem
PPP: BT to PC
+------------------------------------------------------
| Palm Preferences
Network_________
Service: PPP: BT to PC
Connection: BT to PC
Conn. type: PPP
Timeout: Never
IP Address: auto
Connections_____
Conn. name: BT to PC
Connect to: PC
Bluetooth
Device: (trusted bluetooth PC)
Serial Rate: 57600
Flow Control: auto