PPP: PAP Problems
Hello out there, trying to set up PPP I run in the following problem: Chat dials, connection is established. But the authentification fails. My ISP-sysop says it tries to connect using CHAP, though only PAP is available. So where to tell pppd to use PAP? I put comments around +pap and +chap lines in the options file which is meant to be used for a ppp server setup. Another question is: There are more then one number to dial to my ISP. So same resolv.conf but different chat scripts. Would you solve this using a shell based dialer script to dial in or are there security risks? TIA -- Peter -- -- Peter Weiss, Sonnenstraße 17, D-26123 Oldenburg, Tel: 0441/ 81058 http://www.informatik.uni-oldenburg.de:/~weissp -- -- Slow has got 4 letters so has calm; speed has got 5 letters so has death -- -- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PPP: PAP Problems
Peter == Peter Weiss [EMAIL PROTECTED] writes: Peter Hello out there, trying to set up PPP I run in the Peter following problem: Chat dials, connection is Peter established. But the authentification fails. Peter My ISP-sysop says it tries to connect using CHAP, Peter though only PAP is available. So where to tell pppd to use Peter PAP? I put comments around +pap and +chap lines in the Peter options file which is meant to be used for a ppp server Peter setup. Add 'user peter' (or whatever your username is) to the end of /etc/ppp.options_out. I'm pretty sure this is in the /usr/doc/ppp/README. Peter Another question is: There are more then one number to Peter dial to my ISP. So same resolv.conf but different chat Peter scripts. Would you solve this using a shell based dialer Peter script to dial in or are there security risks? Why not just make a copy of /usr/bin/pon, maybe call it /usr/local/bin/pon-2, and edit it to use a different ppp.chatscript? -- Brought to you by the letters P and S and the number 10. I don't want the world.. I just want your half. -- They Might Be Giants Ben Gertzfield http://www.imsa.edu/~wilwonka/ Finger me for my public PGP key. I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PPP: PAP Problems
Peter Weiss wrote: Hello out there, trying to set up PPP I run in the following problem: Chat dials, connection is established. But the authentification fails. My ISP-sysop says it tries to connect using CHAP, though only PAP is available. So where to tell pppd to use PAP? I put comments around +pap and +chap lines in the options file which is meant to be used for a ppp server setup. Another question is: There are more then one number to dial to my ISP. So same resolv.conf but different chat scripts. Would you solve this using a shell based dialer script to dial in or are there security risks? For pap you need two things. First, pppd needs to know what the user name is for the account your trying to connect as. By default I think pppd will use `hostname`. This is set by passing user uname on the pppd command line. Second, you'll need an entry in /etc/ppp/pap-secrets which contains: uname remote-name password You may use * for remote-name. Thus, if my ppp account with my ISP has an account name of daffy and the password is duck I run pppd as: pppd connect /some/bin/connect-script user daffy 1.2.3.4: and in my /etc/ppp/pap-secrets I have the line: daffy * duck If you do all this and it still doesn't work. Come on back, but before you do, run pppd with debug on the command line and give us the output you find in /var/log/ppp.log please. -- Jens B. Jorgensen [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PPP: PAP Problems
On 28 Jul 1997 09:40:47 -0500, Ben Gertzfield [EMAIL PROTECTED] said: Peter == Peter Weiss [EMAIL PROTECTED] writes: Peter Hello out there, trying to set up PPP I run in the Peter following problem: Chat dials, connection is Peter established. But the authentification fails. Peter My ISP-sysop says it tries to connect using CHAP, Peter though only PAP is available. So where to tell pppd to use Peter PAP? I put comments around +pap and +chap lines in the Peter options file which is meant to be used for a ppp server Peter setup. Ben Add 'user peter' (or whatever your username is) to the end of Ben /etc/ppp.options_out. Yes, I did that. Now it accesses the pap-secret files, after adding the +ua /etc/ppp/pap-secrets option in ppp.options_out as well. Ben I'm pretty sure this is in the /usr/doc/ppp/README. The docs are really confusing and not telling the truth. For example: The syntax of my pap secrets is User Password, each on a seperate line! I found this from the log file where pppd reported using the whole line as my user name. Peter Another question is: There are more then one number to Peter dial to my ISP. So same resolv.conf but different chat Peter scripts. Would you solve this using a shell based dialer Peter script to dial in or are there security risks? Ben Why not just make a copy of /usr/bin/pon, maybe call it Ben /usr/local/bin/pon-2, and edit it to use a different ppp.chatscript? Well, this would work, but what I'd like to have is to have pppd dial the second number if the first is busy. Peter -- -- Peter Weiss, Sonnenstraße 17, D-26123 Oldenburg, Tel: 0441/ 81058 http://www.informatik.uni-oldenburg.de:/~weissp -- -- Slow has got 4 letters so has calm; speed has got 5 letters so has death -- -- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: PPP: PAP Problems
Peter Another question is: There are more then one number to Peter dial to my ISP. So same resolv.conf but different chat Peter scripts. Would you solve this using a shell based dialer Peter script to dial in or are there security risks? Ben Why not just make a copy of /usr/bin/pon, maybe call it Ben /usr/local/bin/pon-2, and edit it to use a different ppp.chatscript? Well, this would work, but what I'd like to have is to have pppd dial the second number if the first is busy. As a suggestion, take a look at the DialD connect script. (/etc/diald/connect). It is configured to use multiple numbers. It will roll-over to another number if the current one fails for any reason. I've used this feature and it works well. It would probably be pretty easy to adapt the code from this script to work with pon and solve your problem Later, Kevin Traas Baan Business Systems Systems Analyst Langley, BC, Canada [EMAIL PROTECTED] (604) 882-8169 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .