From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 19 11:08:25 2003 Return-Path: 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 D3D3816A4BF for ; Sun, 19 Oct 2003 11:08:25 -0700 (PDT) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 266A243FDF for ; Sun, 19 Oct 2003 11:08:22 -0700 (PDT) (envelope-from rspmn@arcor.de) Received: from arcor.de (dialin-145-254-228-189.arcor-ip.net [145.254.228.189]) by mail-in-01.arcor-online.net (Postfix) with SMTP id 7721B1043FF; Sun, 19 Oct 2003 20:08:19 +0200 (CEST) Date: Sun, 19 Oct 2003 20:08:13 +0200 Message-Id: <200310191808.UAA00940.niftpqrx@arcor.de> To: "Zhang Weiwu" In-reply-to: (weiwuzhang@hotmail.com) From: Reinhard Speyerer X-Attribution: rls Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: talk to Motorola 6288 phone and go GPRS with infrared X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 18:08:26 -0000 >>> On Sat, 18 Oct 2003 15:39:41 +0800, "ZW" == "Zhang Weiwu" wrote: ZW> Do I actually need birda when all what I want is to dial-up to ZW> the Internet with the phone? Yes, you need ircomm(1) from the birda package and an unused PTY, e.g. ttypf: ircomm -d /dev/cuaa0 -m 115200 -y /dev/ptypf & After starting ircomm this way you should be able to use the ppp(8) configuration example for GPRS given on Randy Bush's homepage (http://www.psg.com/~randy) (replace /dev/cuaa0 with /dev/ttypf in the "set device ..." line and the APN with the correct APN for your network operator in AT+CDGCONT=...). To make sure that IR communication to the phone works you might want to start ircomm with -v 3 first: ircomm -d /dev/cuaa0 -m 115200 -y /dev/ptypf -v 3& and check with cu or kermit that sending of AT commands works: cu -l ttypf -s 115200 Connected. AT+CGMM Motorola 6288 OK ~. Regards, Reinhard