9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "James A. Robinson" <jim.robinson@stanford.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] New to Plan9
Date: Wed, 23 Aug 2000 08:29:25 -0700	[thread overview]
Message-ID: <200008231529.LAA29928@cse.psu.edu> (raw)
In-Reply-To: Message from Roy Miller <e_n_d_e_r@hotmail.com>  of "Wed, 23 Aug 2000 09:10:52 GMT."References: <8nuq17$cdm$0@216.155.62.83>  <8nuq17$cdm$0@216.155.62.83>

> Also, I can't seem to get the boot disk to work with any system I have
> (except my laptop.) It fr eezes right after it detects the hdds (or at
> least I think that's what it did.) 

Yes, I'm having the same problem. Jim McKie has been so kind as to offer
his help, and we plan to figure out what's going on in the next week or
so. I'll send updates if something is discovered.


> I'm new to Plan 9 and would like to know where to get some
> information. I've already downloaded the boot disk and distribution
> package, but I can't figure out how to configure it. I can't get rc to use
> a smaller font, I can't figure out to use ftp or nfs. I can't even figure
> out how to give my system a name.

I'm a bit confused about your message. In your message you say you
can't get the boot disk to work with any system you have. So what are
you trying to configure?

If your questions are about how to do such things on an installed system,
most answers can be found in the man pages. You can see an online version
at http://plan9.bell-labs.com/sys/man/. The papers also give a good high
level overview: http://plan9.bell-labs.com/sys/doc/.

You normally could edit your $home/lib/profile file to change the font
that rio(1) uses. You would use ftpfs(1) to mount a remote ftp site on
your local partition (mounted at /n/ftp, unless that's changed from the
2nd ed.). I don't about getting access to remote NFS --  I don't recall
seeing any such support.  I do know that you use u9fs(4) to serve files
off a unix box to the plan 9 machines.

For system name, DNS, etc., you need to edit the /lib/ndb/local file.  There
are lots of instructions given in the man pages and in "Getting Started With
Plan 9" http://plan9.bell-labs.com/sys/doc/start.html. Basically you'll
need to write out what your network is, and then specify the hosts. For
example (and note that while I have DNS working, there may be an error in
this since I have a questionable problem with ipconfig(1)), if I have the
machine spensa on a network in the building galvez on stanford campus,
what I've written is

ipnet=stanford-net ip=171.64.0.0 ipmask=255.255.0.0 ipsubmask=255.255.255.0
	dns=171.64.7.55
	dns=171.64.7.77
	dns=171.64.7.99
	ntp=time-a.stanford.edu
	ntp=time-b.stanford.edu
	ntp=time-c.stanford.edu
	dnsdomain=stanford.edu

ipnet=galvez-net ip=171.64.31.0 ipmask=255.255.255.0
	ipgw=171.64.31.1
	dns=171.64.249.100
	dns=171.64.31.74
	smtp=highwire.stanford.edu

ip=171.64.31.213 sys=spensa ether=00d0b7927b17
	dom=spensa.stanford.edu

I'm not positive of my logic for this configuration, but my reasoning
follows.  As you know, networks are assigned in the following ranges:
	0.0.0.0 to 127.255.255.255 are in Class A
	128.0.0.0 to 191.255.255.255 are in Class B
	192.0.0.0 to 223.255.255.255 are in Class C
Since networks starting with 171.64 are class B, I have to specify that
171.64.0.0 (stanford-net) should be split into class C subnets. The subnet
I'm on is 171.64.31.0 (galvez-net), and it has a gateway, dns, and smtp
servers that should be used. Under galvez-net is an actual host, in this
case spensa. I just specify the ip address, name, and ethernet address.
And the dom=spensa.stanford.edu tells it that stanford.edu is the domain.

Setting my ip address and stuff was more difficult. You use the program
ipconfig(1) (located in your path as ip/ipconfig), and if you have a DHCP
server you should be set.  I would swear that I had read in one of the
docs that ipconfig looked up one's ethernet address in /lib/ndb/local
and used that to set the network if it could find it. It may be that my
/lib/ndb/local is flawed, but ipconfig could not set my ip. I ended up
writing a small hack to set the ip, and I posted it a day or so ago.


Jim


  reply	other threads:[~2000-08-23 15:29 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e_n_d_e_r@hotmail.com>
2000-08-23  9:10 ` Roy Miller
2000-08-23 15:29   ` James A. Robinson [this message]
2000-08-24  8:35     ` Douglas A. Gwyn
2000-08-25 22:17       ` [9fans] browser again Matt Lawless
2000-08-25 23:37         ` Boyd Roberts
2000-08-26  1:27           ` Greg Earle
2000-08-26  2:25             ` Boyd Roberts
2000-08-26  9:55           ` Matt Lawless
2000-08-24 14:36   ` [9fans] Re: New to Plan9 M.Kollenaar
2000-08-23 14:29 [9fans] " Russ Cox
2000-08-26 20:23 ` Alexander Viro
2021-10-15 12:53 [9fans] New to plan9 joseph turco
2021-10-15 13:05 ` Sigrid Solveig Haflínudóttir
2021-10-15 14:07   ` sirjofri
2021-10-15 17:29     ` joseph turco
2021-10-15 17:45       ` Michael Misch
2021-10-15 18:36         ` joseph turco
2021-10-15 18:56           ` hiro
2021-10-15 21:00             ` joseph turco
2021-10-16 10:13               ` Keith Gibbs
2021-10-16 12:35                 ` Mart Zirnask
2021-10-16 14:08                   ` Conor Williams
2021-10-16 19:07                     ` joseph turco
2021-10-16 19:11                       ` hiro
2021-10-17 18:54                         ` antonio.fin
2021-10-18 16:26                           ` joseph turco
2021-10-19 17:46                             ` antonio.fin
2021-10-19 21:27                               ` Michael Misch
2021-10-20 15:50                                 ` joseph turco
2021-10-20 16:03                                   ` Sigrid Solveig Haflínudóttir
2021-10-20 16:46                                     ` joseph turco
2021-10-20 16:56                                       ` Sigrid Solveig Haflínudóttir
2021-10-20 17:06                                         ` joseph turco
2021-10-20 17:14                                           ` Sigrid Solveig Haflínudóttir
2021-10-20 18:44                               ` Skip Tavakkolian
2021-10-20 21:55                                 ` joseph turco
2021-10-16  2:45     ` vic.thacker
2021-10-15 15:54 ` smj

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=200008231529.LAA29928@cse.psu.edu \
    --to=jim.robinson@stanford.edu \
    --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).