Solved

PAP Connections Setup

Posted on 1997-12-03
8
317 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
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

 

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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

627 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