Solved

PAP Connections Setup

Posted on 1997-12-03
8
285 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
  • 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
 

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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now