How do I specify the static ip address in the kernel config?
Gary Jennejohn
gary.jennejohn at freenet.de
Tue Oct 23 08:54:19 PDT 2007
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.
--
Gary Jennejohn
More information about the freebsd-arm
mailing list