How do I specify the static ip address in the kernel config?
M. Warner Losh
imp at bsdimp.com
Tue Oct 23 10:14:29 PDT 2007
In message: <20071023175416.3eb6ac14 at peedub.jennejohn.org>
Gary Jennejohn <gary.jennejohn at freenet.de> writes:
: On Tue, 23 Oct 2007 07:29:19 -0600 (MDT)
: "M. Warner Losh" <imp at bsdimp.com> wrote:
:
: > In message: <20071023101935.GA77588 at ci0.org>
: > Olivier Houchard <mlfbsd at 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
More information about the freebsd-arm
mailing list