[plug] pppd

Garth Atkinson garth at cclinic.com.au
Sun Oct 31 15:44:31 WST 1999


Hi Dean

If the +pap option is used and the pap-secrets file is empty then pppd
will silently fail (I dont even think it puts any message in
/var/log/messages).

In the pap-secrets file try:
john	*	john


Then using dialup networking in Windows 98, login as john with password
of john.

Mgetty has a good log file to check as well. It is in the /var/log
directory and is called something like mgetty.ttyS1 or mgetty.ttyS0
(serial port 2 or serial port 1) or possibly mgetty.modem.

In mgetty's log file you should confirm theat mgetty is detecting ppp
packets and automatically launching pppd as a result.

Also remove the -ip and lock parameters from /etc/ppp/options. In this
scenario (at least during setup) they are not required.

You can also, as a test of the pppd configuration, as superuser, execute
the pppd program with exactly the same parameters as in the login.config
file. You should see some very strange characters appear as output on
your console, or see some pppd error message.

Garth

Dean Wright wrote:
> 
> Garth,
> 
> Thanks for the help, but I am still having prob's.
> 
> here is what I have in my login.config file
> 
> "pppd debug kdebug 1 192.168.10.10:192.168.10.11 +pap login asyncmap 0
> passive"
> 
> is that all I need in there?
> 
> this is what I have setup in my options file
> 
> asyncmap 0
> crtscts
> local
> lock
> modem
> passive
> -detach
> -ip
> +pap
> debug
> kdebug 1
> login
> lcp-echo-interval 30
> lcp-echo-failure 4
> 
> Are these right? I'm not sure.
> 
> I dialed in with hyper terminal and I can login ok, but if I try to use
> dialup networking it gets to the verifying password point then waits for a
> bit then I get disconnected. So I went and checked the messages and ppp_log
> files and there was only the info from when I restarted the box from the
> kernel, nothing from pppd.
> 
> could my modem string be wrong?
> or maybe my settings on the win98 dailup? which are
> 
> type of dialup server: ppp
> advanced options: enable software compression
> protocols: TCP/IP with both server assigned addresses checked, ipheader
> compression, use default gateway.
> 
> also I am not really sure what I need to have in my ppp-secrets file
> 
> any ideas on what I am doing wrong (probably heaps)
> please bare with me I'm still on that really steep learning curve
> 
> Dean
> 
> "Who told you to put the balm on? I didn't tell you to put the balm on, what
> is a balm anyway?"
> - Jackie Giles  (Seinfeld)



More information about the plug mailing list