From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 26 22:17:18 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6219E16A421 for ; Fri, 26 Aug 2005 22:17:18 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DBDB43D48 for ; Fri, 26 Aug 2005 22:17:17 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so652303rne for ; Fri, 26 Aug 2005 15:17:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f8UPFWfoURZW9Ix1hJIadVWDUMPzOi4Fv9Mgk5wLsGCQGrp9tNqSzTLpCOsrzeqDK57kgyr75D6WLXo+teP7Zv1MIxgIlVHR+/AErHs0j++FngswQNZeHzx91pwT059/8WYf2PZ87eGO7NpKqr0M1Z4tfPGXnEe8O6ybYnn41PE= Received: by 10.38.101.11 with SMTP id y11mr593021rnb; Fri, 26 Aug 2005 15:17:16 -0700 (PDT) Received: by 10.38.208.41 with HTTP; Fri, 26 Aug 2005 15:17:16 -0700 (PDT) Message-ID: Date: Fri, 26 Aug 2005 15:17:16 -0700 From: Maksim Yevmenkin To: Bakul Shah In-Reply-To: <200508262157.j7QLvDQi054574@gate.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200508262157.j7QLvDQi054574@gate.bitblocks.com> Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: sprintpcs treo 650 & blutooth & dialup networking X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 22:17:18 -0000 > > i'm not exactly sure how this work in your case (never had a cdma > > phone :) you need to have some sort of wireless internet access plan > > activated on your phone. you will probably use 1xRTT (instead of > > gprs) on cdma network. you also need to make sure that wireless > > internet access plan you have allows you to use your treo as wireless > > modem. in other words you need to make sure that access point you are > > connecting to talk ppp and ip and not wap/whatever. then you will need > > to use something called "bluetooth dun profile" on treo (and > > rfcomm_pppd(8) on pc). > > > > it seems earlier versions of treo shipped to sprint pcs have bluetooth > > dun profile disabled. you need to check with sprint and make sure your > > treo supports it - you may need firmware upgrade. >=20 > I have the firmware upgrade that does DUN. >=20 > # sdpcontrol -a mytreo search DUN >=20 > Record Handle: 0x00010001 > Service Class ID List: > Dial-Up Networking (0x1103) > Protocol Descriptor List: > L2CAP (0x0100) > RFCOMM (0x0003) > Protocol specific parameter #1: u/int8/bool 1 looks fine to me. > Here is what I use to connect to the net via the treo >=20 > rfcomm_pppd -a mytreo -c -C dun -d -l rfcomm-dialup >=20 > [mytreo has an entry in /etc/bluetooth/hosts] >=20 > My ppp.conf script is pretty much the same as yours (except > that right now I log everything but timer events). From > ppp.log I see that the phone does not respond to the initial > AT with OK as it should. So it seems the treo never > really sees any communicaiton. hmmm... strange... what freebsd version are you using (uname -a)? did you try to use rfcomm_sppd(1)? something like # rfcomm_sppd -a mytreo -c 1 -t /dev/ttyp1 then in another window=20 # cu -l /dev/ttyp1 and try to type "AT" to see if the phone returns "OK" back? note: you might need to try different tty number to find free one, i.e. /dev/ttyp2, /dev/ttyp3 etc. tty name must match in both commands. thanks, max