From owner-freebsd-current@FreeBSD.ORG Fri Jun 13 17:41:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9D4637B401 for ; Fri, 13 Jun 2003 17:41:21 -0700 (PDT) Received: from toy.homeunix.net (pool-141-154-248-135.bos.east.verizon.net [141.154.248.135]) by mx1.FreeBSD.org (Postfix) with SMTP id 6044943FA3 for ; Fri, 13 Jun 2003 17:41:20 -0700 (PDT) (envelope-from toyboy@toy.homeunix.net) Received: (qmail 2599 invoked from network); 14 Jun 2003 00:41:22 -0000 Received: from unknown (HELO toy.homeunix.net) (127.0.0.1) by 127.0.0.1 with SMTP; 14 Jun 2003 00:41:22 -0000 Received: (from toyboy@localhost) by toy.homeunix.net (8.12.9/8.12.9/Submit) id h5E0ebG9002586; Fri, 13 Jun 2003 19:40:37 -0500 (EST) Date: Fri, 13 Jun 2003 19:40:37 -0500 (EST) From: User Toyboy Message-Id: <200306140040.h5E0ebG9002586@toy.homeunix.net> To: freebsd-current@freebsd.org, m_evmenkin@yahoo.com, toyboy@toy.homeunix.net In-Reply-To: <20030613052451.32495.qmail@web40310.mail.yahoo.com> Subject: Re: bluetooth 20030604 and 5.1 release X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 00:41:22 -0000 Hello again, all information you have given me has been very helpful. ButI have messed up somewhere while setting up the rcfomm_pppd section and I don't know where the problem is. I have setup my ppp.conf like this: default: nat enable yes set ifaddr 192.168.0.1/0 192.168.0.2/0 bluetooth: enable dns disable pap deny pap disable chap deny chap verizon: set log Phase tun command set device PPPoE:fxp0 set authname blahblah set authkey blahblah set dal //above is set dial, not dal set login the output from hcidump when my other computer tries to make a LAN connection over PPP is: HCIDump - HCI packet analyzer ver 1.4 device: any snap_len: 65535 filter: 0xffffffff > HCI Event: Connect Request(0x04) plen 10 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > HCI Event: Command Status(0x0f) plen 4 > HCI Event: Role Change(0x12) plen 8 > HCI Event: Connect Complete(0x03) plen 11 < HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4 > HCI Event: Command Complete(0x0e) plen 6 > ACL data: handle 0x0006 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 3 scid 0x0040 < ACL data: handle 0x0006 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x004f scid 0x0040 result 0 status 0 > HCI Event: Number of Completed Packets(0x13) plen 5 > ACL data: handle 0x0006 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x004f flags 0x0000 clen 4 MTU 32767 < ACL data: handle 0x0006 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 < ACL data: handle 0x0006 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4 MTU 132 > HCI Event: Number of Completed Packets(0x13) plen 5 > HCI Event: Role Change(0x12) plen 8 > ACL data: handle 0x0006 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x004f flags 0x0000 result 0 clen 0 > ACL data: handle 0x0006 flags 0x02 dlen 8 L2CAP(d): cid 0x4f len 4 [psm 3] RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c < ACL data: handle 0x0006 flags 0x02 dlen 8 L2CAP(d): cid 0x40 len 4 [psm 3] RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 > HCI Event: Number of Completed Packets(0x13) plen 5 > ACL data: handle 0x0006 flags 0x02 dlen 17 > ACL data: handle 0x0006 flags 0x01 dlen 1 L2CAP(d): cid 0x4f len 14 [psm 3] RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8 dlci 2 frame_type 0 credit_flow 15 pri 0 ack_timer 0 frame_size 127 max_re trans 0 credits 0 < ACL data: handle 0x0006 flags 0x02 dlen 8 L2CAP(d): cid 0x40 len 4 [psm 3] RFCOMM(s): DM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x73 > HCI Event: Number of Completed Packets(0x13) plen 5 Also, let me explain cleary what I am trying to do so you can tell me if my understanding is wrong. I am using my FreeBSD box with a bluetooth adaptor to serve internet connections to other devices, my laptop specifically. So I did "hcsecd", then "sdptool add --channel=1 LAN" then rfcomm_pppd -a mylaptopaddress -s -C 1 -l bluetooth" These are all the steps I took to get this to work. The items are already paired. Does anyone know where I am making a wrong step? The laptop I am using to connect is MAC OS X, and I found info on the net to connect OSX to a bluetooth PPP over LAN connection says I should do this on my mac: select "LAN access using PPP." Select RS232 on Port type. On the Modem tab, select "Null Modem 115200" modem profile. I would appreciate it if anyone could help me with this. Thanks