On Sun 30 May, [EMAIL PROTECTED] wrote:
> I'm trying to setup diald and have run into a major question. Does diald 
> support PAP or CHAP authentication? 

It is not diald's responsibility to deal with this. It is the ppp
daemon's job to do the actualy negotiation and authentication. The
connect script does the initial setup with the modem. Diald just starts
these processes running and reacts to their output.

> All examples I have seen refer to 
> script based logins, in which diald is searching for --name: and word: fields
> (or derivations thereof). Since PAP is used on Cornell's dialup pool, I can 
> login using pppd from the command line (and included files like
> /etc/ppp/pap-secrets) but this does not seem to cut it for the diald 
> configurations. Any advice, tips or tricks would be appreciated!

You can definately do this (I have done so in the past), but I don't
personally use it currently. Essentially if you have a working setup
using pppd from the command line you put the chat-script part of it into
a file (eg /etc/diald/papconnect) and put the appropriate ppp pap-secrets
and options in you ppp setup (noting that several of these (e.g. device,
speed, lock, modem, crtscts, defaultroute) are superceeded by diald
options), then in diald.conf put 
connect /etc/diald/papconnect 
mode ppp

Does that help?

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel (00 44) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/


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

Reply via email to