[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CHAT and PAP
Methinks that you better let ppp determine mtu and mru. Apart from that,
you should build the secrets file EXACTLY as in the HOWTO. Yours does not
look like it. Perhaps i got the syntax wrong. As to whether full FQDN or
just Uname, ask them, or try because there is no rule. The system is
designed for host-to-host connections, thus usernames should not exist in
authentication procedures, but it may be extended for this purpose. It
would be nice to know whether the names accept '@' as valid character. If
they do, then it would be the FQDN, else just the user name.
On Fri, 19 Dec 1997, Constantin Eizner wrote:
> Hi all
>
> I am trying to figure out what is going on.
> I've been told to use PAP or CHAP when connecting. My questions:
>
> One of the fields in the CHAP file is "client"....me right? Is this my
> entire machine name? me.domain.com? Or my user name at my ISP?
>
> - The next field is "server"....my ISP, right? Do I have to know the
> machine name or just domain.com?
>
> - Next field: "string"....my password at the ISP?
>
> - Addresses.....????
>
> I've read most of the HOWTO files and MAN pages, but I'm still not sure
> what is going on. Can someone put into plain english what I am supposed
> to put
> in this file?
>
> I buided the following files and it still do not work.I try to connect
> to CISCO as5200.
>
> 1) /etc/ppp/chap-secrets
>
> # Secrets for authentication using CHAP
> # client server secret IP
> addresses
> raccess as5200 ?my password on as5200> as5200
> as5200 raccess ?my password on raccess> raccess
>
> 2) /etc/ppp/ppp-on
>
> #!/bin/sh
> /usr/sbin/pppd debug /dev/ttyS1 115200 connect '/usr/sbin/chat -v -f
> /etc/ppp/ppp-on-dialer'
>
> 3) /etc/ppp/ppp-on-dialer
>
> ABORT ERROR
> ABORT BUSY
> ABORT 'NO DIALTONE'
> ABORT 'NO CARRIER' ""
> ATZ OK
> AT?F OK
> ATDT98259000
> CONNECT ''
>
> 4)/etc/ppp/options.ttyS1
>
> disconnect "chat -- \d+++\d\c OK ath0 OK"
> crtscts
> defaultroute
> lock
> modem
> mru 1500
> mtu 1500
> user ?my username on as5200>
> passive
>
> Thanks.
>
>
>
>
> --
> ------------------------------------------------------------------------------
> Computer Center of Haifa University
> ------------------------------------------------------------------------------
> Constantin Eizner | Tel. 972-4-8249299
> Network Engineer | Fax. 972-8249177
> Unix System Administrator | E-mail eizner@research.haifa.ac.il
>
>
>
>
Peter Lorand Peres
------------------
plp@actcom.co.il 100310.2360 on CIS (please use Internet address for mail)
http://ourworld.compuserve.com/homepages/plp
"The creed of Inland Revenue is simple: 'If we can bring one little smile to one
little face today - then somebody's screwed up somewhere' - David Frost
(Note: The above stands valid in all countries until proven wrong)
- References:
- CHAT and PAP
- From: Constantin Eizner <eizner@research.haifa.ac.il>