Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 1996 00:19:01 -0800 (PST)
From:      EZ Travel <ez@eztravel.com>
To:        questions@freebsd.org
Subject:   PPPD -> is this a zombie or what?
Message-ID:  <199601260819.AAA00195@eztravel.com>

next in thread | raw e-mail | index | archive | help
I'm trying to setup netscape on win31 to dial into my home computer on
/dev/ttyd1.  I setup the getty and it seems to be working okay as I'm
getting a login: prompt and after logging on a ppp session is starting.

Initially, it wasn't working and I thought the problem was DNS related,
but it was a GATEWAY problem.  I added options "GATEWAY" to my kernel
and did a recompile and it seems to work fine now.

now my problem is netscape has a bug where it automatically disconnects
after a couple of minutes - even if I select 15 min of inactivity or
don't disconnect.  But it works great for the 2 minutes I have it
working! :))

After a disconnect, the port is hung and a kill command won't remove 
the processes associated with the previously disconnected ppp session.
Here's a sample of the output from the ps command:

***************output from ps command********************
  PID TT  STAT      TIME COMMAND
  150 v0  Is+    0:00.02 /usr/libexec/getty Pc ttyv0
  151 v1  Is+    0:00.40 -csh (csh)
  485 v2  Is+    0:00.03 /usr/libexec/getty Pc ttyv2
  153 v4  Is+    0:00.03 /usr/libexec/getty Pc ttyv4
  154 v5  Is+    0:00.03 /usr/libexec/getty Pc ttyv5
  155 v6  Is+    0:00.03 /usr/libexec/getty Pc ttyv6
  156 v7  Is+    0:00.02 /usr/libexec/getty Pc ttyv7
  157 v8  Ss     0:00.50 -csh (csh)
  551 v8  R+     0:00.01 ps
  158 v9  Is     0:00.40 -csh (csh)
  164 v9  S+     0:21.61 ppp
  372 d1- IEs+   0:00.16  (pppd)
  381 d1- IE+    0:00.05 /bin/sh /etc/ppp/ip-up ppp0 /dev/ttyd1 9600 205.179.24
****************end of ps command output

A kill -9 381 372 doesn't kill off these processes?

Also, process id shows a /etc/ppp/ip-up command running, but there isn't
a command by this name in the /etc/ppp directory? Is this normal? Man
ip-up doesn't show anything.

I'd like the process to just go away if there's a sudden disconnect.
I can't imagine having to reboot to clear this up each time it happens
the best approach.

Other info that might be helpful:

****************output from ifconfig -a command******************
lp0: flags=810<POINTOPOINT,SIMPLEX> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1522
	inet 205.179.24.1 --> 205.179.24.100 netmask 0xffffff00 
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
	inet 0.0.0.0 --> 0.0.0.0 netmask 0x0 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=51<UP,POINTOPOINT,RUNNING> mtu 1006
	inet 205.179.24.1 --> 165.227.2.100 netmask 0xffffff00 
tun1: flags=10<POINTOPOINT> mtu 1500
**************end of ifconfig -a ouyput**************************

****************output from netstat -nr command******************
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          165.227.2.100      UGSc        2       11      tun0
127.0.0.1        127.0.0.1          UH          1       14       lo0
165.227.2.100    205.179.24.1       UH          3        0      tun0
205.179.24.1     127.0.0.1          UGHS        0        0       lo0
205.179.24.100   205.179.24.1       UH          1       11      ppp0

***************end of output from netstat -nr command***********

Thanks for any info in advance.

Bob Beaulieu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601260819.AAA00195>