From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 20:36:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0CFC16A4CE for ; Fri, 25 Feb 2005 20:36:16 +0000 (GMT) Received: from smtpauth07.mail.atl.earthlink.net (smtpauth07.mail.atl.earthlink.net [209.86.89.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2EF443D1D for ; Fri, 25 Feb 2005 20:36:16 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=[192.168.63.10]) by smtpauth07.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1D4mC7-0003H6-LU; Fri, 25 Feb 2005 15:36:15 -0500 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Fri, 25 Feb 2005 14:37:00 -0600 User-Agent: KMail/1.6.2 References: <200502251211.34426.hindrich@worldchat.com> <20050225190906.GA58614@osiris.chen.org.nz> <200502251512.42796.hindrich@worldchat.com> In-Reply-To: <200502251512.42796.hindrich@worldchat.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200502251437.00381.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bc89aa16c84cba9f9a146461f5bc6c90ec350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 cc: Peterhin cc: Jonathan Chen Subject: Re: PPP Connection. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 20:36:17 -0000 On Friday 25 February 2005 02:12 pm, Peterhin wrote: > On February 25, 2005 14:09, you wrote: > > On Fri, Feb 25, 2005 at 12:11:34PM -0500, Peterhin wrote: > > > I have 5.3 installed, and am trying to get my dial-up going. > > > In the handbook under 21.2.1.2 when I try to do a > > > 'cd /dev' > > > 'sh MAKEDEV tun0' > > > I get "can't open makedev: No such file or directory" > > > > The 5.x series uses a devfs filesystem which creates devices on the > > fly. You don't have to make the devices manually anymore. > > > > > I also tried using G. Lehey instructions from his book, I get to > > > the point where the external modem dials at reboot, but no > > > connection. I have looked in the log files and it looks like > > > Authentication failure is my problem. > > OK, finger trouble on my part I have a connection now. > > > Username and password is incorrect? Post us the actual contents of > > the logs and your ppp.conf (with the username/password blanked out) > > and we will have a better idea just what is going wrong with your > > system. > > I have a good connection however if I try to disconnect by typing > at the 'PPP ON localhost>' close > 'PPP ON Localhost> > or use the 'q' > I get back to the # > however the modem has not disconnected. I did a 'ping' to confirm on > (ttyv1) Is ppp still active in the background? What does 'ps ax | grep ppp' return? I used to kill ppp using a "hangup" python script: #!/usr/local/bin/python # /usr/local/bin/hangup.py import os, string, sys a = 'ps ax | grep ppp' b = os.popen(a).readlines() c = b[0] d = string.split(c) os.popen('kill ' + d[0]) Best regards, Andrew Gould