From owner-freebsd-current@FreeBSD.ORG Mon Dec 8 12:25:38 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7624516A4CE for ; Mon, 8 Dec 2003 12:25:38 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C94AC43D40 for ; Mon, 8 Dec 2003 12:25:36 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 179C672DBD; Mon, 8 Dec 2003 11:54:13 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 1503972DB8; Mon, 8 Dec 2003 11:54:13 -0800 (PST) Date: Mon, 8 Dec 2003 11:54:13 -0800 (PST) From: Doug White To: Chris Ochs In-Reply-To: <019a01c3bd10$beccb900$9e042804@chris2> Message-ID: <20031208115329.F15361@carver.gumbysoft.com> References: <00cc01c3bc93$d947c680$9e042804@chris2> <20031207131534.I7085@carver.gumbysoft.com> <019a01c3bd10$beccb900$9e042804@chris2> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: defaultrouter/static routes not picked up from /etc/rc.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 20:25:38 -0000 X-List-Received-Date: Mon, 08 Dec 2003 20:25:38 -0000 X-List-Received-Date: Mon, 08 Dec 2003 20:25:38 -0000 On Sun, 7 Dec 2003, Chris Ochs wrote: > Yes it was the spaces causing the problem. You know I've run freebsd for > what 6 years now and never knew spaces mattered in rc.conf. Its a shell script, and spaces count in variable names in the shell. I've made the same mistake since I'm used to just about any other language that allows it :) > > On Sat, 6 Dec 2003, Chris Ochs wrote: > > > > > I installed from the 5.2-beta iso two days ago, cvsup'd from current and > > > rebuilt everything. On boot up it configures the interfaces fine except > for > > > the default route and static routes, it say's that defaultrouter and > > > static_routes is not set. I set the defaultrouter and static routes in > > > /etc/defaults/rc.conf and it picks it up there just fine. Any ideas why > > > this happens? > > > > > > Here is my /etc/rc.conf > > > > > v try without spaces > > > defaultrouter ="63.236.114.1" > > > hostname="ic3.paymentonline.com" > > > ifconfig_bge0="inet 63.236.114.7 netmask 255.255.255.0" > > > ifconfig_bge1="inet 10.100.2.6 netmask 255.255.255.0" > > > > > > static_routes = "00" > > > route_00 = "10.100.0.0/16 10.100.2.1" > > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org