[101460] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: ppp and multipile usernames

daemon@ATHENA.MIT.EDU (dsb3)
Thu Nov 26 12:07:05 1998

Date: Thu, 26 Nov 1998 11:10:34 -0600 (CST)
From: dsb3 <dsb3@earthlink.net>
To: RedHat List <redhat-list@redhat.com>
In-Reply-To: <Pine.LNX.4.04.9811261739030.1082-100000@alpha.computers.org>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Thu, 26 Nov 1998, Iztok Polanic wrote:

>Hello !!!
>
>I have this in my pap-secrets:
>
># Secrets for authentication using PAP
># client        server  secret                  IP addresses
>ssdipola        *       <passwd>
>ssdipola        *       <passwd>
>
>I have two different ISP acceses, but with identical usernames. How can I
>tell pppd which username should it use at which ISP???
>Thank you!
>

some PPP dialers such as wvdial are able to generate the pap-secrets file
dynamically at run time to enable you to write the user/pass settings for
each dial attempt.

perhaps you could write a wrapper script around your current dialer to do
a similar function ... say 'cp pap-secrets.server1 pap-secrets' or 
'cp pap-secrets.server1 pap-secrets' before running the dial script?


alternatively, you use the server column which may or may not be possible
depending on the circumstances.


-dave 


--

   |     oOOooO           /  
 --|    oOobodoO        /   dsb3@earthlink.net
 --|     ooOoOo       /    
   |       II       /     Kernel Panic: /dev/brain is on fire.
   |       II     /      MD5: 13aa1b8724ce1885cd9e7cad9b2eb9ba 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post