Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

PAP Connections Setup

I have been trying to get Linux 2.0.28 to allow PAP dialin connections.

Currently on one server I hand out a script for the login. I want to setup another server to accept PAP connections for WEBTV. How do I get PAP to start after the modems have connected and user the /etc/passwd file to get the info.

I don't know how to do this at all. Have worked with a lot of different things but still can't get a PAP connection.

Any detaiiled instruction on how to do this would be great.

Thanks
Bob Ross
0
bross073097
Asked:
bross073097
  • 5
  • 3
1 Solution
 
alexbikCommented:
Hi Bob,

I recently solved the same problem. To accept PPP logins with PAP authentication, you will need to install mgetty+sendfax, which is (among other places) available from ftp://ftp.buoy.com/pub/isp/mgetty1.1.9-Aug17.tar.gz. Edit the policy.h file to match your system and add the -DAUTO_PPP flag in the Makefile. Make sure your pppd supports shadow passwords, if you use them. Remove the /etc/ppp/pap-secrets file if present, and put '-detach' in your /etc/ppp/options file. Then, make an options.ttyXX file for every tty you want to provide ppp on, stating the IP of your host and the IP you want to assign to that particular port, in the form hostip:dialinip. Edit you /usr/local/etc/mgetty+sendfax/login.config file, and make sure the following line is present:

/AutoPPP/       -       -       /usr/sbin/pppd auth -chap +pap login modem crtscts lock

This enables mgetty to auto-sense PPP connects, and start your pppd with the apropriate options. Last but not least, put mgetty in your /etc/inittab for every tty you want mgetty to listen to.

Good luck,

Alex Bik
(alex@ddsw.nl)

0
 
bross073097Author Commented:
Sorry I didn't get back to you sooner, I almost missed the message.

This seemed to work. I will have it test by webtv next week.

Do I let the password file default to the settings the server puts in or do i need to have something else beside a /bin/bash access.

Thanks again.
Bob Ross
bross@kingman.com "If you would like to send mail"
0
 
alexbikCommented:
Hi,

You don't have to change anything to your passwd and/or shadow files..

Regards,

Alex
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
bross073097Author Commented:
So far so good with what I have done so far. I am having a problem with the login being able to get out. When a standard login dilas in they go anywhere. With the PAP they are not going anywhere. I do a "route" command and see the login listed.

Any ideas what might be the hold up.

Thanks
Bob
0
 
bross073097Author Commented:
I got it. I had to add the defaultroute IP.AD.DR.ESS to the line in the login.config file.

Thanks
Bob ross

0
 
bross073097Author Commented:
Do you have any Idea why I get the error on the screen

mgetty FATAL: C## cannot get TIO

Doesn't seem to do much but have been getting the error.

Thanks
Bob Ross

0
 
alexbikCommented:
Same here. Every now and then the error message apears.
It has something to do with Mgetty not being able to communicate with your modem properly. (because your modem is busy doing other things). I get the error every time someone logs off.
Just ignore it or, if it bugs you, set the mgetty debug level a bit lower.
0
 
bross073097Author Commented:
OK, thanks. That's what I thought.

Thanks
Bob

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now