9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "William Staniewicz" <wstan@planet.nl>
To: 9fans@cse.psu.edu
Subject: [9fans] dns not running
Date: Sat,  2 Dec 2000 11:30:13 +0100	[thread overview]
Message-ID: <20001202113013.A217@localhost.local> (raw)

Dns does not appear to be running.

I seem to have IP connectivity:

        term% ip-ping 195.121.1.34
 
        rtt 116334 ^B^us, avg rtt 116334 ^B^us, ttl = 252
        rtt 122158 ^B^us, avg rtt 119246 ^B^us, ttl = 252
        rtt 109938 ^B^us, avg rtt 116143 ^B^us, ttl = 252
        ...(this goes on for several lines)
 
        term% netstat -ni
 
        pkt0     1514  195.121.218.20   /128             193.172.249.11   0          0
        0      0

Also, /srv/dns is missing.

Here is my /rc/bin/termrc,


	#!/bin/rc -x

	# replace FILESERVER with the name of your file server
	# here we start with kfs, your local disk file system
	fileserver=kfs
	host=myhostname
	pass=mypassword
	# replace CPU with the name of your cpu server
	cpu=CPU
	# replace FACEDOM with the local domain to be used in the faces database
	facedom=FACEDOM

	# cs sets sysname
	ndb/cs
	sysname=`{cat /dev/sysname}

	# mount mail uncached
	mount -c /srv/boot /n/termrc.tmp
	bind -c /n/termrc.tmp/mail /mail
	unmount /n/termrc.tmp

	# start ethernet if any; ignore errors
	ip/ipconfig >/dev/null >[2=1]

	ndb/dns -r
	aux/timesync -rL

	switch($terminal){
	case carrera*
		bind -a '#t' /dev
	case *' ss'*
		/bin/bind -a '#w' /dev >/dev/null >[2=1]
		/bin/bind -a '#t' /dev >/dev/null >[2=1]
	case *' magnum'*
		/bin/bind -a '#m' /dev >/dev/null >[2=1]
		/bin/bind -a '#t' /dev >/dev/null >[2=1]
		aux/mouse -dC 0
	case *' indigo'*
		/bin/bind -a '#L' /dev >/dev/null >[2=1]
		/bin/bind -a '#w1' /dev >/dev/null >[2=1]
		/bin/bind -a '#t' /dev >/dev/null >[2=1]
		/bin/bind -a '#A' /dev >/dev/null >[2=1]
	case NCR* 'AT&TNSX'* generic* _MP_* 'alpha apc'*
		for(i in f t m L S)
			/bin/bind -a '#'^$i /dev >/dev/null >[2=1]
		for(disk in /dev/sd??) {
			disk/fdisk -p $disk/data >$disk/ctl >[2]/dev/null
			for(part in $disk/plan9*)
				if(test -f $part)
					disk/prep -p $part >$disk/ctl >[2]/dev/null
		}
		if(test -f /dev/mousectl){
			switch($mouseport){
			case ps2 ps2intellimouse 0 1 2
				aux/mouse $mouseport

				# parse vgasize into fields
				vgasize=`{echo $vgasize}

				if(! ~ $monitor '' && ! ~ `{cat /dev/user} none){
					aux/vga -l $vgasize
					# turn off hardware acceleration until you know it's ok.
					echo -n 'hwaccel off' >'#v/vgactl' >[2]/dev/null
				}
			}
		}
		if(test -f /dev/sd*/swap){
			x=(`{echo /dev/sd*/swap})
			swap $x(1) >/dev/null >[2=1]
		}
		if(test -f /dev/sd*/dos*){
			dossrv
			c:
		}
	}





             reply	other threads:[~2000-12-02 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-02 10:30 William Staniewicz [this message]
2000-12-03  1:16 Russ Cox
2000-12-03 20:52 ` Boyd Roberts
2000-12-04 17:28 ` William Staniewicz
2000-12-03 21:08 presotto
2000-12-03 21:27 ` Boyd Roberts
2000-12-03 21:32 presotto
2000-12-04 17:45 forsyth
2000-12-04 22:05 ` 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=20001202113013.A217@localhost.local \
    --to=wstan@planet.nl \
    --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).