From owner-freebsd-bluetooth@FreeBSD.ORG Sat Mar 24 00:18:02 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F114616A404 for ; Sat, 24 Mar 2007 00:18:02 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2F613C458 for ; Sat, 24 Mar 2007 00:18:02 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1443962ana for ; Fri, 23 Mar 2007 17:18:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=ZGDboNBzvOCFJ7bLdD2tr62wBQj+7eVcnEhUbbsYk69taH3FCPLkA7B9rwTj4WjwGMdkf2f9u2OCd90lEB0G2w6CoOGCa/ZEn6OivhE7u/fIY4ToVNc2mvt51JR9GveCFP+P8QJ4Iea1hNcZL/i7llrFxlHLuDoX4KSUfgai2ws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F5Ayr9PHw7jWwLzI1TinuYNA9zIBGRkWlk4rryBP8IPDnwItFsOHBW0hF73JI0KJpvRd+9V2HNKewSLprmjecPuRSgX4m1Cv1g8zskMIODjE5kN6cDP9OdGNYQ8peMvgA9TExPJ6BllHaymW9VqobiiZPhkiZLGvYJ12W3/yF6M= Received: by 10.100.123.9 with SMTP id v9mr3126767anc.1174695481431; Fri, 23 Mar 2007 17:18:01 -0700 (PDT) Received: by 10.100.168.6 with HTTP; Fri, 23 Mar 2007 17:18:01 -0700 (PDT) Message-ID: Date: Fri, 23 Mar 2007 17:18:01 -0700 From: "Maksim Yevmenkin" To: ml-vic In-Reply-To: <200703232213.30138.ml-vic@de-martino.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200703232213.30138.ml-vic@de-martino.it> Cc: freebsd-bluetooth@freebsd.org Subject: Re: ppp connection drops because of a flood of LCP Req 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, 24 Mar 2007 00:18:03 -0000 On 3/23/07, ml-vic wrote: > For a very long time I've being using a umts pcmcia card so it was easy to me > modify a bit ppp.conf file as below to connect my pc thru bluetooth and my > cell phone used as modem: > > > ################################################################# > # PPP Sample Configuration File > ################################################################# > > default: > set log Phase Chat LCP IPCP CCP tun command > ident user-ppp VERSION (built COMPILATIONDATE) > > rfcomm-dialup: > set device /dev/ubt0 get rid of "set device", ppp is executed in -direct mode, i.e. stdin/stdout is used instead of opening device. in fact, there is no /dev/ubt0. does not seem to matter, but its confusing. > enable force-scripts > set phone *99\# > set mtu 300 > set mru 300 i'd say loose those (mtu/mru) too. it seems like remote side does not like it. otherwise looks fine to me max > enable dns > disable mppe > enable lqr > > set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \ > \"\" ATZ OK-AT-OK ATE1Q0 OK \ > AT+CGDCONT=1,\\\"IP\\\",\\\"web.omnitel.it\\\",\\\"0.0.0.0\\\" OK \ > \\dATDT\\T TIMEOUT 40 CONNECT" > > set authname # those can be usually chosen at will > set authkey > disable vjcomp > disable deflate > disable protocomp > set dns 83.224.66.134 83.224.65.134 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > ################################## > > And then launch > > # rfcomm_pppd -a 00:12:d2:65:c2:03 -c -C dun -l rfcomm-dialup > > ppp starts, chats, tries to connect to the provider but drops after a while > issuing a flood of LCP requests (see below ppp.log) > > Any idea? > > Ciao > Vittorio >