9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9 networking trouble.
@ 2000-06-20  8:46 altine
  2000-06-21  8:41 ` [9fans] " Bill Dodd
  0 siblings, 1 reply; 4+ messages in thread
From: altine @ 2000-06-20  8:46 UTC (permalink / raw)
  To: 9fans

        Hello All;

        I've installed Plan9 without much trouble, and I love it.
However I still did not get the networking done properly. I've read the
manuals, and old postings that dealt with the same problem, and created
a /lib/ndb/local accordingly but still could not succeed. This seems
like real problem.

        Here is my network: I have a standalone plan9 box with IP of
163.118.134.2 with fqdn of neron.se.fit.edu. we are in
163.118.134.0/255.255.255.0 network and the dns server for us is
163.118.5.4. the domain name for all the machines in 163.118.134.0
network is se.fit.edu.

        I've written the following /lib/ndb/local file:

database=
        file=/lib/ndb/local
        file=/lib/ndb/common

ip=163.118.134.2 ether=00A0C96C95DB sys=neron
        dom=neron.se.fit.edu
        proto=il

ipnet=se-fit-edu ip=163.118.134.0 ipmask=255.255.255.0
        ipgw=163.118.134.254
        dns=163.118.5.4

when the machine boots, I get:

ndb/dns: can't read my ip address. and I get no networking. My network
card is a eepro100 and during bootup it is recognized, and I've used
ip/ipconfig tool like ifconfig to up the interface, and successfully
telnetted out, but /lib/nds/local seems useless for my case.

        any ideas/help/recomendation appreciated.

        thanks.

        -C.Altineller


Sent via Deja.com http://www.deja.com/
Before you buy.


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

* [9fans] Re: plan9 networking trouble.
  2000-06-20  8:46 [9fans] plan9 networking trouble altine
@ 2000-06-21  8:41 ` Bill Dodd
  2000-06-21  9:34   ` Wladimir Mutel
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Dodd @ 2000-06-21  8:41 UTC (permalink / raw)
  To: 9fans


>>>>> "altine" == altine  <altine@ee.fit.edu> writes:

altine> when the machine boots, I get:

altine> ndb/dns: can't read my ip address. and I get no networking. My network
altine> card is a eepro100 and during bootup it is recognized, and I've used
altine> ip/ipconfig tool like ifconfig to up the interface, and successfully
altine> telnetted out, but /lib/nds/local seems useless for my case.

I was getting this error until I changed my ip/ipconfig line in termrc
to:

ip/ipconfig -D -g my_gw ether /net/ether0 add my_ip my_mask

One of the docs I read seemed to imply that ip/ipconfig should get that
info from /lib/ndb/local, but I never could get it to work without
including it explicitly in the ip/ipconfig command line.

-bill
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk


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

* [9fans] Re: plan9 networking trouble.
  2000-06-21  8:41 ` [9fans] " Bill Dodd
@ 2000-06-21  9:34   ` Wladimir Mutel
  0 siblings, 0 replies; 4+ messages in thread
From: Wladimir Mutel @ 2000-06-21  9:34 UTC (permalink / raw)
  To: 9fans

Bill Dodd <bdodd@austin.ibm.com> wrote:

> altine> ndb/dns: can't read my ip address. and I get no networking. My network
> altine> card is a eepro100 and during bootup it is recognized, and I've used
> altine> ip/ipconfig tool like ifconfig to up the interface, and successfully
> altine> telnetted out, but /lib/nds/local seems useless for my case.

> I was getting this error until I changed my ip/ipconfig line in termrc
> to:

> ip/ipconfig -D -g my_gw ether /net/ether0 add my_ip my_mask

> One of the docs I read seemed to imply that ip/ipconfig should get that
> info from /lib/ndb/local, but I never could get it to work without
> including it explicitly in the ip/ipconfig command line.

	Same had I. Except I also tried to run dhcpd on local host before
	running ipconfig (to get ip configuration from dhcpd on my own host).
	I end up with editing ipconfig command line in termrc by hands too.

--
mwg@alkar.net


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

* Re: [9fans] Re: plan9 networking trouble.
@ 2000-06-21 15:51 tad
  0 siblings, 0 replies; 4+ messages in thread
From: tad @ 2000-06-21 15:51 UTC (permalink / raw)
  To: bdodd, 9fans

If you go to http://www.csh-east.org/~tad/plan9, you'll find a script
called ``netconfig'' and an example /lib/ndb/local file that you can use to
maybe ease the setup.  In /rc/bin/termrc, replace the call to ip/ipconfig with
a call to netconfig, which will prompt you for DHCP or a system name from
the ndb database.

The example /lib/ndb/local file is the configuration I use on my laptop,
which roams between work (DHCP), and home, connected to the Lucent
intranet.

When I boot my laptop at work, I pick the default (DHCP), and when
I boot at home, I enter "think" at the "system name" prompt.

-Tad


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

end of thread, other threads:[~2000-06-21 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-20  8:46 [9fans] plan9 networking trouble altine
2000-06-21  8:41 ` [9fans] " Bill Dodd
2000-06-21  9:34   ` Wladimir Mutel
2000-06-21 15:51 tad

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