Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-01-2001, 07:09 PM   #1
Member (6 bit)
 
Join Date: Nov 2000
Posts: 44
Question

I am trying to get my PPP connection up and going. So far using the "dialup configuration"/debug the modem is dialing out and I get the message that it has connected to the carrier, but after that point I get no further. The syslog says something along the lines of the connection timing out. I have put both the primary and seconcary IP numbers in my dialup connection setup. I have gone to the red hat support site, no luck coming up with anything there, or anywhere else for that matter. Can somebody give me an idea of what I might do to complete this connection. Thanks!
sbailey12 is offline   Reply With Quote
Old 02-02-2001, 07:07 AM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Need info:
(a) what are u using to dial? did u try kppp?
(b) just like in Windoze have u checked your modem settings for flow control et al? Are you using a script to log in? Is the script ok?
(c) What is your modem?

Quote:
Originally posted by sbailey12
I am trying to get my PPP connection up and going. So far using the "dialup configuration"/debug the modem is dialing out and I get the message that it has connected to the carrier, but after that point I get no further. The syslog says something along the lines of the connection timing out. I have put both the primary and seconcary IP numbers in my dialup connection setup. I have gone to the red hat support site, no luck coming up with anything there, or anywhere else for that matter. Can somebody give me an idea of what I might do to complete this connection. Thanks!
Statica is offline   Reply With Quote
Old 02-02-2001, 01:15 PM   #3
Member (6 bit)
 
Join Date: Nov 2000
Posts: 44
I am dialing out with KPPP on a Practical Peripheral 33.6 external modem, modem is dialing out fine, I get the following messages as it dials "dialing....", "connected at 9600", and I then get the message "Logging on to Network" it is at this point that it comes back with the message "*Timeout expired while waiting for the PPP interface to come up." I Checked the flow control on the modem it looks ok, it seems to only dial out correctly when using the CRTSTS flow control. I also have double checked my username and password. If I am using a script to log in, I am not aware of it. Thanks again.
sbailey12 is offline   Reply With Quote
Old 02-02-2001, 03:27 PM   #4
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Hi sbailey12:
Ok first thing I'd suggest is reading your msges on whether there was something wrong with scripting or password mistyped etc.. set your logging on in PPP and then look into /var/log/messages [I believe you get it by clicking on the details button]
There are some more things you can play around with:
  • Increase the pppd timeout value in KPPP
  • If using the script add a 'Pause 1' or a 'Pause 2' script command
  • try using the Use Lock file" setting as on or off and see if it makes a difference
  • stop using /dev/modem .. its nothing but a useless symlink, use the real McCoy /dev/ttySX [COM1=ttys0, COM2=ttys1 ...]
  • verify your permissions are right
  • some ISPs require you to type [or send] PPP, are u doing so?

    Most of these errors are, believe it or not caused by the server side a lot of times. To explain the mechanism, linux pppd's send 10 lcp config requests to the server but if the server is slow to respond the requests bounce back telling linux that the server is not ready. The two ways typically used are (a) to increase the number of lcp requests by appending "lcp-max-configure 30" to ppp options.

    Or use kppp scripting in login script options and the last one you need is: expect ~

    recommended link: http://axion.physics.ubc.ca/ppp-linux.html

    HTH, am sorry I cant debug it further, but try them out, they arent as twisted as they seem on this post :)
  • Statica is offline   Reply With Quote
    Old 02-02-2001, 03:57 PM   #5
    Member (6 bit)
     
    Join Date: Nov 2000
    Posts: 44
    Ok, I'll give what you suggested a try. Thanks for the help. I'll let you know what I come up with.

    sbailey12
    sbailey12 is offline   Reply With Quote
    Reply

    Bookmarks

    Still Need Help? Type Your Keywords Here:


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    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 On
    HTML code is On
    Trackbacks are On
    Pingbacks are On
    Refbacks are On



    All times are GMT -5. The time now is 06:55 AM.
    Powered by vBulletin® Version 3.8.7
    Copyright ©2000 - 2012, vBulletin Solutions, Inc.
    SEO by vBSEO 3.6.0 PL2