rayj
asked on
linux accepting PAP dail up connections
Using slackware linux 2.0.x., boca 16 port serial card. i would like to have the linux box accept calls via modem, do PAP auth and then deliver PPP. basically for a small isp kind of environment. help would be appreciated. thanks
ASKER
thanks for your response. i was kind of hoping to get an answer like enter "xxxx" in the inittab file, edit the user profile with "xxx", that kind of stuff. if you could be more specific as to what should be entered in these files and the like, it would be appreciated. also, what are the specifics on the PAP secrets file. im not familar with the parms of it. the serial comms package for dial in would be win95 dial up networking. i would also need to assign an IP address to that caller and the dns used on our end, which is passes as part of PAP
thanks again
thanks
thanks again
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks cedric, im going to try this in a day or so. can i contact you by email in the event i have difficulty. it would be much appreciated. i also am not real familiar with tha gettys, or pap secrets. so it would be great help if i can just email you when im trying to get this going.
thanks again
ray@havenet.com
thanks again
ray@havenet.com
In your case, you don't want to use a getty first, so you probably want to alter /etc/inittab so that a pppd process is attached to ttyS1 (or whatever tty is relevant to you). You should possibly add pppd to /etc/shells, though this shouldn't be important. So, you then need to sort out your pap-secrets file, and start pppd with the +pap option to enable pap authentication.
Having done all this, if you dial into your box with a serial comms program, from another machine, you should see ascii garbage coming down the link, which should be the PPP packets.
That's it, as far as I understand, I hope this sorts it for you.