PPP Related Problems

1. How can I set a ppp server ?
2. When I try to connect to my ISP the connection is immediately terminated after the pppd is up. How can I fix it ?
3. Why does modem drops upon connect ?

1. How can I set a ppp server ?

Chad Whitten

here is what i have and it works with windows and linux clients /etc/ppp/options.server
-detach               # detach from ppp session (ie, run in background)
asyncmap 0
modem
crtscts
lock
require-pap           # use pap authentication
refuse-chap           # dont use chap authentication
#login
proxyarp
ms-dns 10.1.1.5       # sets the local dns server
ms-dns 10.1.1.1
10.1.1.10:10.1.1.50    # sets the gateway and ip address for dial-in
      
/etc/mgetty+sendfax/login.config
/AutoPPP/ -     a_ppp   /usr/sbin/pppd file /etc/ppp/options.server
      
and from /etc/inittab
mo:23:respawn:/usr/sbin/mgetty -n 5 -s 57600 -D ttyS0
      
on both windows and linux i just setup a standard dial-up networking connection.

2. When I try to connect to my ISP the connection is immediately terminated after the pppd is up. How can I fix it ?

If you are using WvDial to dial your ISP, in /etc/wvdial.conf, find the setting named Stupid Mode. Set it to 1.

Some ISP's will send the text for a login and password, but never use the response. Stupid Mode tells WvDial to ignore such prompts.

3. Why does modem drops upon connect ?

Create a file named kppp in the directory /etc/ppp/peers, with the contents:
plugin passwordfd.so
      
That will allow it to authenticate and connect again.

Copyright 2002-2003 Togan Muftuoglu