9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Hooking a Plan9 Terminal to the Network
@ 2000-10-24  5:04 anothy
  2000-10-24 22:13 ` arisawa
  0 siblings, 1 reply; 5+ messages in thread
From: anothy @ 2000-10-24  5:04 UTC (permalink / raw)
  To: 9fans

in my local setup, i use the following to get around
ip/ipconfig not looking at the ndb files. it's a
small change to /bin/[cpu,term]rc :

	ndb/cs
	sysname=`{cat /dev/sysname}
	myip=`{ndb/query sys $sysname ip}
	ip/ipconfig ether /net/ether0 $myip 255.255.255.0 >/dev/null >[2=1]
	ndb/dns -r

and everything seems happy with this. this allows me
to share the files accross multiple machines. maybe
the subnet mask and gateway could be gotten via ndb,
but i've not tried that.
-α.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* [9fans] Hooking a Plan9 Terminal to the Network
@ 2000-10-19 16:42 Mark C. Otto
  2000-10-20 17:33 ` Mark C. Otto
  0 siblings, 1 reply; 5+ messages in thread
From: Mark C. Otto @ 2000-10-19 16:42 UTC (permalink / raw)
  To: 9fans

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

I need some hints checking out my 3COM 3C905-TX ethernet card or setting up my
/lib/ndb/local file.  The card passes the 3Com diagnostic tests. I used a

ether0=type=elnk3

in my plan9.ini file, and plan9 boots with it,

#l0: elnk3: 10Mbps port 0xFCC0 irq9: 0060083FF7AE

I get a

ndb/dns: can't read my ip address

error.

For now I am just trying to attach my terminal to our network.  I do not
have a cpu, file, or auth server yet.  I can use ndb/ipquery to get our dns
servers,
my ip address, domain, network, and gateway from the ether net address.

To see if the ether net worked, I tried telnet and traceroute to my linux box,

telnet net!bfbooby
telnet: connection timed out (connect 164.159.212.30!23)

ip/traceroute -d bfbooby
interrupted
*
interrupted
*
...

Are there other diagnostics to work on or should I be looking for a problem in
my /lib/ndb/local.  I attached my /lib/ndb/local and plan9.ini files.  Thanks.

Mark

P.S. I am suprised that ndb/ipquery is case sensitive (BFBooby isn't found but
bfbooby is.) when internet addresses aren't.

[-- Attachment #2: plan9.ini --]
[-- Type: text/plain, Size: 272 bytes --]

bootfile=sdC0!9fat!9pcdisk
#bootfile=fd0!9pcdisk.gz
bootdisk=local!#S/sdC0/fs
*nomp=1
distname=plan9
partition=new
monitor=multisync75
#vgasize=640x480x8
vgasize=1024x768x8
mouseport=ps2
#ether0=type=NE2000 nodummyrr
ether0=type=elnk3
debug=1









[-- Attachment #3: local --]
[-- Type: text/plain, Size: 957 bytes --]


#
#  files comprising the database, use as many as you like, see ndb(6)
#
database=
	file=/lib/ndb/local
	file=/lib/ndb/common

# Fish and Wildlife Service Network
ipnet=fwsnet ip=164.159.0.0
	ipmask=255.255.0.0
	ipsubmask=255.255.255.0
	dns=dns.irm.r9.fws.gov pref=1
	dns=pandion.er.usgs.gov  pref=2
	smtp=164.159.176.1
	dnsdomain=fws.gov
dom=dns.irm.r9.fws.gov ip=164.159.176.1
dom=pandion.er.usgs.gov ip=159.189.24.1

# MBMOLNET: With netmask of .192, for computers 0-63.  How can I have .91?
#	fs=bfbooby.irm.r9.fws.gov
ipnet=mbmolnet ip=164.159.212.0
	ipmask=255.255.255.0
	pop3=164.159.212.10
	dnsdomain=irm.r9.fws.gov
	dnsdomain=fws.gov

# My Dell 410 MTS workstation with Linux
ip=164.159.212.30 sys=bfbooby
	dom=bfbooby.irm.r9.fws.gov
	ipgw=164.159.212.62

# my first plan9 terminal
ip=164.159.212.91 sys=mbooby
	dom=mbooby.irm.r9.fws.gov
	dom=mbooby.fws.gov
	ipgw=164.159.212.126
	ether=0060083ff7ae





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

end of thread, other threads:[~2000-10-24 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-24  5:04 [9fans] Hooking a Plan9 Terminal to the Network anothy
2000-10-24 22:13 ` arisawa
  -- strict thread matches above, loose matches on Subject: below --
2000-10-19 16:42 Mark C. Otto
2000-10-20 17:33 ` Mark C. Otto
2000-10-20 19:18   ` Scott Schwartz

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