From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QPKGg-0006w5-DO for garchives@archives.gentoo.org; Wed, 25 May 2011 20:01:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD9181C0A8; Wed, 25 May 2011 19:59:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8EDDD1C0A8 for ; Wed, 25 May 2011 19:59:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1FFE31B403D for ; Wed, 25 May 2011 19:59:59 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -5.162 X-Spam-Level: X-Spam-Status: No, score=-5.162 required=5.5 tests=[AWL=1.437, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3BUoHDZU80Cx for ; Wed, 25 May 2011 19:59:52 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 1B79A66830 for ; Wed, 25 May 2011 19:59:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QPKF7-00044H-Lc for gentoo-user@gentoo.org; Wed, 25 May 2011 21:59:45 +0200 Received: from dsl.comtrol.com ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2011 21:59:45 +0200 Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2011 21:59:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: [OT] network discovery tools Date: Wed, 25 May 2011 19:59:32 +0000 (UTC) Message-ID: References: <871uzmwon0.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dsl.comtrol.com User-Agent: slrn/pre0.9.9-102 (Linux) X-Archives-Salt: X-Archives-Hash: 3a20f75dbacd68e355f195b83d063b42 On 2011-05-25, Harry Putnam wrote: > There must be a number of people who post here that have had to do > this problem. > > Discover the addresses of computers on a home network that have > connected by way of DHCP. For example: Several wireless connections. > > I've used static IPs for around 10 yrs, always seemed handier for > things like ssh between home lan computers. > > But recently started using DHCP for wireless connections. It must be > such a popular method for some reason. > > But when you do it that way, and say want to VNC or ssh or the like to > something connected by a dhcp serving WAP then how do you find the > address? The best thing to do is to use a DHCP server and DNS server that are "connected" somehow. Then hostnames "just work". Or you can statically assign IP addresses in the DHCP server so that DHCP clients always get hard-wired IP addresses that match up with the /etc/hosts file on the DNS server. I use OpenWRT for WAP, DNS, and DHCP, and it all pretty much "just works". When a DHCP client is assigned an IP address, the DNS server knows about it and you can access it by it's hostname just the way you would with a static setup. For various reasons, I assign static IP addresses to a number of devices, but I do it via the DHCP server's configuration, not by configuring each individual device. -- Grant Edwards grant.b.edwards Yow! Did an Italian CRANE at OPERATOR just experience gmail.com uninhibited sensations in a MALIBU HOT TUB?