On 11/26/05, Ray Amberg <[EMAIL PROTECTED]> 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 via email to