From owner-freebsd-hackers Thu Nov 16 19:50:18 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA10299 for hackers-outgoing; Thu, 16 Nov 1995 19:50:18 -0800 Received: from madonna.ic.net (root@madonna.ic.net [152.160.131.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA10282 for ; Thu, 16 Nov 1995 19:50:09 -0800 Received: (from rob@localhost) by madonna.ic.net (8.6.12/8.6.9) id WAA03824; Thu, 16 Nov 1995 22:47:03 -0500 From: Rob Misiak Posted-Date: Thu, 16 Nov 1995 22:47:03 -0500 Message-Id: <199511170347.WAA03824@madonna.ic.net> Subject: Re: A few questions To: Timothy.Butkiewicz@wmich.edu Date: Thu, 16 Nov 1995 22:47:01 -0500 (EST) Cc: hackers@freebsd.org In-Reply-To: from "-=WireHead=-" at Nov 16, 95 04:01:04 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1194 Sender: owner-hackers@freebsd.org Precedence: bulk -=WireHead=- ("A few questions") wrote: > > 1) Using user PPP how do i pull out the dynamically assigned IP address > to save it in a file. > I connect on a fairly regular basis, about once a day. And would like to > yank my assigned IP address each time and save it to a file. After the connection is made, you can get the IP address from "ifconfig ppp0". Maybe pipe that to sed or awk. When I had a PPP connection like yours, I would get the IP address this way, nslookup it, and set the hostname this way in /etc/ppp/ip-up. > 2) While trying to compile some bsd(i?) based software i ran into some > problems with crypt. It is giving me some undefined errors relating to > "_crypt" Does freebsd handle a different methodology. I have DES in > action on this system. Try adding -lcrypt. > 3) and last. Is there a way to set up my machine to only deliver mail to > this machine. It is a solo system, only way out is through a PPP > connection and i would like to turn off internet mail processing so that > the users on this system can only send mail within and not get it routed > through the PPP link. Then just send mail to the username.. don't include the full address. Rob