sprintpcs treo 650 & blutooth & dialup networking

Tuc at T-B-O-H ml at t-b-o-h.net
Fri Aug 26 21:34:11 GMT 2005


This is what I use :

/etc/rc.local:

/etc/rc.bluetooth start ubt0
/usr/sbin/sdpd
/usr/local/bin/sdptool add DUN
/usr/sbin/rfcomm_pppd -s -C 1  -l rfcomm-server
/sbin/sysctl net.inet.ip.forwarding=1
/sbin/ipnat -C
/sbin/ipnat -f /usr/local/etc/rfcomm_ppd.nat.conf



/usr/local/etc/rfcomm_ppd.nat.conf:

 map wi0 10.0.0.2/32 -> 0/32 portmap tcp/udp auto
 map wi0 10.0.0.2/32 -> 0/32


/etc/ppp/ppp.conf:

rfcomm-server:
  set timeout 0
  set lqrperiod 60
  set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0
  enable lqr
  accept lqr
  # Do not use PPP authentication. Assume that
  # Bluetooth connection was authenticated already
  disable pap
  deny pap
  disable chap
  deny chap
  # Added by Tuc
  enable dns

	And the sdptool is the newer copy of it.

			Tuc


More information about the freebsd-mobile mailing list