Here is what you can do to get PAP working with diald on RedHat.

1) Add the following to /etc/ppp/pap-secrets
     your_username  *   password
2) Add the following to /etc/ppp/options
    user your_username
  OR  in diald.conf add the line
     pppd-options user your_username
3) Remove your username from the USER_NAME="" variable in /etc/diald/connect (the one that came with the diald rpm.)

You can see that PAP Authentication is successful by looking for the Line:
Sep 14 00:55:38 maruti pppd[2355]: Remote message: Access permitted for user "your_username"

Sep 14 00:55:35 maruti connect: Protocol started
Sep 14 00:55:35 maruti diald[2331]: Running pppd (pid = 2355).
Sep 14 00:55:35 maruti pppd[2355]: pppd 2.3.5 started by root, uid 0
Sep 14 00:55:35 maruti pppd[2355]: Using interface ppp0
Sep 14 00:55:35 maruti pppd[2355]: Connect: ppp0 <--> /dev/cua0

Sep 14 00:55:38 maruti pppd[2355]: Remote message: Access permitted for user "user_name"^M Session 990914.003744.229998 opened, user "user_name"^M  

Sep 14 00:55:39 maruti pppd[2355]: local  IP address 204.197.21.189
Sep 14 00:55:39 maruti pppd[2355]: remote IP address 204.54.30.47
Sep 14 00:55:45 maruti diald[2331]: New addresses: local 204.197.21.189, remote 204.54.30.47

-------------------------
Sriram Polepeddi
[EMAIL PROTECTED]


At 01:06 AM 9/19/99 +0000, hazzmat wrote:
 
Hello,
        I just encountered this as well. On a system that uses Linuconf such as Redhat, all that
seems to be necessary is 1) to select 'use PAP' in the PPP configuration dialog putting your name
and password in the space provided --it will write these to /etc/ppp/pap-secrets file.

2) Know exactly how your ISP tries to invoke PAP when you connect. Often on a MS based network it's the string  User Access Verification   Examine your /var/log/messages for the first such string from
your ISP. It is also possible to watch these messages passing back and forth between your ISP
and PC in WIndows if you select "bring up terminal window in --I think-- Dialup networking edit
properties ->my connection or possibly the modem properties.

3) Place whatever this string happens to be into the /etc/diald/connect script in the line
USER_CHAT_SEQUENCE="login:--login:--" Don't repeat it the way the script repeats login:

4) As noted in /etc/diald/connect do not put your password or username in the string for USER_NAME just empty doublequotes ""

5) Comment out line in which you would have given the password. (Maybe this isn't actually necessary)

This seems to be working well with diald 0.99-1 and my ISP. I am using config scripts installed by a 0.16.5a-1 diald-config rpm on RH6.0, diald 0.99-1 locally compiled and linuxconf 1.16r1.3 . Hope this is helpful.

Ed Weinberg wrote:
There is one reference to PAP in the file "connect".  I am trying to
hook a system up to Prodigy who (I think) uses PAP.   Can anyone point
me to documentation or tell me if I need a pap-secret file and what
goes in it?

  --  Ed Weinberg,
      Detel, Inc., An Internet Presence Provider
      [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

-- 
remove the obvious from my email address
 



- To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]

Reply via email to