From owner-freebsd-mobile Sat Oct 12 2:16: 9 2002 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 EBFC837B401 for ; Sat, 12 Oct 2002 02:16:07 -0700 (PDT) Received: from samson.dc.luth.se (samson.dc.luth.se [130.240.112.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E28243EAC for ; Sat, 12 Oct 2002 02:16:06 -0700 (PDT) (envelope-from bj@dc.luth.se) Received: from dc.luth.se (root@bompe.dc.luth.se [130.240.60.42]) by samson.dc.luth.se (8.12.5/8.12.5) with ESMTP id g9C9G5rd009141; Sat, 12 Oct 2002 11:16:05 +0200 (MET DST) Received: from bompe.dc.luth.se (bj@localhost.dc.luth.se [127.0.0.1]) by dc.luth.se (8.11.3/8.11.3) with ESMTP id g9C9G4s06542; Sat, 12 Oct 2002 11:16:04 +0200 (CEST) (envelope-from bj@bompe.dc.luth.se) Message-Id: <200210120916.g9C9G4s06542@dc.luth.se> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bengt Ahlgren Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Sony Ericsson GC75 GPRS pccard modem In-reply-to: Your message of 11 Oct 2002 21:17:21 +0200. Dcc: Reply-To: bj@dc.luth.se X-Disposition-notification-to: Borje.Josefsson@dc.luth.se X-uri: http://www.dc.luth.se/~bj/index.html Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 12 Oct 2002 11:16:04 +0200 From: Borje Josefsson Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 11 Oct 2002 21:17:21 +0200 Bengt Ahlgren wrote: > I just got a Sony Ericsson GC75 GRPS pccard modem. It seems to look > like an ordinary modem with "at" commands to the system, so the > regular serial driver "just works" (BTW, I'm running 4.5R on an IBM TP > 570.): > Talking to the card directly using the cu program and issuing "at" > commands works. I have however not yet managed to establish a PPP > connection over it, but I think it's because I need pap authentication > info from my provider. I'm using that card in GPRS mode with 4.6.2R. I took me qiute a while to = figure out how to do it, though. The key thing that puzzeled me most unti= l = I found out is that the "radio"-part of the card isn't powered on by = default when You insert the card. Until You have done so, almost all of = the AT commands gives "ERROR" as result. I guess that they have done so s= o = You can have the card inserted at all times, without draining power or = disturbing aircraft electronics etc. The ppp.conf below works for me (I'm using Telia for GPRS). gprs: set device /dev/cuaa4 set speed 115200 set phone set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set authname XXXX set authkey XXXX set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK \ AT+CFUN=3D1,0 OK \ \\d\\d\\d\\d\\d\\d\\dAT OK \ AT&F&D2E0V1S0=3D0 OK \ AT+IFC=3D2,2 OK \ ATDT*99***1\# TIMEOUT 84 CONNECT" set login set logout "ABORT BUSY ABORT ERROR TIMEOUT 15 \ \"\" +++ATH OK-ATH-OK \ AT+CGATT=3D0 OK" add default HISADDR set timeout 0 --B=F6rje To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message