Kevin Brosius on Tue, 2 Jul 2002 10:33:25 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] PPP Server Problems


No, shouldn't have to add a user then.

cobra is the machine providing dialin service.

You can crank up the debug level in login.config to help see what's
going on.

Kev


"W. Chris Shank" wrote:
> 
> i'm trying to use an existing account, but it won't authenticate. so i
> shouldn't need to do an adduser right? also, i've got shadow passwords
> enabled, do think that could be causing a problem?
> 
> is cobra the machine dialing in or the machine providing the dialin service
> (server)?
> 
> > Oh, and with the auto ppp setting I had to add a user to the machine
> > doing the ppp dial-in.  I just did an 'adduser' and setup a user name
> > and password for them.
> >
> > Oh, one thing that might matter, in /etc/ppp/pap-secrets the line:
> >
> > # If you add "auth login -chap +pap" to
> > /etc/mgetty+sendfax/login.config,
> > # all users in /etc/passwd can use their password for
> > pap-authentication.
> > #
> > # Every regular user can use PPP and has to use passwords from
> > /etc/passwd
> > #*      hostname        ""
> > *       cobra   ""      "*"
> >
> > (My machine name is 'cobra' in this case)
> >
> > And I made sure to remove the remote user name from pap-secrets.  I
> > don't remember if having it there caused a problem or not, but I have
> > it commented out at the moment.
> >
> > Kevin
> >
> >
> > "W. Chris Shank" wrote:
> >>
> >> i'm having trouble getting authenticated. i have tried the
> >> login.config entry like you have (except without the proxyarp and
> >> IPaddresses - since i thought it would get read from etc/ppp/options
> >> and options.ttyS1.
> >>
> >> when i attempt to connect, i get a PAP authentication failed message.
> >>
> >> i'm wondernig if RH7.3 compiled ppp with the proper flags?
> >>
> >>
> >> > "W. Chris Shank" wrote:
> >> >>
> >> >> I'm attempting to setup remote dialin so that I can call home to
> >> >> get on the internet while i'm on vaca. I've reviewed the RedHat PPP
> >> >> Server Quick How-To, but am having trouble authenticating. Trying
> >> >> to use KPPP to test, set for PAP. If you have this working, please
> >> >> reply with your login.config, options, and inittab entries. also if
> >> >> you pap-secrets isn't too revealing, please include. I'd really
> >> >> like this to
> >> >> authenticate agains /etc/shadow, but it's not working so far.
> >> >
> >> > Get it working yet?  I've got a SuSE setup working, with standard
> >> > PPP, so maybe this isn't close enough for you...
> >> >
> >> > What's handling you're phone pickup?  I find that picking a getty is
> >> > half the pain of setting up dial-in ppp.
> >> >
> >> > Note that I'm using mgetty for the dial-in line (is that what your
> >> > login.config question is for?)
> >> >
> >> > For mgetty, in login.config, I've set:
> >> > /AutoPPP/ -     a_ppp   /usr/sbin/pppd auth login -chap +pap
> >> > proxyarp remote.ip:remote_machine
> >> >
> >> > (I replaced my remote IP address and remote m/c name above.)
> >> >
> >> > Also, in mgetty.config I added some things:
> >> >speed 38400
> >> >
> >> > port ttyS3
> >> >   data-only y
> >> >   init-chat "" \d\d\d+++\d\d\dAT OK AT&F2 OK
> >> >
> >> > (Note the data-only setting.  I had trouble with mgetty and my modem
> >> > successfully doing a non-data-only connection, and finally gave up.
> >> > This means I can't get both fax and data on the line when it's setup
> >> > this way.)
> >> >
> >> > My inittab entry for the modem is:
> >> > # modem getty.
> >> > #mo:235:respawn:/usr/sbin/mgetty -s 38400 modem
> >> > S3:235:respawn:/usr/sbin/mgetty -s 38400 ttyS3
> >> >
> >> > I don't have direct access to the full file, but my ppp options set
> >> > are: noauth
> >> > crtscts
> >> > lock
> >> > modem
> >> > asyncmap 0
> >> > nodetach
> >> > lcp-echo-interval 30
> >> > lcp-echo-failure 4
> >> > idle 600
> >> > noipx
> >> >
> >> >
> >> > --
> >> > Kevin Brosius
> >> >

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug