atom feed3 messages in org.freebsd.freebsd-questionsRe: access through modem
FromSent OnAttachments
Luke CowellOct 19, 2000 5:02 pm 
Mike MeyerOct 19, 2000 8:07 pm 
Gene HarrisOct 19, 2000 8:59 pm 
Subject:Re: access through modem
From:Gene Harris (ze@tetronsoftware.com)
Date:Oct 19, 2000 8:59:02 pm
List:org.freebsd.freebsd-questions

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 majo@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 majo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message