From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 14 22:57:49 2004 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 7AE9216A4CE for ; Tue, 14 Dec 2004 22:57:49 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0696543D55 for ; Tue, 14 Dec 2004 22:57:49 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iBEMvblf023118; Tue, 14 Dec 2004 16:57:37 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 14 Dec 2004 16:57:32 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 14 Dec 2004 16:57:20 -0600 Message-ID: <41BF6FCE.30605@savvis.net> Date: Tue, 14 Dec 2004 14:57:18 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Edwin D. Vinas" References: <20041214030026.57208.qmail@web53405.mail.yahoo.com> In-Reply-To: <20041214030026.57208.qmail@web53405.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Dec 2004 22:57:20.0609 (UTC) FILETIME=[44573510:01C4E230] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: Access internet in my Nokia phone via FreeBSD-5.3 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: Tue, 14 Dec 2004 22:57:49 -0000 Edwin, > I have a Nokia 3660 phone and a working FreeBSD-5.3 > Bluetooth system (i.e., can send/receive files). Now, > I have to test if I can access Internet through the > LAN through my FreeBSD PC through the Bluetooth > connection. let me get it straight. you want to use your freebsd box as gateway, right? so your phone will act as a *client* and freebsd box will act as a bluetooth access point, correct? > My questions are: > 1. Has anyone tried using Nokia3660 to access Internet > via FreeBSD machine's bluetooth connection? dont know > 2. What are the Nokia phone models that can do > Internet access in the LAN via bluetooth? dont know > 3. What are the required steps to configure my phone > and my FreeBSD PC inorder to share internet access to > my phone? I barely understand RFCOMM or PPP Dial-up > which I think is the method being used for this. as usual, if you want to provide bluetooth services on a freebsd box you need to run sdpd(8). another thing you need to do is to run bluetooth LAN (LAN Access Using PPP) profile daemon rfcomm_pppd(8). the purpose of rfcomm_pppd(8) is to accept *incoming* rfcomm connection from the remote bluetooth client (i.e. your phone) and then run ppp(8) on it. therefore you need to prepare an entry in your /etc/ppp/ppp.conf file for the remote bluetooth clients. please see rfcomm_pppd(8) and ppp(8) man pages for examples. so, the steps are prepare 'rfcomm-client' section in your /etc/ppp/ppp.conf file. # sdpd # rfcomm_pppd -s -C 1 -l rfcomm-client # sdpcontrol -l browse you should see LAN service offered on freebsd box. note: if your phone is symbian based you might need to add '-S' option to rfcomm_pppd(8) command line. also for some phones you might need to adjust chat script in /etc/ppp/ppp.conf file. max