Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, Can anyone point to some documentation or provide step by step instructions to configure a Linux dial-in PPP server without pap/chap authentication, just a simple basic server. Thanks, Nikhil...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370

    Linux PPP dial-in server.


    Hi,

    Can anyone point to some documentation or provide step by step instructions to configure a Linux dial-in PPP server without pap/chap authentication, just a simple basic server.

    Thanks,
    Nikhil

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    pppd operates at both ends of a PPP connection, so checking the docs for pppd should tell you a lot, if not all. I think tldp has a HOWTO on it as well.

  3. #3
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    Hi,

    I have configured a basic ppp server with pap authentication,
    my /etc/mgetty+sendfax/login.config
    has the following entry:
    /AutoPPP/ - a_ppp /usr/sbin/pppd -chap +pap login debug

    my /etc/ppp/options file has the following entry:
    -detach
    asyncmap 0
    proxyarp
    lock
    debug
    crtscts
    defaultroute
    modem

    When I dial into the server through DUN, I get a screen that prompts me for my username/password, upon entering it, i get the following in the error logs:

    Aug 5 12:30:19 dialogic login -- pppuser[3831]: DIALUP AT ttyS0 BY pppuser
    Aug 5 12:30:19 dialogic login -- pppuser[3831]: LOGIN ON ttyS0 BY pppuser
    Aug 5 12:30:19 dialogic pppd[3838]: pppd 2.4.1 started by pppuser, uid 351
    Aug 5 12:30:19 dialogic pppd[3838]: Using interface ppp0
    Aug 5 12:30:19 dialogic pppd[3838]: Connect: ppp0 <--> /dev/ttyS0
    Aug 5 12:30:52 dialogic pppd[3838]: IPCP: timeout sending Config-Requests
    Aug 5 12:30:52 dialogic pppd[3838]: Hangup (SIGHUP)
    Aug 5 12:30:52 dialogic pppd[3838]: Modem hangup
    Aug 5 12:30:52 dialogic pppd[3838]: Connection terminated.
    Aug 5 12:30:52 dialogic pppd[3838]: Connect time 0.6 minutes.
    Aug 5 12:30:52 dialogic pppd[3838]: Sent 175 bytes, received 0 bytes.
    Aug 5 12:30:52 dialogic pppd[3838]: Exit.

    Apparently IPCP messages are not getting routed properly, any one has any ideas of whats going on??
    any help is appreciated.

    thanks
    Nik

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I really don't know much about PPP; luckily, I've been able to stay away from it. However, the fact that pppd is receiving a SIGHUP makes me think that the modem hangs up by itself. Can you check on that?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •