From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] dns not running From: forsyth@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-sdsbsallwbfxfnfqvfmaphvzou" Message-Id: <20001204174116.86EEF19AE1@mail.cse.psu.edu> Date: Mon, 4 Dec 2000 17:45:28 +0000 Topicbox-Message-UUID: 359abfb2-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-sdsbsallwbfxfnfqvfmaphvzou Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit from the manual page Kill prints commands that will cause all processes called name and owned by the current user to be terminated. Use the send command of rio(1), or pipe the output of kill into rc(1) to execute the commands. it's not the same as unix. --upas-sdsbsallwbfxfnfqvfmaphvzou Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-2.mail.demon.net by mailstore for forsyth@vitanuova.com id 975951177:20:19725:1; Mon, 04 Dec 2000 17:32:57 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-2.mail.demon.net id aa2019121; 4 Dec 2000 17:32 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0F9FD19AE5; Mon, 4 Dec 2000 12:32:07 -0500 (EST) Received: from smtp06.wxs.nl (smtp06.wxs.nl [195.121.6.58]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id C633319AD9 for <9fans@cse.psu.edu>; Mon, 4 Dec 2000 12:31:48 -0500 (EST) Received: from [195.121.219.68] ([195.121.219.68]) by smtp06.wxs.nl (Netscape Messaging Server 4.05) with SMTP id G520OV00.56Y for <9fans@cse.psu.edu>; Mon, 4 Dec 2000 18:31:43 +0100 Received: (qmail 293 invoked by uid 1001); 4 Dec 2000 17:28:20 -0000 To: cse.psu.edu!9fans Subject: Re: [9fans] dns not running Message-ID: <20001204182820.A257@localhost.local> References: <20001203011634.2C821199EA@mail.cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20001203011634.2C821199EA@mail.cse.psu.edu>; from rsc@plan9.bell-labs.com on Sat, Dec 02, 2000 at 08:16:16PM -0500 Sender: cse.psu.edu!9fans-admin Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0 Precedence: bulk Reply-To: cse.psu.edu!9fans List-Help: List-Post: List-Subscribe: , List-Id: Fans of the O/S Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: Date: Mon, 4 Dec 2000 18:28:20 +0100 This worked very nicely and got dns running. However, how do I kill it off? When I use "kill dns" I get, echo kill >/proc/105/note Then when I check with "ps" ... it shows dns as still there. Note: In the past, to kill a process or app running in the window I simply "killed" the window with the mouse. I know this is probably not the right way to do things but it seems to have worked up to now. What is the right way to do it? Bill On Sat, Dec 02, 2000 at 08:16:16PM -0500, Russ Cox wrote: > Your problem is not that you're not running ip/ipconfig. > It is, as you point out, that dns does not start at boot. > This is by design -- no ip address, no dns. After using > ip/ppp to dial your ISP, you should start dns with ndb/dns -r > (perhaps set DNSSERVER too). When you're done, kill it off. > > One other thing: in order for this to work you need to > make the following change to /sys/src/libndb/dnsquery.c > > diff dnsquery.c odnsquery.c > 44c44 > < if(mount(fd, net, MBEFORE, "") < 0) > --- > > if(mount(fd, net, MAFTER, "") < 0) > > That's line 44, change MAFTER to MBEFORE. > > Then > cd /sys/src/libndb > mk install > mk clean > cd /sys/src/cmd/ndb > mk install > mk clean > > That will get you a new ndb/cs that will notice the new > dns once you start it. (That fix will be in the next > release.) > > Russ --upas-sdsbsallwbfxfnfqvfmaphvzou--