From owner-freebsd-mobile@FreeBSD.ORG Mon May 9 02:13:31 2005 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 C198016A4E6 for ; Mon, 9 May 2005 02:13:31 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7543B43D6E for ; Mon, 9 May 2005 02:13:31 +0000 (GMT) (envelope-from jon.drews@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so1228838nzp for ; Sun, 08 May 2005 19:13:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SNjHm4brrSYEoeg7fg8MB/6syWCH3A3qsVeR+ScSDOXSTaIuVvzWsJI/hp8I2Dx0x7/H5kLo4OfFej2jmBMf7jt+JCJLjSqsFof08O+ZHk6M9G0jBNFXxQo986CcQm26l9pRnfW+ZiejdiDTAdEvnJjdaUdq6jr6FP++h9wBdlo= Received: by 10.36.146.14 with SMTP id t14mr850559nzd; Sun, 08 May 2005 19:13:31 -0700 (PDT) Received: by 10.36.60.4 with HTTP; Sun, 8 May 2005 19:13:31 -0700 (PDT) Message-ID: <8cb27cbf050508191351576ec1@mail.gmail.com> Date: Sun, 8 May 2005 20:13:31 -0600 From: Jon Drews To: FreeBSD Mobile Mailing List In-Reply-To: <60639.201.129.12.241.1115600122.squirrel@201.129.12.241> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <60639.201.129.12.241.1115600122.squirrel@201.129.12.241> cc: kalin mintchev Subject: Re: modem/ppp X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jon Drews List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 02:13:31 -0000 On 5/8/05, kalin mintchev wrote: > hi all... >=20 > need a little help to set up a pcmci modem. i've never used a modem befor= e.. >=20 > this is a 3com card. and it gets recognized fine - as sio0. i have tun0. > i'm trying to use it with ppp. i read the handbook on ppp. what confuses > me is that the ppp.conf is setting a serial port device - cuaa1. Hi Kalin: Here is my ppp.conf. I am using it on a laptop running FreeBSD 5.4-STABLE.= =20 My PCMCIA modem is recognized as sio4: sio4: <3Com 3CXM/3CCM556> at port 0x2f8-0x2ff irq 11 function 0 config 33 on pccard0 so I use /dev/cuaa4. Perhaps you should try /dev/cuaa0 ? Make sure you add=20 allow users $YOUR_ACCOUNT at the top of the ppp.conf, so you can dial out without being root. Add your account to the operator group, in /etc/group. _________________________________ default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) allow users xfce # Ensure that "device" references the correct serial port # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2) # set device /dev/cuaa4 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.con= f) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone 3038241037 set authname xxxx@worldnet.att.net set authkey XXXXXXXXXXXXXXX set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route ___________________________________________ --=20 Kind regards, Jonathan