*BSD News Article 78863


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.cc.nctu.edu.tw!news.ee.ntit.edu.tw!spring.edu.tw!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!enews.sgi.com!news.mathworks.com!uunet!in2.uu.net!news1.cle.ab.com!usenet
From: s21157@cle.ab.com
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help -- Unidirectional ppp (!?)
Date: 22 Sep 1996 22:32:42 GMT
Organization: Allen-Bradley Company, Inc.
Lines: 63
Distribution: inet
Message-ID: <524eqa$6gk@news1.cle.ab.com>
Reply-To: bruce.halco@ab.com
NNTP-Posting-Host: lr3m1.cle.ab.com
X-Newsreader: IBM NewsReader/2 v1.2.5

I checked the archives, and didn't see any reports of this particular behaviour.

I'm trying to connect to a host using user-mode ppp, dynamic IP
addressing.  I start ppp, enter term mode, dial and login manually 
(I havn't gotten to auto-login yet).  Type "ppp", the prompt changes 
from "ppp ON" to "PPP ON", the addresses show up in the routing
table.  I can ping my own reported address.  Sounds great, right?  If 
I ping the gateway address, I can see the modem lights blinking just
like they should (TXD-RXD, one second intervals), but ping never sees
the replies.  When I ^C ping, it reports 100% packet loss.  netstat -r
shows Opkts increasing, but not Ipkts (no surprise, I guess).  Eventually
(3 minutes I think, but I keep forgetting to time it) I get the message
"routed [49]: deleting route to interface tun0 (timed out)".  This message
gets repeated 3 minutes later.

Any ideas?  

Some particulars that might provide clues:

-------------------------------------------------
#netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
lp0*  1500  <Link>                             0     0        0     0     0
lo0   16384 <Link>                            38     0       38     0     0
lo0   16384 your-net    localhost             38     0       38     0     0
sl0*  552   <Link>                             0     0        0     0     0
tun0  1522  <Link>                             0     0      294     0     0
tun0  1522  130.151.128 130.151.128.228        0     0      294     0     0

-------------------------------------------------
#netstat -r

Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
halco            localhost          UGHS        0        0       lo0
localhost        localhost          UH          1        0       lo0
130.151.129.18   130.151.128.231    UH          0        0      tun0
224              localhost          US          0        0       lo0

---------------------------------------------
ppp.conf:

default:
  set device /dev/cuaa1
  set speed 38400
  disable lqr
  deny lqr
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT
\\T TIMEOUT 40 CONNECT"
----------------------------------------------

ppp.linkup:

MYADDR:
  add 0 0 HISADDR:


------------------------

Bruce Halco
Bruce.Halco@ab.com