Date: Sun, 29 Aug 2004 23:32:18 +0200 (CEST) From: Wojciech Puchar <wojtek@tensor.3miasto.net> To: Steven Friedrich <FreeBSD@InsightBB.com> Cc: freebsd-questions@freebsd.org Subject: Re: finding the ip address Message-ID: <20040829233031.H12192@chylonia.3miasto.net> In-Reply-To: <200408291613.10585.FreeBSD@InsightBB.com> References: <200408291538.06836.FreeBSD@InsightBB.com> <200408291613.10585.FreeBSD@InsightBB.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I modifies your solution slightly, so I could use it for more interfaces > easily. > > ifconfig dc0 | grep inet|awk '{print $2}' > _______________________________________________ if your host use DHCP - you may add something to your dhclient.conf and make some script to record it's IP.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040829233031.H12192>