Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 11:11:18 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        gary.jennejohn@freenet.de
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: How do I specify the static ip address in the kernel config?
Message-ID:  <20071023.111118.1683323910.imp@bsdimp.com>
In-Reply-To: <20071023175416.3eb6ac14@peedub.jennejohn.org>
References:  <20071023101935.GA77588@ci0.org> <20071023.072919.-1443242524.imp@bsdimp.com> <20071023175416.3eb6ac14@peedub.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20071023175416.3eb6ac14@peedub.jennejohn.org>
            Gary Jennejohn <gary.jennejohn@freenet.de> writes:
: On Tue, 23 Oct 2007 07:29:19 -0600 (MDT)
: "M. Warner Losh" <imp@bsdimp.com> wrote:
: 
: > In message: <20071023101935.GA77588@ci0.org>
: >             Olivier Houchard <mlfbsd@ci0.org> writes:
: > : On Mon, Oct 22, 2007 at 04:47:33PM -0400, rtos wrote:
: > : > Hi,
: > : > 
: > : > This is how I boot my NetBSD board and would like to do the same for FreeBSD. 
: > : > Does FreeBSD have similar options.
: > : > 
: > : > options    NFS_BOOT_BOOTSTATIC
: > : > options    NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
: > : > options    NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
: > : > options    NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
: > : > options    NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
: > : > options    NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/exported/armrootfs\""
: > : > 
: > : > Thanks,
: > : > rtos
: > : 
: > : Hi,
: > : 
: > : I may be wrong, but I'm afraid there's no such options in FreeBSD. I've 
: > : always used BOOTP for this.
: > 
: > I saw this and thought it would make a good addition.
: > 
: 
: It would be even nicer if one could pass things like this on the command line
: a la Linux. But that's probably too much to expect w/o lots of kernel mods.

There's no command line for some of the boot loaders.  However, I
think that it could be done for 8.0.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071023.111118.1683323910.imp>