From owner-freebsd-questions Wed Oct 4 17:49:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.hccnet.nl (pop.hccnet.nl [193.172.127.94]) by hub.freebsd.org (Postfix) with ESMTP id 74B1E37B502 for ; Wed, 4 Oct 2000 17:49:25 -0700 (PDT) Received: from parmenides.utp.net by pop.hccnet.nl via uds107-123.dial.hccnet.nl [193.173.123.107] with ESMTP id CAA27721 (8.8.5/1.13); Thu, 5 Oct 2000 02:49:23 +0200 (MET DST) Received: from localhost (janko@localhost) by parmenides.utp.net (8.9.3/8.9.3) with ESMTP id CAA01448; Thu, 5 Oct 2000 02:49:23 +0200 (CEST) (envelope-from janko@compuserve.com) X-Authentication-Warning: parmenides.utp.net: janko owned process doing -bs Date: Thu, 5 Oct 2000 02:49:22 +0200 (CEST) From: Janko van Roosmalen X-Sender: janko@parmenides.utp.net To: "Salmons, Michael" Cc: "'freebsd-questions@freebsd.org'" Subject: Re: ppp errors In-Reply-To: <7B5F4A3DED02D411B49B0000E889ECB70122B4F6@umc-mail02.missouri.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I see a lot of initial spaces in your ppp.conf. I am not sure if this is due to importing of your conf file in your mailer. Older versions of ppp.conf required labels like default to start on the first position of the line. This was explicitly mentioned in the man page. Newer version seem to have more relaxed requirements. default: set device ............. and not default: set device ........etc The configuration commands have to start on the second position of the line with a space or a single tab. It looks like your ppp.conf file is not read at all by the ppp program/daemon. It does not parse your default section, and hence does not see your modem is on cua000. This is probably due to not following the formatting guidelines. ===Janko van Roosmalen - Vught - Netherlands=== On Wed, 4 Oct 2000, Salmons, Michael wrote: > > I've keyword searched the archives of this and other lists, Usenet and web > at large, and I have not found anything close to this problem (except a > question asked by a guy who did not include any system files in his post and > apparently was not heard from again). So here goes... I am trying to enable > user ppp via modem on my recently created freebsd system. I installed a > standard OS (typical user + X Windows). I even used ppp via modem to install > the OS itself, so in theory ppp via modem should be possible on this system! > Here's what I get when in invoke ppp: > > Working in interactive mode > Using interface: tun0 > Warning: No default entry found in config file. ppp cannot find your "default:" label and its entries > > Fine, I think, despite the fact I've tweaked ppp.conf several times in an > attempt to get ppp to see it! I decide to go into term mode: > > term > > deflink: entering terminal mode on /dev/cuaa1 > > (never mind the fact my modem is on cuaa0 as specified in ppp.conf...) > of course it is no use trying to use interactive mode since it is looking at > the wrong port. > > I am using a very generic ppp.conf just to get a response from my modem. I > have modified /etc/ttys and etc/gettytab so it is looking at the modem when > login time comes. Here's my ppp.conf (modified for the sake of modesty- > replace username and password with valid account info) > > ################################################################ > # PPP Configuration File ('/etc/ppp/ppp.conf') > # > # Default settings; These are always executed always when PPP > # is invoked and apply to all system configurations. > ################################################################ > default: > set device /dev/cuaa0 default: set device /dev/cuaao Align the "set" under the "e" of default. > set speed 115200 > disable pred1 > deny pred1 > disable lqr > deny lqr > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 > OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" > set redial 3 10 > # > # > ################################################################ > # > # For interactive mode use this configuration: > # > # Invoke with `ppp -alias interactive` > # > ################################################################ > interactive: > set authname username > set authkey password > set phone 1231234 > set timeout 300 > set openmode active > accept chap > # > ################################################################ > # > # For demand-dial (automatic) mode we'll use this configuration: > # > # Invoke with: 'ppp -auto -alias demand' > # > ################################################################ > demand: > set authname username > set authkey password > set phone 1231234 > set timeout 300 > set openmode active > accept chap > set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 > add 0 0 127.2.2.2 > ################################################################ > # End of /etc/ppp/ppp.conf > > my modem is a US Robotics 56K V.90. > > If nothing else, how do I get my system to look at cuaa0 by default in > interactive mode so I can at least test the modem? > > Any ideas why ppp can't see my default header? Or my demand header (The one > I want to use ultimately)? > > Thanks, > > Michael Salmons > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message