Re: PPP Slack 9.1 kernel 2.4.18

From: Moe Trin (ibuprofin_at_painkiller.example.com)
Date: 07/25/04


Date: Sun, 25 Jul 2004 16:28:52 -0500

In article <RJAMc.12033$iK.9627@newsread2.news.atl.earthlink.net>,
MarkO wrote:

>Using PPP terminates without success connection. It resets, dials perfect,
>doesn't recieves any error like username or passwd, problem is after that,

Make sure you are NOT attempting to look for a login or username prompt.
The 'chat' script used to control the modem should set one or two error
conditions, initialize the modem with the string recommended by the
modem manufacturer, then dial. When chat detects that the modems have
connected (usually CONNECT), exit the chat script, and start sending
ppp frames. This means a script that looks like this:

  ABORT BUSY ABORT 'NO CARRIER' "" AT&F1 OK ATDT2662902 CONNECT \d\c

Note: AT&F1 = USR/3Com AT&F (AT&F0) = Rockewll & Lucent SEE YOUR
MODEM MANUAL!

>At the debug msg, sent LCP...repeats about 10 times, and never recieves
>reciv LCP line and prints time out msg.

Connect script is confusing the ISP. What error message does pppd report?

http://axion.physics.ubc.ca/ppp-linux.html
http://www.theory.physics.ubc.ca/ppp-linux.html

>Yet!, After X and KDE 3.0 are up, with kppp, everything works.

And it's a poorly written application.

>Any idea what script kppp uses, if there's any?

The dialin (chat) script is an abortion - you can sorta figure out
what it's doing by finding it's configuration. If all else fails, use
'grep' to search for the telephone number in the files below /etc/.

>Any1 experienced this kind of problem before?

http://groups.google.com/
"Ten minutes with google will tell you more about anything
than you ever wanted to know." -- Ross Presser, 2002

[compton ~]$ wc /usr/local/bin/dialin /etc/ppp/dialscript
/etc/ppp/pap-secrets
      4 19 169 /usr/local/bin/dialin
      1 11 67 /etc/ppp/dialscript
      1 3 22 /etc/ppp/pap-secrets
      6 33 258 total
[compton ~]$

Compare that to the size of kppp, wvdial, or the other GUI "tools" that
try to do the same thing. If you are trying to connect to earthlink,
remember that they want 'chanow@earthlink.net' as a username, not just
'chanow', That's because they contract dialin points from many other
ISPs, and there has to be a way to tell whose customer is whose. For
example, you posted from 4.249.96.136, which is an IP owned by level3.com
not earthlink.

        Old guy



Relevant Pages

  • Re: Newbie seeks modem advice
    ... I used the "reset" part so that it would send a reset string to the modem when it locked up ... script and wvdial.conf file. ... but wouldn't obtain an IP until the authentication stuff was ...
    (uk.comp.os.linux)
  • Re: one script for pap/chap and manual authentication
    ... >I am using pppd and chat for doing a modem dialup ... >a chat script which can be used for both chap/pap ... Hayes command escape code, then wait a second, and hope for the 'OK. ...
    (comp.os.linux.networking)
  • Re: Newbie internet connection issue
    ... >Smart Modem Linux driver for that modem, which is loaded at boot time. ... >am not using any specialised script to override that of the system's. ... and correct the phone number (and username and password). ... The 'debug logfile /tmp/ppp.log' will put some additional information ...
    (alt.os.linux.suse)
  • Re: [Full-disclosure] SSH brute force blocking tool
    ... And just what on God's earth does "SOMEONE LOGGING IN WITH USERNAME SET ... TO A VALID PASSWORD ENTRY" have to do with this script. ... the classic attack is the symlink attack. ...
    (Full-Disclosure)
  • PHP Access Script (free guide)
    ... he keys in his username and password ... in this case, if John Davis correctly log in, the script ... kick out the user. ... Browser agent to act as an invisible session ID. ...
    (alt.php)