From: "Lewis G Rosenthal" Received: from [192.168.100.201] (account lgrosenthal HELO [192.168.201.134]) by 2rosenthals.com (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 2876355 for ecs-t6x@2rosenthals.com; Mon, 14 Sep 2009 00:59:56 -0400 Message-ID: <4AADCDCA.7020005@2rosenthals.com> Date: Mon, 14 Sep 2009 00:59:54 -0400 Organization: Rosenthal & Rosenthal, LLC User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8.1.22) Gecko/20090704 MultiZilla/1.8.3.5g SeaMonkey/1.1.17 (PmW) MIME-Version: 1.0 To: eCS ThinkPad T60/61 Mailing List Subject: Re: [eCS T60/T61] Installing rc7 on T61 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/14/09 12:16 am, Jon thus wrote : > On Thu, 03 Sep 2009 22:46:54 -0400 Lewis G Rosenthal wrote: > >> I rarely have DHCP issues under OS/2. >> > > Having used static IP all these years with a hosts file defining which host has which IP I now find > that with dhcp on my T61 I cannot determine this info. > > When using dhcp is there an easy way to determine which host has the IP? > > Lucky for you, you're using OS/2. :-) host This works on Linux, as well (naturally), but not on Windows (naturally). Note that likely doing this on your own machine (looking up your own hostname) will result in a 127.0.0.1 response, as loopback replies first. :-) Alternatively, you may query your local DNS box (many DHCP-serving "routers" do local DNS), by using either nslookup or dig (you can get a recent build of dig from Hobbes; Ian Manners built the one I'm using). A handy nslookup routine, again assuming you have a local DNS server, is: nslookup > ls -d which should return a list of all records on the specified domain (assuming the server will allow the lookup; don;t expect to get a friendly reply, for example when running the above against google.com). You need to have a local domain name configured in the box for this to work, however, or it will not understand the -d request. That is, unless I have the ability to set a domain name (such as "myhome") in the box, I can't ask it to return the addresses for the local domain (because the domain won't be local to *it*). Sorry to talk in so many circles; it's like describing a painting: sometimes, you've just gotta see it. HTH -- Lewis ------------------------------------------------------------- Lewis G Rosenthal, CNA, CLP, CLE Rosenthal & Rosenthal, LLC www.2rosenthals.com Need a managed Wi-Fi hotspot? www.hautspot.com Secure, stable, operating system www.ecomstation.com -------------------------------------------------------------