From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 26 21:34:11 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C14216A41F; Fri, 26 Aug 2005 21:34:11 +0000 (GMT) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 284CE43D45; Fri, 26 Aug 2005 21:34:10 +0000 (GMT) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c511d8.dyn.optonline.net [68.197.17.216]) (authenticated bits=128) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id j7QLY87f057674; Fri, 26 Aug 2005 17:34:08 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.3/8.12.10) with ESMTP id j7QLY1eT083767; Fri, 26 Aug 2005 17:34:02 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.3/8.13.1/Submit) id j7QLY11x083766; Fri, 26 Aug 2005 17:34:01 -0400 (EDT) (envelope-from tbohml) From: Tuc at T-B-O-H Message-Id: <200508262134.j7QLY11x083766@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@gmail.com (Maksim Yevmenkin) Date: Fri, 26 Aug 2005 17:34:01 -0400 (EDT) In-Reply-To: from "Maksim Yevmenkin" at Aug 26, 2005 02:14:19 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Bakul Shah , freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: sprintpcs treo 650 & blutooth & dialup networking X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 21:34:11 -0000 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