From owner-freebsd-bluetooth@FreeBSD.ORG Fri Apr 11 23:39:05 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 426C9106564A for ; Fri, 11 Apr 2008 23:39:05 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id CE8D28FC1A for ; Fri, 11 Apr 2008 23:39:04 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so596375fgg.35 for ; Fri, 11 Apr 2008 16:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+53B6hTbw1GXqmDz1UUeEpCg4mxWphu93h/awLkaSZQ=; b=B7wOFAS7c1w176Ulevg7SDSdna/nD4RK0A3eBUNpKalB7t9RQ7tFOBfuqHBOogAT4iZRsQop60E+wX9Zvl5UfUFNdpbxdNGq726ZBW9O6+mRAL6nkoL9nLQ+NJ4qA4XqB6H+46orHBFBdn8xg6mi+jJihCjJeamrZ3zBlqpJp0o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=wM1jeFLiiEoCAPjse7d3ayptgZjDL76T+AZCrs/BelbURJVaN/iA+m5v8uXrm3t6cXU5Nq77gahSW+E9199YEqxIIONrntt3rb7oMeQ9y+3omHxeIut8jH4/mdwJS8fkPvPQQ+xpEvKrI5zrS2d4D7tO/vUjSiPyzWTvNjNTkpk= Received: by 10.86.95.20 with SMTP id s20mr6861543fgb.6.1207957143532; Fri, 11 Apr 2008 16:39:03 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Fri, 11 Apr 2008 16:39:03 -0700 (PDT) Message-ID: Date: Fri, 11 Apr 2008 16:39:03 -0700 From: "Maksim Yevmenkin" To: mato In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47DBE7A4.3060006@users.sf.net> <47F67B95.4060402@users.sf.net> Cc: freebsd-bluetooth@freebsd.org Subject: Re: BT issues 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: Fri, 11 Apr 2008 23:39:05 -0000 > > Thanks for the script but I would need it expanded a bit. The thing is > > that because I connect both FreeBSD and Windows as clients I had to create 2 > > slightly different ppp.conf labels (it didn't work for me with one label > > only). Therefore I created 2 simple scripts, each starting rfcomm_pppd with > > different label on different channel. Then I run them manually or > > automatically from cron at startup. > > Do you think it would be possible to cover situations like mine within your > > script ? Something like specifying for instance > > rfcomm_pppd_server_channel="1,2" .. ? > > why do you need 2 different labels? having multiple instances of a > rfcomm_pppd started would be possible, however i will need some time > to think about it. i have committed to -current newer version of the rfcomm_pppd_server script === http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/rfcomm_pppd_server Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in server mode at boot time. Multiple profiles can be started at the same time. The whole idea is very similar to the ppp rc script. === it provides support for multiple rfcomm_pppd profiles running on multiple rfcomm channels. still not sure why you need to support this, but it was relatively painless to add such support, so i did it. give it a try and let me know if you have any problems and/or suggestions. i will mfc it in a week or so. thanks, max