From owner-freebsd-questions Wed Jun 11 07:20:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA25701 for questions-outgoing; Wed, 11 Jun 1997 07:20:47 -0700 (PDT) Received: from FNAL.FNAL.Gov (SYSTEM@fnal.fnal.gov [131.225.110.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA25691 for ; Wed, 11 Jun 1997 07:20:45 -0700 (PDT) Received: from aduxb.fnal.gov ("port 47823"@aduxb.fnal.gov) by FNAL.FNAL.GOV (PMDF V5.0-8 #3998) id <01IJXWAK0EA2000BKZ@FNAL.FNAL.GOV>; Wed, 11 Jun 1997 09:20:38 -0600 Received: from localhost by aduxb.fnal.gov (5.x/SMI-SVR4) id AA24499; Wed, 11 Jun 1997 09:20:31 -0500 Date: Wed, 11 Jun 1997 09:20:30 -0500 (CDT) From: Richard Neswold Subject: Re: iijppp Connects, But...Nothing In-reply-to: <199706111349.JAA00687@ithaca> To: "Christopher J. Booth" Cc: questions@FreeBSD.ORG Reply-to: neswold@FNAL.GOV Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 11 Jun 1997, Christopher J. Booth wrote: > Yesterday I couldn't get iijppp to dial up at all. I couldn't see anything > amiss in the dial script, so this morning I scrubbed /etc/ppp/ppp.conf and > replaced it with a script from /et/ppp/ppp.conf/sample. (I still don't see > what was wrong....O, well....) > > Now ijjppp dials out, negotiates with the ISP, and connects. netstat -rn tells > me that I have lo0 and tun0 running. I cannot communicate with anything, > though. Even ping receives nothing (100% packet loss). Lynx, gopher, xgopher, > ftp, none can connect out. After a while I hear the tiny click of the modem > resetting and netstat -rn only shows lo0. > > Where might this problem lie? Do you have 'disable lqr' and 'deny lqr' in your config? I found that when lqr is enabled, there is a chance of losing the connection. Maybe your ISP slightly changed the login procedure and now you need 'set openmode active' added to the config... Really, you'll probably have to debug this yourself. Here are a few things you could do to identify the problem: 1) Put 'set debug phase' in your PPP configuration. This will add helpful messages to the ppp.log file. There are other options to the 'debug' setting, as well. Read the man pages if your interested in the other options. 2) Use 'netstat -b -I tun0 -w 1'. This command will, once a second, show the amount of traffic going through the tun0 device. 3) Use 'tcpdump -i tun0' to see what type of traffic is going through the interface. #1 will probably be the most useful in this case, but I've used #2 and #3 to diagnose ppp problems as well. Good luck! Rich ------------------------------------------------------------------------ Richard Neswold, Accelerator Div./Controls Dept | neswold@fnal.gov Fermilab, PO Box 500, MS 347, Batavia, IL 60510 | voice (630) 840-3454 'finger neswold@aduxb.fnal.gov' for PGP key | fax (630) 840-3093