Connects, establishes a PPP Session, and then ........ nothing.

Connects, establishes a PPP Session, and then ........ nothing.

Post by Tom Berne » Wed, 09 Dec 1998 04:00:00



Hi,

I've made progress in setting up a dial-up to the internet, but now
I'm stuck and can't find the answer in the howto's, archives, etc.

Using minicom, after login, I get the following:

 Entering PPP Session.
 IP Address is 207.172.xx.xx
 MTU is 1006.

So far so good, right?  But I'm not able to do anything from that
point.  Can't ping servers, Netscape says   "... unable to locate the
server."

If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
successful PPP connection.  But I don't know what to do next.

After a minute or so, it times out and says No Carrier.

Am I overlooking something really simple?

Can anybody help?

Tom

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by P » Wed, 09 Dec 1998 04:00:00




Same problem. I can connect with Minicom and Netuser but connection
always times out with No Carrier. Somewhere in the remote cobwebbed
ineterior of my memory this seems familiar. I think the same used to
happen, many years ago, when I used to try to set up a PPP connection
via Dos and Win3.1 (before Win95 did everthing *for* me). I'm still
working on the answer. If I get it before you, I'll let you know.

PG

Quote:>Hi,
>If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
>etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
>successful PPP connection.  But I don't know what to do next.

>After a minute or so, it times out and says No Carrier.

>Am I overlooking something really simple?

>Can anybody help?

>Tom


 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Matt Kresse » Wed, 09 Dec 1998 04:00:00



> Hi,

> I've made progress in setting up a dial-up to the internet, but now
> I'm stuck and can't find the answer in the howto's, archives, etc.

> Using minicom, after login, I get the following:

>  Entering PPP Session.
>  IP Address is 207.172.xx.xx
>  MTU is 1006.

> So far so good, right?  But I'm not able to do anything from that
> point.  Can't ping servers, Netscape says   "... unable to locate the
> server."

> If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
> etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
> successful PPP connection.  But I don't know what to do next.

> After a minute or so, it times out and says No Carrier.

> Am I overlooking something really simple?

> Can anybody help?

Minicom is not the ideal way to connect to the internet.  You need to set up a
PPP chat script to dial the modem for you and connect and set up the PPP
connection.  Try EZPPP, as this is an easy way to set up PPP.  Reread the
HOWTO.  Minicom is a terminal program.  Most systems have a script like
"ppp-up" which the user types to start a dial-up script to the ISP.  This
script dials the ISP (via "chat") sets up the connection (via "pppd") and
updates your routing tables (via "route").

Hope this helps.

-Matt

-Matt

--

+---------  Northrop Grumman Corporation, Bethpage, NY ---------+
+---------  TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Tony » Wed, 09 Dec 1998 04:00:00



> Hi,

> I've made progress in setting up a dial-up to the internet, but now
> I'm stuck and can't find the answer in the howto's, archives, etc.

> Using minicom, after login, I get the following:

>  Entering PPP Session.
>  IP Address is 207.172.xx.xx
>  MTU is 1006.

> So far so good, right?  But I'm not able to do anything from that
> point.  Can't ping servers, Netscape says   "... unable to locate the
> server."

> If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
> etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
> successful PPP connection.  But I don't know what to do next.

> After a minute or so, it times out and says No Carrier.

> Am I overlooking something really simple?

> Can anybody help?

> Tom


Minicom without resetting the modem. On mine, you do Ctrl-A then Q. On
newer versions, you do Alt-Q. If you do it right it will ask "Quit
without reset?" say yes.

Back at the command line enter the following:

pppd /dev/modem 115200 -detach defaultroute  (if you don't already have
these options in                                               your
/etc/ppp/options file)

you should then be connected and be able to ping, etc. (assuming you
have /etc/resolv.conf set up right)

TB

P.S.  I wouldn't worry about setting up a chatscript until you get all
this worked out. Then you can set up a script (knowing what options you
need) and just type one command to do all the work for you.

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by P » Wed, 09 Dec 1998 04:00:00


I downloaded wvdial but am too stupid to figure out how to invoke it
(run it). Once I get EXPPP, install it (assuming it's an RPM) how do I
invoke it?

Where's the HOWTO? (Rank amateur here...)

PG

Who just wants to get out of Windows...

>Try EZPPP, as this is an easy way to set up PPP.  Reread the
>HOWTO.  Minicom is a terminal program.  Most systems have a script like
>"ppp-up" which the user types to start a dial-up script to the ISP.  This
>script dials the ISP (via "chat") sets up the connection (via "pppd") and
>updates your routing tables (via "route").

>Hope this helps.

>-Matt

>-Matt

>--

>+---------  Northrop Grumman Corporation, Bethpage, NY ---------+
>+---------  TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Immanuel Bab » Wed, 09 Dec 1998 04:00:00


Well I encountered almost identical symptoms. Turned out my modem was PnP
I had to make it "non PnP" by changing jumper settings and disabling BIOS
PnP feature. then I had to configure my modem
to a specific IRQ and COM port. Then I went into X windows and used the
network configuration tool


Regards
Immanuel Babu.

--
Immanuel Babu

phone: (860) 520 2739

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Tom Berne » Thu, 10 Dec 1998 04:00:00





>I downloaded wvdial but am too stupid to figure out how to invoke it
>(run it). Once I get EXPPP, install it (assuming it's an RPM) how do I
>invoke it?

>Where's the HOWTO? (Rank amateur here...)

>PG

>Who just wants to get out of Windows...

I didn't have any luck with EZPPP either.  I downloaded it, gunzipped
it, tar xvf 'd it and never got the directory or file that the README
says I should.  Another dead end.

Tom

>>Try EZPPP, as this is an easy way to set up PPP.  Reread the
>>HOWTO.  Minicom is a terminal program.  Most systems have a script like
>>"ppp-up" which the user types to start a dial-up script to the ISP.  This
>>script dials the ISP (via "chat") sets up the connection (via "pppd") and
>>updates your routing tables (via "route").

>>Hope this helps.

>>-Matt

>>-Matt

>>--

>>+---------  Northrop Grumman Corporation, Bethpage, NY ---------+
>>+---------  TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by j.. » Thu, 10 Dec 1998 04:00:00






>>I downloaded wvdial but am too stupid to figure out how to invoke it
>>(run it). Once I get EXPPP, install it (assuming it's an RPM) how do I
>>invoke it?

>>Where's the HOWTO? (Rank amateur here...)

        Type ezppp after you've installed it.

        Or, alternately, if you haven't installed
        it just run it by typing ./ezppp.

[deletia]

        Although, ezppp never worked for simple chap connections
        for me...

--
Unix had  startmenus and taskbars before Microsoft         |||
even had a decent memory manager for DOS.                 / | \

        In search of sane PPP docs? Try http://penguin.lvcm.com

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by P » Thu, 10 Dec 1998 04:00:00


Did I say ezppp. I guess I did. I had no problem invoking ezppp, but
ezppp didn't like me. It gave me the error:

can't resolve symbol '_vt.11QMessageBox
Segmentation Fault (core dumped)

Well, I can't resolve symbol '_vt.11QMessageBox' either, so, for now,
I've dumped EZPPP. It's wvdial that I can't invoke. I've tried typing
wvdial at the prompt but that get's me nowhere. I've searched for it
but can't find. I only know the RPM installed it without complaint (it
was the latest i386.rpm).

PG

Still stuck in windows...

Quote:

>    Type ezppp after you've installed it.

>    Or, alternately, if you haven't installed
>    it just run it by typing ./ezppp.

>[deletia]

>    Although, ezppp never worked for simple chap connections
>    for me...

>--
>Unix had  startmenus and taskbars before Microsoft         |||
>even had a decent memory manager for DOS.                 / | \

>    In search of sane PPP docs? Try http://penguin.lvcm.com

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by mcv » Sat, 12 Dec 1998 04:00:00


Have a look for a HOWTO on DIP.  I got my PPP connection working easily
using it.

>Hi,

>I've made progress in setting up a dial-up to the internet, but now
>I'm stuck and can't find the answer in the howto's, archives, etc.

>Using minicom, after login, I get the following:

> Entering PPP Session.
> IP Address is 207.172.xx.xx
> MTU is 1006.

>So far so good, right?  But I'm not able to do anything from that
>point.  Can't ping servers, Netscape says   "... unable to locate the
>server."

>If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
>etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
>successful PPP connection.  But I don't know what to do next.

>After a minute or so, it times out and says No Carrier.

>Am I overlooking something really simple?

>Can anybody help?

>Tom

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Ro » Sat, 12 Dec 1998 04:00:00


personally, i would go to http://www.worldvisions.ca/wvdial
and get the wvdial RPM and install it.
it sets up your modem and ppp connection for you!
-Rob
Quote:>>After a minute or so, it times out and says No Carrier.

>>Am I overlooking something really simple?

>>Can anybody help?

>>Tom

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Mohd H Misn » Tue, 15 Dec 1998 04:00:00






>>I downloaded wvdial but am too stupid to figure out how to invoke it
>>(run it). Once I get EXPPP, install it (assuming it's an RPM) how do I
>>invoke it?

>>Where's the HOWTO? (Rank amateur here...)

>>PG

>>Who just wants to get out of Windows...

>I didn't have any luck with EZPPP either.  I downloaded it, gunzipped
>it, tar xvf 'd it and never got the directory or file that the README
>says I should.  Another dead end.

I'm on RedHat 5.1 and KDE 1.0. KDE has PPP dialer called KPPP and it
works well for me. Setting up KPPP for me is no harder than getting
Win98 DUN to work. If your ISP support PAP, there is no need for the
use of script and it really work well for few ISPs that I've an
account with. I haven't try anything else other than KPPP and the
original script based configuration with RedHat control-panel.

--


| http://www.geocities.com/SiliconValley/3319/                      |
| Disclaimer: standard disclaimer applied                           |

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Timothy Buckele » Wed, 23 Dec 1998 04:00:00


Tom Bernett wrote:
> Hi,

> I've made progress in setting up a dial-up to the internet, but now
> I'm stuck and can't find the answer in the howto's, archives, etc.

> Using minicom, after login, I get the following:

>  Entering PPP Session.
>  IP Address is 207.172.xx.xx
>  MTU is 1006.

> So far so good, right?  But I'm not able to do anything from that
> point.  Can't ping servers, Netscape says   "... unable to locate the
> server."

> If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
> etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
> successful PPP connection.  But I don't know what to do next.

> After a minute or so, it times out and says No Carrier.

> Am I overlooking something really simple?

> Can anybody help?

> Tom

Tom,
Attached are my notes concerning a successful ISP connection.  Hope it
helps.
TimothyBuckelew

[ notes 7K ]
It took me a long time to get ppp to work.  In the end,
I was making one small error in sensing the strings being
sent out by my internet service provider.  The tipoff was
an "alarm" message from chat, the dialing program.

Included below are tips and one set of files with settings that work
with RedHat5.1.  Note this is just one way to go about it.
There may be setup programs that work better for you,
like netcfg and wvdial.  Advice often comes in the form,
"Just do this...", and beginners are stuck not knowing what happened
if it doesn't work.  The examples below may give some
depth of understanding.

You can modify files with an editor.  I like "joe", because it is
simple and self-explanatory; and you can move around with the
arrow keys.  Real programmers use vi.

==============================================================

First use a simple communications program to see how your
modem is responding and how your ISP performs:

minicom is helpful in ISP setup. I use this string to
start it, so that ALT commands will work: minicom -M

Initialize your modem with a simple command like AT&D2.
Your modem should respond with "OK".
Then call your ISP, with a command like, ATDT5551212

Using minicom I could see that this is what my modem says:

CONNECT 57600

After about 3 seconds my ISP outputs the following two lines:

** Ascend TNT Terminal Server **

login:

Then of course after I enter my name, it comes back with this:

Password:

Then I enter my password, exit Minicom with ALT-Z, Q, Yes
(just ALT-Q works, too.)

Next launch pppd with the script,

"pppd -d -detach /dev/modem 57600 &"

I have named it "pup" for "ppp up". In other works, put the
script in a file called "pup" in /usr/bin.  Give pup executable
permissions with the command, "chmod +x /usr/bin/pup")
==================================================================
/dev/modem should be a link to your proper ttySn.  It should look
like this in the directory, /dev:

lrwxrwxrwx   1 root     tty            10 Nov  7 23:29 modem -> /dev/ttyS1

You create it like this:
ln -s  /dev/ttyS1 modem

==================================================================
You can watch the results  of your attempts to connect,
on another xterm that is running

"tail -f /var/log//messages".
==================================================================
Then I launch netscape, telnet, ping, or whatever, and it works fine.
The connect speed, 57600, seems to be OK. I get consistent
40000+ (sometimes 50000) bps transfer rates with a ThunderLink
(a WHAT?) v.90 modem.   Nice.

=================================================================
This is the output from
tail -f /var/log/messages     upon SUCCESSFUL minicom login:

Nov 28 11:40:18 localhost pppd[744]: pppd 2.3.3 started by root, uid 0
Nov 28 11:40:18 localhost pppd[744]: Using interface ppp0
Nov 28 11:40:18 localhost pppd[744]: Connect: ppp0 <--> /dev/modem
Nov 28 11:40:21 localhost pppd[744]: local  IP address 209.6.64.43
Nov 28 11:40:21 localhost pppd[744]: remote IP address 10.220.10.116

==================================================
Now for the automatic way.
Here are the successful ppp files:
=====================================================

Here is my ppp-on. Put it in /usr/sbin  so that it can be executed
from any directory.  Give it permissions as follows:
chmod 755 /usr/sbin/ppp-on  

#!/bin/sh
#

TELEPHONE=555-1212      #fake
ACCOUNT=aqua            #Use your own
PASSWORD=xxxxxxxx       #fake; put your real password here
LOCAL_IP=0.0.0.0        #
REMOTE_IP=0.0.0.0       #
NETMASK=255.255.255.0   #
#
export TELEPHONE ACCOUNT PASSWORD
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS1 57600 \
        asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
        noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT &

==========================================================

Here is MY ppp-on-dialer.  Leave it in /etc/ppp and give it the
same executable permissions  (i.e., chmod 755 /etc/ppp/ppp-on-dialer)
The ISP strings you will be sensing will be different from mine.

#!/bin/sh
exec chat -v                                            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              \rAT                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        "CONNECT 57600"   ''                            \
        "ver **"      ''                              \
        ogin:--ogin:    $ACCOUNT                        \
        assword:        $PASSWORD

=========================================================
Note that "ver **".  That is to sense the last few characters
of the line sent by the ISP, that reads
"** Ascend TNT Terminal Server **"   If your ISP is sending
lines other than "Login:" and "Password:", you may have
to deal with them similarly.
=========================================================
Here is the output from tail -f /var/log/messages for
the SUCCESSFUL ppp-on login:

Nov 28 13:02:19 localhost chat[1093]: expect (CONNECT 57600)
Nov 28 13:02:19 localhost chat[1093]: ^M
Nov 28 13:02:53 localhost chat[1093]: ATDT555-1212^M^M     [fake again]
Nov 28 13:02:53 localhost chat[1093]: CONNECT 57600
Nov 28 13:02:53 localhost chat[1093]:  -- got it
Nov 28 13:02:53 localhost chat[1093]: send (^M)
Nov 28 13:02:53 localhost chat[1093]: expect (ver **)
Nov 28 13:02:53 localhost chat[1093]: ^M
Nov 28 13:02:57 localhost chat[1093]: ^M
Nov 28 13:02:57 localhost chat[1093]:
Nov 28 13:02:57 localhost last message repeated 23 times
Nov 28 13:02:57 localhost chat[1093]: ** Ascend TNT Terminal Server **
Nov 28 13:02:57 localhost chat[1093]:  -- got it
Nov 28 13:02:57 localhost chat[1093]: send (^M)
Nov 28 13:02:57 localhost chat[1093]: expect (ogin:)
Nov 28 13:02:57 localhost chat[1093]: ^M
Nov 28 13:02:57 localhost last message repeated 2 times
Nov 28 13:02:57 localhost chat[1093]: login:
Nov 28 13:02:57 localhost chat[1093]:  -- got it
Nov 28 13:02:57 localhost chat[1093]: send (aqua^M)
Nov 28 13:02:57 localhost chat[1093]: expect (assword:)
Nov 28 13:02:57 localhost chat[1093]:  aqua^M
Nov 28 13:02:57 localhost chat[1093]: Password:
Nov 28 13:02:57 localhost chat[1093]:  -- got it
Nov 28 13:02:57 localhost chat[1093]: send (########^M)    [fake again]
Nov 28 13:02:57 localhost pppd[1092]: Serial connection established.
Nov 28 13:02:58 localhost pppd[1092]: Using interface ppp0
Nov 28 13:02:58 localhost pppd[1092]: Connect: ppp0 <--> /dev/ttyS1
Nov 28 13:03:02 localhost pppd[1092]: local  IP address 209.6.67.152
Nov 28 13:03:02 localhost pppd[1092]: remote IP address 10.220.10.119

==================================================
Here are the contents of my /etc/resolv.conf:

domain ultranet.com
nameserver 146.115.8.20
nameserver 146.115.8.19
==================================================
And here are the contents of my /etc/ppp/options:

0.0.0.0:
/dev/modem
lock
crtscts
defaultroute
asyncmap 0
mtu 576
mru 576

==================================================

To end the session, enter "ps ax" on an xterm, look for the
PID of the pppd, and kill it with "kill nnnn", where nnnn
is the PID.

(Alternatively, you can enter "killall pppd", or use the
furnished script, ppp-off.)

==================================================

Hope this helps somebody.  I know I have been helped many times
by newsgroup contributions.

Sincerely yours,

Timothy Buckelew

 
 
 

Connects, establishes a PPP Session, and then ........ nothing.

Post by Sorin Ghinesc » Mon, 04 Jan 1999 04:00:00


Hi,
how does your routing table look like?
( "netstat -r")

>Hi,

>I've made progress in setting up a dial-up to the internet, but now
>I'm stuck and can't find the answer in the howto's, archives, etc.

>Using minicom, after login, I get the following:

> Entering PPP Session.
> IP Address is 207.172.xx.xx
> MTU is 1006.

>So far so good, right?  But I'm not able to do anything from that
>point.  Can't ping servers, Netscape says   "... unable to locate the
>server."

>If I press enter, I get a line of garbage ( ~y} #.!}!}!} }8! etc. etc.
>etc.)   If I understand the HOWTO (Sect. 9.5), this indicates a
>successful PPP connection.  But I don't know what to do next.

>After a minute or so, it times out and says No Carrier.

>Am I overlooking something really simple?

>Can anybody help?

>Tom