From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 15 Feb 2016 17:46:30 +0100 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20160215164630.GA353@polynum.com> References: <20160214162610.GA489@polynum.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [9fans] plan9.ini: ipconfig and bootargs Topicbox-Message-UUID: 848bb5ee-ead9-11e9-9d60-3106f5b1d025 Hello Erik, On Mon, Feb 15, 2016 at 07:41:37AM -0800, erik quanstrom wrote: > On Sun Feb 14 08:30:20 PST 2016, tlaronde@polynum.com wrote: > > Hello, > > > > When trying to re-install a Plan9 on a new node, being unable, with the > > kernel compiled present on the CDROM image, to access a FAT or an iso > > image of a root file system, I went to a combination of a minimal sketch > > of a plan9 slice, with a 9fat made "by hand" (from an already installed > > other OS---here NetBSD) and access at boot time a remote root > > filesystem, for the installation, serves by another Unix node serving > > 9P2000. > > > > The surprise is with the bootargs, in plan9.ini, supposed to configure > > the network for the node, in order to access a remote root filesystem, > > as in: > > > > fs=192.168.1.3 > > # auth not used > > auth=192.168.1.3 > > bootargs=tcp!-g 192.168.1.1 gbe 192.168.1.2 255.255.255.0 > > > > what is after the '!' being supposed to be args to ip/ipconfig. > > here's what i have on my cpu server > > nobootprompt=il -g 10.1.10.1 ether /net/ether0 10.1.1.1 /112 > > nobootprompt is equivalent to bootargs Yep (but since I was testing, I wanted the prompt and the ability to change with bootargs). But what kernel do you boot? Because, reading the various inst/* rc scripts, I gather that 9pcdisk is perhaps an "old" kernel (9pcf is used instead now) and this is perhaps I used this 9pcdisk kernel that the whole string is not correctly interpreted... -- Thierry Laronde http://www.kergis.com/ http://www.arts-po.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C