From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <32a656c20511251829h32ee5f30yd95dc15e39339a40@mail.gmail.com> Date: Sat, 26 Nov 2005 11:29:25 +0900 From: Vester Thacker To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Network Configuration In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Topicbox-Message-UUID: b1b46dee-ead0-11e9-9d60-3106f5b1d025 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=3D10.50.50.104 ipsubmask=3D255.255.255.0 > ipgw=3D10.50.50.1 > dns=3D10.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