ppp-2.2 doesn't work whereas ppp2.1.2d works - why?

ppp-2.2 doesn't work whereas ppp2.1.2d works - why?

Post by J. Raghava » Fri, 06 Oct 1995 04:00:00



I got the new ppp package (ppp-2.2) and followed every instruction verbatim
as in the README.linux file.  Only the last step - loading the
optional module step was unclear to me and I skipped.  I then replaced
my pppd and chat programs in /usr/local/bin directory and ran the same
script which I always was able to run with the prior version of ppp,
i.e. pppd-2.1.2d.  I found out that I am able to connect but something
is wrong in the connection.  I am not able to telnet, or ping any
address.  Btw, I also recompiled my kernel - and the recompiled kernel
works.

My system specs:
486 DX 66MHz, 12M RAM, 14.4 Kbps modem - v.32 bis.
The log from /var/adm/messages is as follows.

At boot up time:
-------------------------------
Oct  2 22:40:31 hari kernel: Console: colour EGA+ 80x25, 1 virtual
console (max 63)
Oct  2 22:40:31 hari kernel: Calibrating delay loop.. ok - 33.55
BogoMips
Oct  2 22:40:31 hari kernel: Serial driver version 4.11 with no serial
options enabled
Oct  2 22:40:31 hari kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
Oct  2 22:40:31 hari kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
Oct  2 22:40:31 hari kernel: tty02 at 0x03e8 (irq = 4) is a 16550A
Oct  2 22:40:31 hari kernel: lp2 at 0x0278, using polling driver
Oct  2 22:40:31 hari kernel: hda: WDC AC31000F, 1033MB w/64KB Cache,
LBA, CHS=525/64/63,
MaxMult=16
Oct  2 22:40:31 hari kernel: hdb: QUANTUM LPS420A, 402MB w/98KB Cache,
CHS=1010/16/51, Ma
xMult=8
Oct  2 22:40:31 hari kernel: ide0: primary interface on irq 14
Oct  2 22:40:31 hari kernel: Floppy drive(s): fd0 is 1.44M
Oct  2 22:40:31 hari kernel: FDC 0 is a post-1991 82077
Oct  2 22:40:31 hari kernel: Memory: 11080k/12288k available (632k
kernel code, 384k rese
rved, 192k data)
Oct  2 22:40:31 hari kernel: This processor honours the WP bit even
when in supervisor mo
de. Good.
Oct  2 22:40:31 hari kernel: Swansea University Computer Society
NET3.019
Oct  2 22:40:31 hari kernel: Swansea University Computer Society
TCP/IP for NET3.019
Oct  2 22:40:31 hari kernel: IP Protocols: ICMP, UDP, TCP
Oct  2 22:40:31 hari kernel: PPP: version 2.2.0 (dynamic channel
allocation)
Oct  2 22:40:31 hari kernel: TCP compression code copyright 1989
Regents of the Universit
y of California
Oct  2 22:40:31 hari kernel: PPP Dynamic channel allocation code
copyright 1995 Caldera,
Inc.
Oct  2 22:40:31 hari kernel: PPP line discipline registered.
Oct  2 22:40:31 hari kernel: unregister_netdev: device 'ppp0' unlinked
Oct  2 22:40:31 hari kernel: unregister_netdev: device 'ppp1' unlinked
Oct  2 22:40:31 hari kernel: unregister_netdev: device 'ppp2' unlinked
Oct  2 22:40:31 hari kernel: unregister_netdev: device 'ppp3' unlinked
Oct  2 22:40:31 hari kernel: SLIP: version 0.8.3-NET3.019-NEWTTY (4
channels) (6 bit enca
psulation enabled)
Oct  2 22:40:31 hari kernel: CSLIP: code copyright 1989 Regents of the
University of Cali
fornia
Oct  2 22:40:31 hari kernel: Checking 386/387 coupling... Ok, fpu
using exception 16 erro
r reporting.
Oct  2 22:40:31 hari kernel: Checking 'hlt' instruction... Ok.
Oct  2 22:40:31 hari kernel: Linux version 1.2.13 (root@hari) (gcc
version 2.6.3) #4 Mon
Oct 2 21:42:51 EDT 1995
Oct  2 22:40:31 hari kernel: Partition check:
Oct  2 22:40:31 hari kernel:   hda: multiple mode turned off
Oct  2 22:40:31 hari kernel:   hda: hda1 hda2 hda3 hda4 < hda5 >
Oct  2 22:40:31 hari kernel:   hdb: multiple mode turned off
Oct  2 22:40:31 hari kernel:   hdb: hdb1 hdb2 hdb3
Oct  2 22:40:31 hari kernel: VFS: Mounted root (ext2 filesystem)
readonly.
Oct  2 22:40:31 hari kernel: Adding Swap: 22172k swap-space
Oct  2 22:40:35 hari kernel: Unable to identify CD-ROM format.
Oct  2 22:40:35 hari kernel: Unable to identify CD-ROM format.
-------------------------

When I dial in:

-----------------------
Oct  2 22:44:59 hari chat[116]: abort on (BUSY)
Oct  2 22:44:59 hari chat[116]: abort on (NO ANSWER)
Oct  2 22:44:59 hari chat[116]: abort on (NO DIALTONE)
Oct  2 22:44:59 hari chat[116]: abort on (NO CARRIER)
Oct  2 22:44:59 hari chat[116]: abort on (VOICE)
Oct  2 22:44:59 hari chat[116]: abort on (ERROR)
Oct  2 22:44:59 hari chat[116]: timeout set to 2 seconds
Oct  2 22:44:59 hari chat[116]: send (+\p+\p+\d^M)
Oct  2 22:45:00 hari chat[116]: expect (OK)
Oct  2 22:45:00 hari chat[116]: +++
Oct  2 22:45:02 hari chat[116]: alarm
Oct  2 22:45:02 hari chat[116]: send (AT^M)
Oct  2 22:45:02 hari chat[116]: expect (OK)
Oct  2 22:45:02 hari chat[116]: AT
Oct  2 22:45:02 hari chat[116]:  
Oct  2 22:45:02 hari chat[116]:  
Oct  2 22:45:02 hari chat[116]: OK -- got it
Oct  2 22:45:02 hari chat[116]: send (ATZ0^M)
Oct  2 22:45:02 hari chat[116]: timeout set to 60 seconds
Oct  2 22:45:02 hari chat[116]: expect (OK)
Oct  2 22:45:02 hari chat[116]:  
Oct  2 22:45:02 hari chat[116]:  
Oct  2 22:45:02 hari chat[116]: ATZ0
Oct  2 22:45:04 hari chat[116]:  
Oct  2 22:45:04 hari chat[116]:  
Oct  2 22:45:04 hari chat[116]: OK -- got it
Oct  2 22:45:04 hari chat[116]: send (AT&FS11=50&C1&D2%E3M0^M)
Oct  2 22:45:04 hari chat[116]: expect (OK)
Oct  2 22:45:04 hari chat[116]:  
Oct  2 22:45:04 hari chat[116]:  
Oct  2 22:45:04 hari chat[116]: AT&FS11=50&C1&D2%E3M0
Oct  2 22:45:05 hari chat[116]:  
Oct  2 22:45:05 hari chat[116]:  
Oct  2 22:45:05 hari chat[116]: OK -- got it
Oct  2 22:45:05 hari chat[116]: send (ATDT41,95580500^M)
Oct  2 22:45:05 hari chat[116]: expect (CONNECT)
Oct  2 22:45:05 hari chat[116]:  
Oct  2 22:45:05 hari chat[116]:  
Oct  2 22:45:05 hari chat[116]: ATDT41,95580500
Oct  2 22:45:28 hari chat[116]:  
Oct  2 22:45:28 hari chat[116]:  
Oct  2 22:45:28 hari chat[116]: CONNECT -- got it
Oct  2 22:45:28 hari chat[116]: send (\d\d^M^M)
Oct  2 22:45:30 hari chat[116]: expect (name>)
Oct  2 22:45:30 hari chat[116]:  57600

< stuff deleted  for brevity >

Oct  2 22:45:38 hari kernel: registered device ppp0
Oct  2 22:45:39 hari pppd[122]: pppd 2.2.0 started by kishore, uid 501
Oct  2 22:45:39 hari pppd[122]: Using interface ppp0
Oct  2 22:45:39 hari pppd[122]: Connect: ppp0 <--> /dev/cua2
Oct  2 22:45:39 hari pppd[122]: local  IP address 152.52.36.105
Oct  2 22:45:39 hari pppd[122]: remote IP address 152.52.36.14

-----------------------------
Trying to do a simple telnet gives this erros:

Oct  3 16:48:47 hari kernel: Problem: block on freelist at 003a440c
isn't free.
Oct  3 16:48:47 hari last message repeated 50 times
Oct  3 16:48:47 hari kernel: Problem: block on<6>Oct  3 16:48:47
kernel: Problem: block o
n freelist at 003a440c isn't free.
Oct  3 16:48:47 hari kernel: Problem: block on freelist at 003a440c
isn't free.
Oct  3 16:48:47 hari last message repeated 11 times
Oct  3 16:48:47 hari Oct  3 <6>Oct  3 16:48:47 kernel: Problem: block
on freelist at 003a
440c isn't free.
Oct  3 16:48:47 hari kernel: Problem: block on freelist at 003a440c
isn't free.
Oct  3 16:48:47 hari last message repeated 25 times
Oct  3 16:48:47 hari kernel: em: block on freelist at 003a440c isn't
free.

:
:
:

 and goes on and on....

The ppp dialing script:
----------------
#!/bin/sh
if [ -f /var/spool/uucp/LCK..cua2 ]
then
    echo "Another device has locked your Modem"
    exit 1
fi
(
    stty 38400 -tostop crtscts

    if chat -v -f /home/$USER/$1
    then
        pppd  /dev/cua2  &
        sleep 5
        exit 0
    else
        echo "PPP call failed" 1>&2
        exit 1
    fi
) < /dev/cua2 > /dev/cua2
----------------

The chat script file:
------------------
ABORT BUSY
ABORT 'NO ANSWER'
ABORT 'NO DIALTONE'
ABORT 'NO CARRIER'
ABORT VOICE
ABORT ERROR
TIMEOUT 2
"" "+\p+\p+\d"
OK-AT-OK ATZ0
TIMEOUT 60
OK AT&FS11=50&C1&D2%E3M0
OK ATDT41,98293560
CONNECT                 "\d\d\r"
name\>                  myname
word\>                  mystery
keys:                   5
-----------------

Can anyone tell what's going wrong here.  

The whole setup works on pppd-2.1.2d with kernel v. 1.2.13 (without
the new ppp stuff).

I appreciate your comments.

Jay

Article Unavailable

 
 
 

ppp-2.2 doesn't work whereas ppp2.1.2d works - why?

Post by Michael Nels » Fri, 06 Oct 1995 04:00:00


-> I got the new ppp package (ppp-2.2) and followed every instruction verbatim
-> as in the README.linux file.  Only the last step - loading the
-> optional module step was unclear to me and I skipped.  I then replaced
-> my pppd and chat programs in /usr/local/bin directory and ran the same
-> script which I always was able to run with the prior version of ppp,
-> i.e. pppd-2.1.2d.  I found out that I am able to connect but something
-> is wrong in the connection.  I am not able to telnet, or ping any
-> address.  Btw, I also recompiled my kernel - and the recompiled kernel
-> works.

        I ran ppp for about six months.  I had constant problems with it,
and it never worked reliably.  It greatly exceeded my tolerance for
fiddling.  I want to install it once and have it continue working.

        Since then I finally got fed up with it and switched to slip
instead. Now it's reliable as a stone axe, it was easy to configure and
set up using dip, and it seems to me to be just as fast as ppp, if not a
tad faster.

        So I wonder... is there a reason to prefer using ppp over slip,
assuming the other end supports both?

        Michael

--

San Francisco, CA                      

 
 
 

ppp-2.2 doesn't work whereas ppp2.1.2d works - why?

Post by Perry Gri » Tue, 10 Oct 1995 04:00:00


Did you do a "ifconfig" after you get the local and remote IPs?
It looks like you actually connected.  Ifconfig would (should)
show the loopback IP and the ppp0 connection.  Does any other
network application run (ping, Mosaic, etc)?

I'm not a network "guru". It looks like a telnet problem or perhaps
some basic network support was not built into the kernel properly.
I assumed you recompiled the kernel when switching from ppp-2.1.2
to ppp-2.2.  The ppp-2.2 docs do say to do this, and ppp-2.2 does
replace a module to two in the kernel source tree.  And you followed
every instruction verbatim...  Sorry, I'm running out of ideas.

I'm running kernel 1.2.13 with ppp-2.2 with success.  I have not
tried to telnet yet.  Primarily just Mosaic.

|> I got the new ppp package (ppp-2.2) and followed every instruction verbatim
|> as in the README.linux file.  Only the last step - loading the
|> optional module step was unclear to me and I skipped.  I then replaced
|> my pppd and chat programs in /usr/local/bin directory and ran the same
|> script which I always was able to run with the prior version of ppp,
|> i.e. pppd-2.1.2d.  I found out that I am able to connect but something
|> is wrong in the connection.  I am not able to telnet, or ping any
|> address.  Btw, I also recompiled my kernel - and the recompiled kernel
|> works.
|>
|> < stuff deleted  for brevity >
|>
|> Oct  2 22:45:38 hari kernel: registered device ppp0
|> Oct  2 22:45:39 hari pppd[122]: pppd 2.2.0 started by kishore, uid 501
|> Oct  2 22:45:39 hari pppd[122]: Using interface ppp0
|> Oct  2 22:45:39 hari pppd[122]: Connect: ppp0 <--> /dev/cua2
|> Oct  2 22:45:39 hari pppd[122]: local  IP address 152.52.36.105
|> Oct  2 22:45:39 hari pppd[122]: remote IP address 152.52.36.14
|> -----------------------------
|> Trying to do a simple telnet gives this erros:
|>
|> Oct  3 16:48:47 hari kernel: Problem: block on freelist at 003a440c
|> isn't free.
|> Oct  3 16:48:47 hari last message repeated 50 times
|> Oct  3 16:48:47 hari kernel: Problem: block on<6>Oct  3 16:48:47
|> kernel: Problem: block o
|> n freelist at 003a440c isn't free.
|> Oct  3 16:48:47 hari kernel: Problem: block on freelist at 003a440c
|> isn't free.
|> Oct  3 16:48:47 hari last message repeated 11 times
|> Oct  3 16:48:47 hari Oct  3 <6>Oct  3 16:48:47 kernel: Problem: block
|> on freelist at 003a
|> 440c isn't free.
|> Oct  3 16:48:47 hari kernel: Problem: block on freelist at 003a440c
|> isn't free.
|> Oct  3 16:48:47 hari last message repeated 25 times
|> Oct  3 16:48:47 hari kernel: em: block on freelist at 003a440c isn't
|> free.
|>
|> Jay
--


"I wouldn't have made it up if it wasn't true."

 
 
 

ppp-2.2 doesn't work whereas ppp2.1.2d works - why?

Post by Simon J DeBo » Wed, 11 Oct 1995 04:00:00


: I got the new ppp package (ppp-2.2) and followed every instruction verbatim
: as in the README.linux file.  Only the last step - loading the
: optional module step was unclear to me and I skipped.  I then replaced
: my pppd and chat programs in /usr/local/bin directory and ran the same
: script which I always was able to run with the prior version of ppp,
: i.e. pppd-2.1.2d.  I found out that I am able to connect but something
: is wrong in the connection.  I am not able to telnet, or ping any
: address.  Btw, I also recompiled my kernel - and the recompiled kernel
: works.

Okay I have an extremely different setup from Jay's, but am experiencing
very similar problems after upgrade.  

I am running an Amiga 3000 w/ NetBSD.  My errors are very similar...

        Simon

 
 
 

ppp-2.2 doesn't work whereas ppp2.1.2d works - why?

Post by brya » Sun, 15 Oct 1995 04:00:00


Telnet might not be the cause..

   I have this problem too.  Running v1.2.8, 1.2.13, 1.3.33, etc..  All of
em..  I Noticed that the system runs out of memory?  Completely?  Even
reboot does not work sometimes.  I noticed that the problem surfaces the
moment PPPD tries to fork and run "ip-up"?  I created a bogus ip-up and
tried again with no success.  I have tried exec'ing PPPD and running it as
a shell as the docs say to, with no success.  I serve 32 lines with a
Comtrol board and 32 megs or RAM with success using most any stable linux
version and PPP v2.1.2d or so..  The latest PPP does have a problem with
something, and it seems to be memory related.