From owner-freebsd-net@FreeBSD.ORG Mon Jun 30 15:37:06 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFFA637B401; Mon, 30 Jun 2003 15:37:06 -0700 (PDT) Received: from franka.aracnet.com (franka.aracnet.com [216.99.193.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 302C343FE0; Mon, 30 Jun 2003 15:37:06 -0700 (PDT) (envelope-from henryt_NOSPAM@aracnet.com) Received: from aracnet.com (216-99-197-252.dial.spiritone.com [216.99.197.252]) (authenticated bits=0) by franka.aracnet.com (8.12.9/8.12.9) with ESMTP id h5UMaQga015346; Mon, 30 Jun 2003 15:36:34 -0700 Message-ID: <3F00BB97.1040900@aracnet.com> Date: Mon, 30 Jun 2003 15:37:11 -0700 From: henry tieman User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030421 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alessandro de Manzano References: <20030630212122.A72414@libero.sunshine.ale> In-Reply-To: <20030630212122.A72414@libero.sunshine.ale> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: mobile@freebsd.org cc: net@freebsd.org Subject: Re: strange PPP negotiation problem with GPRS mobile phone X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 22:37:07 -0000 Alessandro de Manzano wrote: >Hello! > >I'm having very strange (to me) PPP problems with a 4.8-R notebook >trying to connect to the Internet via a GPRS mobile phone. > >Note: The exactly same hardware works fine with WinXP so it should work >under FreeBSD also, I guess ;-)) > >Situation: I'm using the following /etc/ppp/ppp.conf file (comments >removed) > > > I use ppp as my usual connection method, it's slow but reliable. My ISP reciently (6 months ago) switched from a "UNIX" terminal server to a "RAS" server. So I had to revisit my ppp config reciently. The only major difference between your configuration file and mine are you disabled lots of things and I set my mtu to 500. If I were trying to get this working - I would comment out the disable lines and set the MTU smaller. Because you are using a mobile phone you may have to set your MTU really small, like 300. Is there a coresponding MRU? If there is it should also be small. There is a posibility that mobile phones want a complete packet before sending any data - in which case you will have to either try to make ppp send larger packets or set the timeout values in ppp to a larger value. And no I don't know what that timeout value is called. I also looked through the trace... there is one thing I saw in my trace but not yours: Jun 30 14:33:20 eric ppp[624]: tun0: LCP: deflink: State change Req-Sent --> Ack -Rcvd Jun 30 14:33:20 eric ppp[624]: tun0: LCP: deflink: RecvConfigReq(2) state = Ack- Rcvd O.K. it's two lines but the trace you sent never enters Ack-Rcvd state before the PAP authentication. And that is probably the symptom of the problem. Henry -- Henry Tieman Objects in the mirror are closer than they appear.