9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] successful install, iffy setup
@ 2000-07-16 21:18 Colin DeVilbiss
  0 siblings, 0 replies; 2+ messages in thread
From: Colin DeVilbiss @ 2000-07-16 21:18 UTC (permalink / raw)
  To: 9fans

hi; I have successfully installed plan9v3 on a laptop in the past 2
days.

I have 3 questions:

1: how do I mount an ext2 filesystem?  I grok using /srv/dos for FAT
   filesystems, but I don't see a parallel for the ext2 side of things (I
   live in linux most of the time.)

2: is there a simple web browser for plan9? even an html viewer less
   complex than html2ms | troff | page or the like?

3: how do I get my network set up like I did in linux? I understand that it
   should be much simpler than it was for linux (1 file, etc), but I can't
   seem to make it work.

   I am behind a ip-masqueraded firewall, and our subnet is 192.168.0.xx
   (192.168.0.0 subnetmask 255.255.255.0).  our server/gateway (linux)
   is 192.168.0.1 internally.

   to deal with this in linux, I just do the following at boot time:

   ifconfig eth0 192.168.0.69         # my local address
   route add default gw 192.168.0.1   # all requests go through the server

   after that, everything just works under linux.

   I have gotten the first part done I think:

   ip/ipconfig ether /net/ether0 192.168.0.69

   but I don't see how to set up the gateway.

   the only relevant information in the linux config files as far as I
   know:

   /etc/resolv.conf:
   domain my.domain
   ns my.ns.1
   ns my.ns.2
   search search.1 search.2

   if someone could explain to me how to pattern-match the above into a
   working /lib/ndb/local and/or /rc/bin/termrc, I would much appreciate
   it.

thanks in advance for any help;
cat flames > /dev/null

-- 
Colin DeVilbiss
crdevilb@mtu.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] successful install, iffy setup
@ 2000-07-17  0:17 Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2000-07-17  0:17 UTC (permalink / raw)
  To: 9fans, crdevilb

  1: how do I mount an ext2 filesystem?  I grok using /srv/dos for FAT
     filesystems, but I don't see a parallel for the ext2 side of things (I
     live in linux most of the time.)

You need an ext2 server like dossrv.
Someone at the University of Paris wrote
one for the second edition, which I updated
slightly for the third edition.  Some people
have reported problems using it; I
run it only in read-only mode.  I'll put it
on my web page until they get a chance
to roll in my changes.  It's not in the
distributed tree.

  2: is there a simple web browser for plan9? even an html viewer less
     complex than html2ms | troff | page or the like?

Sadly, no.  I believe there's web work in very early stages.

  3: how do I get my network set up like I did in linux? I understand that it

ip/ipconfig -g 192.168.0.1 ether /net/ether0 192.168.0.69 255.255.255.0
will do the configuration you want.

	echo 'add 0 0 192.168.0.1' >/net/iproute
will do the same thing as the -g flag.

as for /lib/ndb/local, something like

	ipnet=net-192-168 ip=192.168.0.0  ipmask=255.255.0.0 ipsubmask=255.255.255.0

	ipnet=mynet ip=192.168.0.0 ipmask=255.255.255.0
		dns=my.ns.1
		dns=my.ns.2
		dnsdomain=search.1
		dnsdomain=search.2

should suffice.

Russ



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-17  0:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-16 21:18 [9fans] successful install, iffy setup Colin DeVilbiss
2000-07-17  0:17 Russ Cox

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).