From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 26 Nov 2005 21:15:27 -0800 From: Ray Amberg To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Network Configuration In-Reply-To: <32a656c20511251829h32ee5f30yd95dc15e39339a40@mail.gmail.com> Message-ID: References: <32a656c20511251829h32ee5f30yd95dc15e39339a40@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: b1f3bf44-ead0-11e9-9d60-3106f5b1d025 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 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 >