Re: bluetooth 20030604 and 5.1 release

From: User Toyboy <toyboy_at_toy.homeunix.net>
Date: Fri, 13 Jun 2003 19:40:37 -0500 (EST)
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
Received on Fri Jun 13 2003 - 15:41:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC