Date: Thu, 19 Oct 2000 22:59:24 -0500 (CDT) From: Gene Harris <zeus@tetronsoftware.com> To: Luke Cowell <systems@imag.net> Cc: questions@FreeBSD.ORG Subject: Re: access through modem Message-ID: <Pine.BSF.4.21.0010192239590.10407-100000@ns1.tetronsoftware.com> In-Reply-To: <5.0.0.25.2.20001019165816.035ff220@mail.imag.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010192239590.10407-100000>