Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 20:08:13 +0200
From:      Reinhard Speyerer <rspmn@arcor.de>
To:        "Zhang Weiwu" <weiwuzhang@hotmail.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: talk to Motorola 6288 phone and go GPRS with infrared
Message-ID:  <200310191808.UAA00940.niftpqrx@arcor.de>
In-Reply-To: <F895Csmr77jy3BWUhUt00021d7f@hotmail.com> (weiwuzhang@hotmail.com)

next in thread | previous in thread | raw e-mail | index | archive | help
>>> On Sat, 18 Oct 2003 15:39:41 +0800, "ZW" == "Zhang Weiwu" <weiwuzhang@hotmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310191808.UAA00940.niftpqrx>