From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 3 01:02:14 2005 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC84016A41F for ; Sat, 3 Dec 2005 01:02:14 +0000 (GMT) (envelope-from office@pershing.be) Received: from out-2.mail.amis.net (out-2.mail.amis.net [212.18.32.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A3D43D60 for ; Sat, 3 Dec 2005 01:02:14 +0000 (GMT) (envelope-from office@pershing.be) Received: from localhost (in-4.mail.amis.net [212.18.32.23]) by out-2.mail.amis.net (Postfix) with ESMTP id 7B6F6108FBC for ; Sat, 3 Dec 2005 02:02:12 +0100 (CET) Received: from in-4.mail.amis.net ([127.0.0.1]) by localhost (in-4.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33396-01 for ; Sat, 3 Dec 2005 02:02:10 +0100 (CET) Received: from smtp.amis.net (smtp.amis.net [IPv6:2001:15c0::41]) by in-4.mail.amis.net (Postfix) with ESMTP id 1B16DB4792 for ; Sat, 3 Dec 2005 02:02:10 +0100 (CET) Received: from office.pershing.be (cpe-212-18-59-182.dynamic.amis.net [212.18.59.182]) by smtp.amis.net (Postfix) with SMTP id BEB48396801 for ; Sat, 3 Dec 2005 02:02:09 +0100 (CET) From: Branko To: freebsd-bluetooth@freebsd.org Organization: SOL X-Mailer: SOLmail ver 5.0.1 X-Operating-System: SOLos hack proof operating system Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20051203010209.BEB48396801@smtp.amis.net> Date: Sat, 3 Dec 2005 02:02:09 +0100 (CET) X-Virus-Scanned: by amavisd-new at amis.net X-Spam-Status: No, score=-5.669 required=5 tests=[ALL_TRUSTED=-3.3, AWL=0.230, BAYES_00=-2.599] X-Spam-Score: -5.669 X-Spam-Level: Subject: LAN X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 01:02:14 -0000 Hi, I tried to use PPP LAN connection over bluetooth. FreeBSD server for gateway and laptop with windows for client. This are my configs. hcsecd.conf device { bdaddr 00:20:E0:27:8C:0C; name "URKO"; key nokey; pin "1234"; } ppp.conf rfcomm-server: set timeout 0 set lqrperiod 10 set ifaddr 192.168.1.10 192.168.1.11-192.168.1.20 255.255.255.0 enable lqr accept lqr disable pap deny pap disable chap deny chap /etc/rc.bluetooth start ubt0 /usr/sbin/hcsecd /usr/sbin/sdpd /usr/sbin/rfcomm_pppd -s -C 7 -l rfcomm-server thats how i start rfcomm_server and others. Pairing of devices works fine. I can also connect both computers. Ethernet adapter Bluetooth Network: Media State . . . . . . . . . . . : Media disc Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : Bluetooth LAN Access Server Driver Physical Address. . . . . . . . . : 00-20-E0-27-8C-0C PPP adapter BluetoothNullConnection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface Physical Address. . . . . . . . . : 00-53-45-00-00-00 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.1.20 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : 192.168.1.20 But when i try to open lets say www.google.com connection always drop down. Thats * from logs Dec 3 01:27:46 office sdpd[934]: Client on L2CAP socket has disconnected Dec 3 01:27:47 office hcsecd[932]: Got Link_Key_Request event from 'ubt0hci', remote bdaddr 00:20:e0:27:8c:0c Dec 3 01:27:47 office hcsecd[932]: Found matching entry, remote bdaddr 00:20:e0:27:8c:0c, name 'URKO', link key exists Dec 3 01:27:47 office hcsecd[932]: Sending Link_Key_Reply to 'ubt0hci' for remote bdaddr 00:20:e0:27:8c:0c Dec 3 01:27:47 office ppp[1618]: Phase: Using interface: tun1 Dec 3 01:27:47 office ppp[1618]: Phase: deflink: Created in closed state Dec 3 01:27:47 office ppp[1618]: Phase: PPP Started (direct mode). Dec 3 01:27:47 office ppp[1618]: Phase: bundle: Establish Dec 3 01:27:47 office ppp[1618]: Phase: deflink: closed -> opening Dec 3 01:27:47 office ppp[1618]: Phase: deflink: Connected! Dec 3 01:27:47 office ppp[1618]: Phase: deflink: opening -> carrier Dec 3 01:27:47 office ppp[1618]: Phase: deflink: carrier -> lcp Dec 3 01:27:54 office ppp[1618]: Phase: deflink: lcp -> open Dec 3 01:27:54 office ppp[1618]: Phase: bundle: Network Dec 3 01:27:54 office ppp[1618]: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 3 01:27:54 office ppp[1618]: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 3 01:27:54 office ppp[1618]: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Dec 3 01:27:57 office ppp[1618]: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 3 01:27:59 office kernel: ng_btsocket_rfcomm_session_send: Could not send data to L2CAP socket, error=40 Dec 3 01:27:59 office ppp[1618]: Phase: deflink: read (0): Connection reset by peer Dec 3 01:27:59 office ppp[1618]: Phase: deflink: open -> lcp Dec 3 01:27:59 office ppp[1618]: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable Dec 3 01:27:59 office ppp[1618]: Phase: bundle: Terminate Dec 3 01:27:59 office ppp[1618]: Phase: deflink: Disconnected! Dec 3 01:27:59 office ppp[1618]: Phase: deflink: Connect time: 12 secs: 15749 octets in, 4416 octets out Dec 3 01:27:59 office ppp[1618]: Phase: deflink: 81 packets in, 61 packets out Dec 3 01:27:59 office kernel: ng_l2cap_l2ca_receive: ubt0l2cap - unexpected L2CAP data packet. Invalid channel state, cid=70, state=5 Dec 3 01:27:59 office ppp[1618]: Phase: total 1680 bytes/sec, peak 2707 bytes/sec on Sat Dec 3 01:27:58 2005 Dec 3 01:27:59 office ppp[1618]: Phase: deflink: lcp -> closed Dec 3 01:27:59 office ppp[1618]: Phase: bundle: Dead Dec 3 01:27:59 office ppp[1618]: Phase: PPP Terminated (normal). thanks, brane