From owner-freebsd-mobile@FreeBSD.ORG Tue May 10 09:09:42 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 DEDA616A4F0 for ; Tue, 10 May 2005 09:09:42 +0000 (GMT) Received: from mail.el.net (mail.el.net [68.165.89.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D06843D6B for ; Tue, 10 May 2005 09:09:42 +0000 (GMT) (envelope-from kalin@el.net) Received: (qmail 11933 invoked by uid 1008); 10 May 2005 09:12:08 -0000 Received: from unknown (HELO mail.el.net) (127.0.0.1) by mail.el.net with SMTP; 10 May 2005 09:12:08 -0000 Received: from 148.221.178.4 (SquirrelMail authenticated user kalin@el.net); by mail.el.net with HTTP; Tue, 10 May 2005 05:12:08 -0400 (EDT) Message-ID: <2149.148.221.178.4.1115716328.squirrel@148.221.178.4> In-Reply-To: <8cb27cbf050508191351576ec1@mail.gmail.com> References: <60639.201.129.12.241.1115600122.squirrel@201.129.12.241> <8cb27cbf050508191351576ec1@mail.gmail.com> Date: Tue, 10 May 2005 05:12:08 -0400 (EDT) From: "kalin mintchev" To: "Jon Drews" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: fbsd_user@a1poweruser.com cc: FreeBSD Mobile Mailing List Subject: Re: modem/ppp 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: Tue, 10 May 2005 09:09:43 -0000 thanks for replying.. i used either recommendation with the one from: http://FreeBSD.a1poweruser.com:6088/05.04-Internet_access_protocols.htm#User%20PPP almost working. using the example conf file i get to dial and hear all the normal modem sounds and after a while i get: PPP enabled. but can not ping anywhere outside. ifconfig tun0 prints inbetween other stuff this: inet 148.222.111.111 --> 333.333.333.3 netmask 0xffffffff Opened by PID 1037 ps shows that the process is running. i can ping the 333.333.333.3 number but nothing else. in the resolve.conf i have dns that are not necesarely the isp's but i know they are working fine. but even bypassing the dns by just pinging ips i can't ping anything but the 333.333.333.3 number.... any idea why? thanks... > On 5/8/05, kalin mintchev wrote: >> hi all... >> >> need a little help to set up a pcmci modem. i've never used a modem >> before.. >> >> 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. > > 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 > 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 = COM1, cuaa1 = 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.conf) > > 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 > ___________________________________________ > > > > > -- > Kind regards, > Jonathan > --