From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 25 10:05:16 2005 Return-Path: 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 8445216A4CE for ; Fri, 25 Mar 2005 10:05:16 +0000 (GMT) Received: from out-2.mail.amis.net (out-2.mail.amis.net [212.18.32.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 867D743D54 for ; Fri, 25 Mar 2005 10:05:13 +0000 (GMT) (envelope-from webmaster@fcntl.net) Received: from localhost (in-3.mail.amis.net [212.18.32.22]) by out-2.mail.amis.net (Postfix) with ESMTP id 30C7D108CC1 for ; Fri, 25 Mar 2005 11:05:12 +0100 (CET) Received: from in-3.mail.amis.net ([127.0.0.1]) by localhost (in-3.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75806-03 for ; Fri, 25 Mar 2005 11:05:10 +0100 (CET) Received: from smtp.amis.net (smtp.amis.net [212.18.32.41]) by in-3.mail.amis.net (Postfix) with ESMTP id D6BF5FB9A6 for ; Fri, 25 Mar 2005 11:05:09 +0100 (CET) Received: from sol.fcntl.net (cpe-212-18-59-182.cable.amis.net [212.18.59.182]) by smtp.amis.net (Postfix) with SMTP id 711B639681C for ; Fri, 25 Mar 2005 11:05:09 +0100 (CET) From: MilE 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: <20050325100509.711B639681C@smtp.amis.net> Date: Fri, 25 Mar 2005 11:05:09 +0100 (CET) X-Virus-Scanned: by amavisd-new at amis.net X-Spam-Status: No, hits=-5.899 required=5 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: Subject: Re: LAN access over bluetooth X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 10:05:16 -0000 Disconnects as if LAN goes down... when i try to open a webpage... It`s strange because email works fine... thats from logs Mar 24 17:33:42 office hcsecd[9065]: Got Link_Key_Request event from 'ubt0hci', remote bdaddr 00:20:e0:27:8c:0c Mar 24 17:33:42 office hcsecd[9065]: Found matching entry, remote bdaddr 00:20:e0:27:8c:0c, name 'URKO', link key exists Mar 24 17:33:42 office hcsecd[9065]: Sending Link_Key_Reply to 'ubt0hci' for remote bdaddr 00:20:e0:27:8c:0c Mar 24 17:33:43 office sdpd[8674]: Client on L2CAP socket has disconnected Mar 24 17:33:43 office ppp[43883]: Phase: Using interface: tun1 Mar 24 17:33:43 office ppp[43883]: Phase: deflink: Created in closed state Mar 24 17:33:43 office ppp[43883]: Phase: PPP Started (direct mode). Mar 24 17:33:43 office ppp[43883]: Phase: bundle: Establish Mar 24 17:33:43 office ppp[43883]: Phase: deflink: closed -> opening Mar 24 17:33:43 office ppp[43883]: Phase: deflink: Connected! Mar 24 17:33:43 office ppp[43883]: Phase: deflink: opening -> carrier Mar 24 17:33:43 office ppp[43883]: Phase: deflink: carrier -> lcp Mar 24 17:33:51 office ppp[43883]: Phase: deflink: lcp -> open Mar 24 17:33:51 office ppp[43883]: Phase: bundle: Network Mar 24 17:33:51 office ppp[43883]: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Mar 24 17:33:51 office ppp[43883]: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Mar 24 17:33:51 office ppp[43883]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable Mar 24 17:33:54 office ppp[43883]: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Mar 24 17:34:03 office last message repeated 3 times Mar 24 17:34:31 office kernel: ng_btsocket_rfcomm_session_send: Could not send data to L2CAP socket, error=40 Mar 24 17:34:31 office ppp[43883]: Phase: deflink: read (0): Connection reset by peer Mar 24 17:34:31 office ppp[43883]: Phase: deflink: open -> lcp Mar 24 17:34:31 office ppp[43883]: Warning: ff02:7::/32: Change route failed: errno: Network is unreachable Mar 24 17:34:31 office ppp[43883]: Phase: bundle: Terminate Mar 24 17:34:31 office ppp[43883]: Phase: deflink: Disconnected! Mar 24 17:34:31 office ppp[43883]: Phase: deflink: Connect time: 48 secs: 6990 octets in, 3971 octets out Mar 24 17:34:31 office ppp[43883]: Phase: deflink: 107 packets in, 67 packets out Mar 24 17:34:31 office ppp[43883]: Phase: total 228 bytes/sec, peak 725 bytes/sec on Thu Mar 24 17:34:06 2005 Mar 24 17:34:31 office ppp[43883]: Phase: deflink: lcp -> closed Mar 24 17:34:31 office ppp[43883]: Phase: bundle: Dead Mar 24 17:34:31 office ppp[43883]: Phase: PPP Terminated (normal). On Thu, 24 Mar 2005 14:08:44 -0800 Maksim Yevmenkin wrote: > Hello, > > > I have a couple of bluetooth USB dongles and I would like to use these to connect my laptop to my home LAN. > > I went through the basic setup steps described in handbook. I have configured hcsecd, sdpd and rfcomm_ppdd. > > ok > > > hcsecd.conf > > device { > > bdaddr 00:20:E0:27:8C:0C; > > name "URKO"; > > key nokey; > > pin "1234"; > > } > > that looks fine > > > 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 > > accept dns > > enable lqr > > enable proxy > > accept lqr > > disable pap > > deny pap > > disable chap > > deny chap > > that looks fine to. > > > Freebsd gateway has address 192.168.1.1. > > > > ipconfig on windows laptop > > 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.12 > > Subnet Mask . . . . . . . . . . . : 255.255.255.255 > > Default Gateway . . . . . . . . . : 192.168.1.12 > > DNS Servers . . . . . . . . . . . : 193.2.1.66 > > 193.2.1.72 > > ok > > > It connects fine... I can send mails and receive them... > > But when i try to open a webpage it disconnects... and doesnt open a page... > > Whats wrong? > > huh? what do you mean "disconnects"? is lan connection does down or you > just cant open web pages? if you can send and receive emails then > browser should work just fine. any errors on either side? anything the > log (/var/log/ppp.log and /var/log/messages)? > > max >