From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] (no subject) From: rsc@plan9.bell-labs.com In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-mzbkmgghwlwkaxlifhbrrdmsgb" Date: Mon, 21 Apr 2003 15:08:27 -0400 Topicbox-Message-UUID: 941d7fc8-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-mzbkmgghwlwkaxlifhbrrdmsgb Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit OOPS. that was supposed to go to presotto. doh. --upas-mzbkmgghwlwkaxlifhbrrdmsgb Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Mon Apr 21 15:07:23 EDT 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Mon Apr 21 15:07:21 EDT 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 1022419B48; Mon, 21 Apr 2003 15:07:09 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from plan9.cs.bell-labs.com (ampl.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 45F6C199EC for <9fans@cse.psu.edu>; Mon, 21 Apr 2003 15:06:15 -0400 (EDT) Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Mon Apr 21 15:06:14 EDT 2003 Received: from 18.24.6.149 ([18.24.6.149]) by plan9; Mon Apr 21 15:06:11 EDT 2003 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] (no subject) From: "Russ Cox" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 21 Apr 2003 15:06:15 -0400 this is /rc/bin/termrc.local from my laptop. just a switch between a static ip address and whatever i can get from dhcp. a prompt to select which one would be fine. i used to do that. i can't configure the vmware dhcp server to give out a static address (at least, not easily) so i just do it myself. if(aux/isvmware){ ip/ipconfig -g 192.168.233.2 ether /net/ether0 192.168.233.51 255.255.255.0 echo ' dom=.localdomain' >> /net/ndb echo ' dns=192.168.233.2' >>/net/ndb echo 'add 0 0 192.168.233.2' >>/net/iproute } if not ip/ipconfig ether /net/ether0 --upas-mzbkmgghwlwkaxlifhbrrdmsgb--