ppp PAP question

1998-06-27 Thread Wakko Warner
I have 2 machines (well, 1 machine 1 isp).  I'd like to use PAP between
them.  in pap-secrets I have:

wakko   lwts...
wakko   bristol ...

lwts is my computer at work
bristol is the name I received from my ISP.

Doesn't matter how I invoke pppd, the results are the same.  It will always
use the first line (I'm using the default pap-secrets file.  the only mods
were removing the entry at the end and replacing it with the 2 above).

The line I used to invoke pppd:
pppd connect 'chat  atdt### CONNECT' user wakko /dev/modem 115200

I see no other way to get pppd to send the correct user name.  Obviously,
I'm not going to use my machine name and I'm not going to have my machine
name as my ISP login name.  It seems that it can't get the remote host name
or something...  I don't fully (or half way) understand PAP.

Any ideas?


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: ppp PAP question

1998-06-27 Thread Martin Bialasinski

 WW == Wakko Warner [EMAIL PROTECTED] writes:

WW them.  in pap-secrets I have:

WW wakko   lwts...
WW wakko   bristol ...

WW lwts is my computer at work
WW bristol is the name I received from my ISP.
[...]
WW The line I used to invoke pppd:
WW pppd connect 'chat  atdt### CONNECT' user wakko /dev/modem 115200

WW I see no other way to get pppd to send the correct user name.  Obviously,
WW I'm not going to use my machine name and I'm not going to have my machine
WW name as my ISP login name.  It seems that it can't get the remote host name
WW or something...  I don't fully (or half way) understand PAP.

man pppd says:

remotename name
  Set  the  assumed  name  of  the  remote system for
  authentication purposes to name.

So: a the pap-secrets line should look like:

wakko   myisp   secretpassword

username on remote system = wakko
password for remote system = secretpassword
remote-id of remote system (arbitrary) = myisp

and you have to add remotename myisp to your pppd line.

Ciao,
Martin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]