In article <(E-Mail Removed)>, keysmaiehce wrote:
>I'm using earthlink with slack 9.1 and I have problem with using PPP-go,
>command, I get following message,
>
>Connect: ppp0 <--> /dev/modem
>LCP: timeout sending Config-Requests
>Modem hangup
good ole Earthlink. Watch what you are using for a username.
>I believe up to chat & authentication is successful. Thing is I'm able to
>make connection by using Kppp... strange
OK, the key is often the authentication. First, in _MOST_ cases, you do
not want to be looking for a login prompt. Earthlink _MAY_ sometimes be
an exception, because they are using contracted points of presence (you
posted from 4.249.207.131, which is a Level3.net address), but that is
now (generally) handled by them having you use a username that contains
'@earthlink.net' so that the peer knows you are an Earthlink customer,
instread of their own.
> Now I need to connect to internet from commandline. Help me out to
> troubleshoot, what possibly causing this LCP msg to appear,
http://axion.physics.ubc.ca/ppp-linux.html
http://www.theory.physics.ubc.ca/ppp-linux.html
You are going to wind up with _SOMETHING_ that looks like this:
[compton ~]$ cat /usr/local/bin/dialin
#!/bin/bash
exec /usr/sbin/pppd connect "/usr/sbin/chat -f /etc/ppp/dialscript" \
defaultroute lock noipdefault modem nodetach /dev/modem 115200 crtscts \
user '(E-Mail Removed)'
[compton ~]$
There must not be anything after the \ in those two lines.
[compton ~]$ cat /etc/ppp/dialscript
ABORT BUSY ABORT 'NO CARRIER' "" AT&F1 OK ATDT2662902 CONNECT \d\c
[compton ~]$
Set up a _PAIR_ of files named /etc/ppp/pap-secrets and chap-secrets that
have the username and passowrd in the form
'(E-Mail Removed)' * 'p42Sw0rD~'
Notice how I'm quoting each variable, to protect any strange characters
each may contain. Obviously, you need to replace the username , password,
and telephone number as required. Also, the AT&F1 is used by USR modems,
Others may want AT&F0. Unless you really know what is in the modem's
NVRAM, "ATZ" is _NOT_ an acceptable init string. See your modem manual.
> and what's so
> difference between kppp and PPP package except kppp is GUI?
[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 ~]$
I dunno, maybe about 100K of bloat?
Old guy