Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-16-2001, 03:16 AM   #1
LQ Newbie
Registered: Jan 2001
Posts: 1

Rep: Reputation: 0


I have a problem when trying to connect to an ISP. When running the ppp-on script I get the following error message and the connection terminates:

LCP: timeout sending config requests
Connection terminated.

This happens after the username and password have been entered. The script looks something like this:

# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
# These are the parameters. Change as needed.
TELEPHONE=0 ..... # The telephone number for the connection
ACCOUNT= ..... # The account name for logon (as in 'George Burns')
PASSWORD= ..... # The password for this account (and 'Gracie Allen')
LOCAL_IP= # Local IP address if known. Dynamic =
REMOTE_IP= # Remote IP address if desired. Normally
NETMASK= # The proper netmask if needed
# Export them so that they will be available at 'ppp-on-dialer' time.
# This is the location of the script which dials the phone and logs
# in. Please use the absolute file name as the $PATH variable is not
# used on the connect option. (To do so on a 'root' account would be
# a security hole so don't ask.)
# Initiate the connection
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

And the ppp-on-dialer part is this:

# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
exec chat -v \
ABORT '\nBUSY\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
ogin:--ogin: $ACCOUNT \
assword: $PASSWORD

Old 01-16-2001, 09:09 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256

Does the error you recieve happen exactly after you put your username and password? What isp are you using? The scripts files might not work with the isp, have you tried the GNOME ppp dial up configuration, or Kppp in KDE. Easy to setup programs for dialing into a isp.

Hope this helps.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pppd problem baptistheart Linux - General 1 09-02-2005 04:53 PM
pppd timeout before pppd interface could start! bioagentice Linux - Software 6 03-27-2005 12:24 PM
pppd problem fida Linux - Software 0 10-05-2004 02:08 PM
pppd died: pppd options error (exit code 2 taveirac Linux - Networking 1 02-12-2004 11:17 AM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 09:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration