Solved

PAP Connections Setup

Posted on 1997-12-03
8
309 Views
Last Modified: 2010-05-18
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
Comment
Question by:bross073097
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 200 total points
ID: 1587006
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
 

Author Comment

by:bross073097
ID: 1587007
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
 
LVL 2

Expert Comment

by:alexbik
ID: 1587008
Hi,

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

Regards,

Alex
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:bross073097
ID: 1587009
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
 

Author Comment

by:bross073097
ID: 1587010
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
 

Author Comment

by:bross073097
ID: 1587011
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
 
LVL 2

Expert Comment

by:alexbik
ID: 1587012
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
 

Author Comment

by:bross073097
ID: 1587013
OK, thanks. That's what I thought.

Thanks
Bob

0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question