From owner-freebsd-questions Thu Oct 19 20:59:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.tetronsoftware.com (ns1.tetronsoftware.com [64.217.1.41]) by hub.freebsd.org (Postfix) with ESMTP id 1A27C37B4E5 for ; Thu, 19 Oct 2000 20:59:32 -0700 (PDT) Received: from ns1.tetronsoftware.com (ns1.tetronsoftware.com [64.217.1.41]) by ns1.tetronsoftware.com (8.11.0/8.9.3) with ESMTP id e9K3xOl10457; Thu, 19 Oct 2000 22:59:24 -0500 (CDT) (envelope-from zeus@tetronsoftware.com) Date: Thu, 19 Oct 2000 22:59:24 -0500 (CDT) From: Gene Harris To: Luke Cowell Cc: questions@FreeBSD.ORG Subject: Re: access through modem In-Reply-To: <5.0.0.25.2.20001019165816.035ff220@mail.imag.net> 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 It has been a while since I set this up, but it is really simple. I made the following changes to my /etc/ttys file: ttyd0 "/usr/libexec/getty std.38400" dialup on ttyd1 "/usr/libexec/getty std.57600" dialup on secure I attached two modems, one to each serial port on my motherboard. I then dumped two files into /etc/ppp: options.ttyd0 options.ttyd1 Each file contains two ip addresses, one for the server (modem) side, and one assigned to the dial up user e.g. 192.168.114.1:192.168.114.2 <<== contents of options.ttyd0 192.168.114.3:192.168.114.4 <<== contents of options.ttyd1 The only semi hard part was getting the 192.168 address added back into my firewall and NAT so user could go out on the internet, but it only took a few minutes of looking at the ipfw logs for rejected packets to get it figured out. Basically, I had to set the dial up client's DNS and that was it. You will also need to SIGHUP init to get it to reread the ttys file. HTH, Gene On Thu, 19 Oct 2000, Luke Cowell wrote: > I have a freebsd 4.1 system complete with modem. I want to be able to dial > in and administrate the box. How do I configure dialin access to take a > tty ? is there a how to on this somewhere ? cc me in reply > > Thanks. > > ----------------------------------------------------------------------- > Luke Cowell > Motionlink Internet > Senior Systems Administrator > http://www.imag.net > ----------------------------------------------------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Tetron Software, LLC http://www.tetronsoftware.com FreeBSD Apache PostgreSQL Oracle 8/8i Windows 95/98/NT Visual C Visual Basic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message