From owner-freebsd-questions Tue Nov 19 19:25: 5 2002 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 9B27037B404 for ; Tue, 19 Nov 2002 19:25:03 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE29643E6E for ; Tue, 19 Nov 2002 19:25:02 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18ELU6-000GeW-00 for questions@freebsd.org; Tue, 19 Nov 2002 19:25:02 -0800 Date: Tue, 19 Nov 2002 19:25:02 -0800 From: Nathan Kinkade To: questions@freebsd.org Subject: Re: Dialing up via PPP Message-ID: <20021120032502.GT29927@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: Nathan Kinkade , questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 19, 2002 at 08:57:18PM -0600, Steven Lake wrote: > HI all. Looking for a good tutorial for dialing up to the > internet using Freebsd from the console. I've looked around and found > links for using Fbsd as a router and a firewall and whatnot. All I want > to do is just login to my ISP, fire up lynx and surf. :) > > Anyone got a very simple tutorial somewhere that I can use as I've > never worked with this before. Many thanks. First, read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html Then take a look at /usr/share/examples/ppp/ppp.conf.sample. Truly, a basic configuration is quite simple and should work most of the time. Below is a sample /etc/ppp/ppp.conf file with all the comments removed for brevity...something similar should suffice: default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaa0 # assuming your modem is serial 1 (COM1). 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 900 # 15 minute idle timer (the default) my_isp: set phone set authname set authkey 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 When setup, run `ppp -background my_isp` and see what happens. Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message