From owner-freebsd-questions Wed Dec 24 09:59:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA20953 for questions-outgoing; Wed, 24 Dec 1997 09:59:56 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from citytel1.citytel.net (root@citytel1.citytel.net [204.244.99.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA20948 for ; Wed, 24 Dec 1997 09:59:52 -0800 (PST) (envelope-from kwoody@citytel.net) Received: from mybsd.net (citytelprct48.citytel.net [204.244.99.124]) by citytel1.citytel.net (8.8.8/8.8.5) with SMTP id JAA03393; Wed, 24 Dec 1997 09:58:05 -0800 (PST) Date: Wed, 24 Dec 1997 09:52:11 -0800 (PST) From: Kwoody X-Sender: kwoody@mybsd.net To: Brian Somers cc: freebsd-questions Subject: Re: Kernel messages. In-Reply-To: <199712232227.WAA15091@awfulhak.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 23 Dec 1997, Brian Somers wrote: > > Nope, the ``File exists'' is the text associated with errno EEXIST. > In this context it means that there's already an interface with the > given (via `set ifaddr') destination address. The `wrong ifa' > messages indicate that there's already an interface with the given > (via `set ifaddr') source address. I would guess this is becuase when ppp dials out during a cron job for mail, when there is no more mail I use kill -INT in the script to drop the connection, but all the routes remain in place. Is it ok for routes to remain afterwards? Or should they be deleted? > > Are you trying to run ppp from /etc/ttys without the -direct switch ? > This won't work as ppp daemonizes itself and init will then try to > respawn ppp. The result is loads of ppp processes - all failing to > run, and an unstable system that probably runs out of file descriptors > among other things. No, I run ppp from the command line manually. I think that getty's message may have been caused by me banging away on the keyboard in frustration just before all the vtty's logged out. > This sounds as if ppp was using up all the file descriptors. Was > there only a single ppp running or was there loads of them (all > spawned by init in /etc/ttys) ? Can you reproduce the problem ? Nope just one. Ive been back at 0820 of ppp for the last week so have not retrured to 1215. I know the odd occasion when I notice cron didnt work because ppp died and in the ppp.log is a mesasage about bad file descriptors. doesnt happen often though. > > I updated ppp on Dec 19 so that it exits in -auto mode if the > specified interface addresses are already configured. You may want > to get the latest version. Destination Gateway Flags Refs Use Netif Expire default 204.244.99.76 UGSc 0 4 tun0 127.0.0.1 127.0.0.1 UH 0 800 lo0 192.168 link#1 UC 0 0 192.168.0.2 0:c0:f0:b:8f:9b UHLW 1 13315 lo0 204.244.99.76 204.244.99.124 UH 1 0 tun0 this is what a netstat always shows after a ppp session done. All routes are still in place. Only thing that will change is the dynamically assiged IP and sometimes the gateway, depnding onwhich router I hit. Will this affect the lastest version of PPP when running in -auto mode? Or just the first time ppp is run in -auto? Should routes be deleted after a ppp session is done? thanks a bunch Brian. Keith.