From owner-freebsd-hackers Thu Jun 12 02:36:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA19192 for hackers-outgoing; Thu, 12 Jun 1997 02:36:35 -0700 (PDT) Received: from smtp.enteract.com (qmailr@char-star.rdist.org [206.54.252.22]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA19185 for ; Thu, 12 Jun 1997 02:36:33 -0700 (PDT) Received: (qmail 5929 invoked from network); 12 Jun 1997 09:36:31 -0000 Received: from enteract.com (mrfoine@206.54.252.1) by char-star.rdist.org with SMTP; 12 Jun 1997 09:36:31 -0000 Date: Thu, 12 Jun 1997 04:36:31 -0500 (CDT) From: Wayne Baety To: Ari Suutari cc: "'Brian Somers'" , Mark Tinguely , "freebsd-hackers@FreeBSD.ORG" Subject: RE: /var/run/natd.pid request In-Reply-To: <01BC772D.7D5DBC60@ari.suutari@ps.carel.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 12 Jun 1997, Ari Suutari wrote: > Hi, > > On 12. kesakuuta 1997 11:41, Wayne Baety [SMTP:mrfoine@enteract.com] wrote: > > > > > > Well this is what i did a while back and needed the PID of natd....I think > > it requires procfs for the grepping of /proc thou.... I Just attached all > > of my cfg files for pppd..etc. Not sure if this was the best > > solution....but it worked for me. Also there is a script to return the > > pidof of a process by name....for the first match it prints just the PID > > but any other matches aren't parsed and status information is printed in > > the whole.....was a nice little script to get the PID of a named process > > quickly w/o using ps.....since at the time ps was crashing my -current. > > > > > > I browsed through your scripts: > > The reason why neither SIGHUP or -dynamic would work > for you is that you use -alias_address option. Dynamic features work > only if you give the name of interface (with -interface) option instead > of using -alias_address. > > Ari S. > I used -interface before and it wasnt working.....so I changed to specifying the alias_address my self and handling IP address changes myself....via pppd