Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 17:34:01 -0400 (EDT)
From:      Tuc at T-B-O-H <ml@t-b-o-h.net>
To:        maksim.yevmenkin@gmail.com (Maksim Yevmenkin)
Cc:        Bakul Shah <bakul@BitBlocks.com>, freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: sprintpcs treo 650 & blutooth & dialup networking
Message-ID:  <200508262134.j7QLY11x083766@himinbjorg.tucs-beachin-obx-house.com>
In-Reply-To: <bb4a86c7050826141449e646ad@mail.gmail.com> from "Maksim Yevmenkin" at Aug 26, 2005 02:14:19 PM

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508262134.j7QLY11x083766>