The Thursday 2005-03-31 at 20:03 +0200, Sjoerd Hiemstra wrote:
steve wrote:
How do I set wvdial or kinternet to use PAP authentication? With KPPP there is an option but with the other two none.
In /etc/wvdial.conf, set: Stupid Mode = 1 (Well, in fact it's not that stupid.)
Well, actually, that's not for pap. What it does is select who sends the login, wvdial or the pppd daemon. It is pppd who has to use either chap or pap to authenticate. Stupid Mode When wvdial is in Stupid Mode, it does not attempt to interpret any prompts from the terminal server. It starts pppd immediately after the modem connects. Apparently there are ISP's that actually give you a login prompt, but work only if you start PPP, rather than logging in. Go figure. Stupid Mode is (natu rally) disabled by default. In other words: some providers (like tiscali in Spain, some times Terra needed it as well) offer a login prompt before the ppp negotiation. This login is not for internet usage, but to log into the access router! It is a misconfiguration, because those routers can be used for different type of access (VoIP, for example, console...), Therefore, in stupid mode wvdial simply passes control to pppd as soon as it can. I guess the correct option should be: PPPD Option= refuse-chap or, edit the file /etc/ppp/peers/wvdial and add a line containing "refuse-chap". This will tell the pppd to use PAP instead. "require-pap" would be for authentication of "them to us". -- Cheers, Carlos Robinson