Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 09:13:13 -0500
From:      "Dave Rideout" <drideout@cssnow.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   PPP
Message-ID:  <NEBBKBOMILGEKHIBFECLIEIECFAA.drideout@cssnow.com>

next in thread | raw e-mail | index | archive | help
Hello:

I am trying to get my FreeBSD box working with PPP and mgetty so that Win98
clients can dial in to the server and be able to get access to our internal
network.  The error message is that my network config is invalid.

I have compiled mgetty-1.1.22.8.17 with the autoPPP option enabled.

It seems that the win98 machine comes up with a freebsd login and when I
login as njras and type the password in, it immediately disconnects.  Here
are the contents of my

ppp.conf
set device /dev/cuaa0
 set device /dev/cuaa1
 set log Phase Chat LCP IPCP CCP tun command
 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 120                        # 3 mintue idle timer (the default)
 enable dns                             # request DNS info (for resolv.conf)
incoming:
enable pap
enable passwdauth
set ifaddr 192.168.1.9 192.168.1.30  255.255.255.255
enable proxy

ttys.conf
ttyd0   "/usr/libexec/getty std.57600"  dialup  on secure
ttyd1   "/usr/libexec/getty std.57600"  dialup  on secure

I have created users called njras and nyras.
I made a shell script called /usr/local/bin/ppplogin
which contains
#! /bin/sh
exec /usr/sbin/ppp -direct incoming

If you have any FAQ's or example configs I can look at that would be great.
This machine has fxp interface of 192.168.1.9
And I want the ras dialin users to have ips 192.168.1.30 and 192.168.1.31..

Hope I am being specific enough and appreciate all the help.

Thanks

Sincerely,
Dave Rideout





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?NEBBKBOMILGEKHIBFECLIEIECFAA.drideout>