9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ray Amberg <ramberg@cs.ucr.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Network Configuration
Date: Sat, 26 Nov 2005 21:15:27 -0800	[thread overview]
Message-ID: <Pine.LNX.4.63.0511262059110.13568@eon.cs.ucr.edu> (raw)
In-Reply-To: <32a656c20511251829h32ee5f30yd95dc15e39339a40@mail.gmail.com>

Thanks for the response.  I edited my /lib/ndb/local to look like this:
 	ip=10.50.50.94 ipsubmask=255.255.255.0
 		ipgw=10.50.50.1
 		dns=10.50.50.1

And here's the result of the commands suggested:
 	% ip/ipconfig -g 10.50.50.1 ether /net/ether0 10.50.50.94 
255.255.255.0
 	% ndb/dns -r
 	% ssh eon.cs.ucr.edu
 	ssh: dialing eon.cs.ucr.edu: cs: temporary problem: dns: dns 
failure

This error message occurs after a long pause.  I also still cannot ping 
the router.

On Sat, 26 Nov 2005, Vester Thacker wrote:

> On 11/26/05, Ray Amberg <ramberg@cs.ucr.edu> wrote:
>
>> Trying to make sense of the Network configuration wiki, I added the
>> following to my /lib/ndb/local file:
>>
>> ip=10.50.50.104  ipsubmask=255.255.255.0
>>         ipgw=10.50.50.1
>>         dns=10.50.50.1
>>
>> I manually put in 10.50.50.104, and have a feeling I shouldn't be doing
>> this.  In any case, the result was a failure.  The plan9 machine can ping
>> itself at 10.50.50.104, but can't ping 10.50.50.1.  DNS queries fail with
>> the error: dns: temporary failure.
>>
>> I tried looking through previous 9fans posts for ways to configure a
>> simple connection to a router, unsuccessfully.
>>
>> Would someone be so kind as to help me find a way to get the ethernet
>> card connected to the router, and hence, the internet?  Apologies again,
>> I'm not exactly sure what I'm doing.  Thanks for your time.
>
> I'd recommend choosing an address outside of the dhcp pool of
> addresses; for instance 10.50.50.94. Modify /lib/ndb/local to reflect
> the change. Add the following to either your termrc or cpurc
> configuration file:
>
>     ip/ipconfig -g 10.50.50.1 ether /net/ether0 10.50.50.94 255.255.255.0
>
> Review the termrc or cpurc configuration file and ensure the following
> is stated:
>
>     /ndb/dns -r
>
> For testing purposes, try modifying the /lib/ndb/local file as
> suggested then run the two commands before modifying any other files.
> If you can connect at that point then add the commands to your
> configuration.
>
> --vester
>


  reply	other threads:[~2005-11-27  5:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25 23:36 Ray Amberg
2005-11-25 23:57 ` Gabriel IVANES
2005-11-26  2:29 ` Vester Thacker
2005-11-27  5:15   ` Ray Amberg [this message]
2005-11-27 10:50     ` Vester Thacker
2005-11-27 21:57       ` Ray Amberg
2005-11-26  2:31 ` Federico Benavento
2005-11-27  5:22   ` Ray Amberg
2005-11-27  8:17     ` Federico Benavento
2005-11-27 22:00       ` Ray Amberg
2005-11-28 15:35         ` Ray Amberg
2005-11-28 15:38           ` Charles Forsyth
2005-11-28 16:00           ` andrey mirtchovski

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=Pine.LNX.4.63.0511262059110.13568@eon.cs.ucr.edu \
    --to=ramberg@cs.ucr.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).