9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] dns not running
Date: Mon,  4 Dec 2000 17:45:28 +0000	[thread overview]
Message-ID: <20001204174116.86EEF19AE1@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

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.


[-- Attachment #2: Type: message/rfc822, Size: 3427 bytes --]

To: cse.psu.edu!9fans
Subject: Re: [9fans] dns not running
Date: Mon, 4 Dec 2000 18:28:20 +0100
Message-ID: <20001204182820.A257@localhost.local>

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

             reply	other threads:[~2000-12-04 17:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-04 17:45 forsyth [this message]
2000-12-04 22:05 ` William Staniewicz
  -- strict thread matches above, loose matches on Subject: below --
2000-12-03 21:32 presotto
2000-12-03 21:08 presotto
2000-12-03 21:27 ` Boyd Roberts
2000-12-03  1:16 Russ Cox
2000-12-03 20:52 ` Boyd Roberts
2000-12-04 17:28 ` William Staniewicz
2000-12-02 10:30 William Staniewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001204174116.86EEF19AE1@mail.cse.psu.edu \
    --to=forsyth@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).