From owner-freebsd-current@FreeBSD.ORG Sun Dec 16 02:02:04 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19E33E2D; Sun, 16 Dec 2012 02:02:04 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id C5D778FC16; Sun, 16 Dec 2012 02:02:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=1WDWBwUE0XL0s7s+U61K4zTdjO1OBE33CdLBuQDAU9Q=; b=qxnyuAsTySrtdMRXvaVLGaNCyrZityfHpB8UbELzVBgs8BuhKUYbMHSDTyfuepFJXWJXsOOMOpMLe2NHZfzlwP4lIwMivR5tgnCYxy70W8gWW2oI2M+b1KccWbL8hwN/; Received: from [122.129.203.50] (port=59314 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1Tk3YC-0009lI-9e; Sat, 15 Dec 2012 19:01:56 -0700 Date: Sun, 16 Dec 2012 09:01:52 +0700 From: Erich Dollansky To: Eitan Adler Subject: Re: looking for help from ppp users Message-ID: <20121216090152.3b223049@X220.ovitrap.com> In-Reply-To: References: <20121203154154.GA20011@in-addr.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Gary Palmer , freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 02:02:04 -0000 Hi, On Sat, 15 Dec 2012 01:14:10 -0500 Eitan Adler wrote: > On 3 December 2012 10:41, Gary Palmer wrote: > > While not commenting on the correctness of the current contents, > > the userland PPP section of the FAQ appears to mostly deal with > > dialup modems. I suspect more people use it now to do PPPoA or > > PPPoE for some form of DSL link and there probably needs to be some > > effort to address the differences. > > I've never used PPP in any sense. Any chance I could enlist you to > help write some content? I could turn it into docbook, edit it, etc. > > > let me share my experience with ppp and one CDMA 'modem' we have to use in Indonesia. First, what makes it work in ppp.conf: set device /dev/cuaU0.0 set ctsrts off set login set dial set authname internet@ceria set authkey ceria set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns # set dns servers in resolv.conf nat enable yes nat deny_incoming yes set phone #777 The fun starts with the first start and after each restart of the modem after the battery went empty. It simply does not work after above's commands are entered manually one by one. There is no useful error message except that the modem either sends the wrong authentication information to the server or something else makes it drop the connection after this information is sent when doing it via the script. If I manually enter these commands, it works from the start. Of course, this is a problem caused by the modem but mentioning this in the handbook could help others in this strange situation. Erich