From owner-freebsd-questions@FreeBSD.ORG Thu Dec 24 14:35:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53B89106568D for ; Thu, 24 Dec 2009 14:35:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 13CA78FC20 for ; Thu, 24 Dec 2009 14:35:46 +0000 (UTC) Received: from r55.edvax.de (port-92-195-26-31.dynamic.qsc.de [92.195.26.31]) by mx02.qsc.de (Postfix) with ESMTP id A907D1E5C1; Thu, 24 Dec 2009 15:35:45 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nBOEZigM003897; Thu, 24 Dec 2009 15:35:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 24 Dec 2009 15:35:44 +0100 From: Polytropon To: Marwan Sultan Message-Id: <20091224153544.d8485e6a.freebsd@edvax.de> In-Reply-To: References: <20091224144648.cc5d8ba1.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: After freebsd-update - all went wrong. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 14:35:47 -0000 On Thu, 24 Dec 2009 14:06:48 +0000, Marwan Sultan wrote: > well, I have fixed problem two by installing back my custom kernel. > but the system still ignores the "defaultroute" command in rc.conf > this is why we have manuly added to the rc.local Is this possibly a spelling error? The setting in rc.conf is defaultrouter="..." - routeR. > But eventho it shouldnot touch rc.conf right? Correct. The rc.conf file is one of the few ones that shouldn't be in the scope of freebsd-update or mergemaster (if you update by source). > my rc.local now has > > route add default 66.xx.x.x > ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias > If i take it off, system will not have any defaultroute > anymore although its in rc.conf > > defaultrouter="66.xx.x.x" > hostname="xxxxxx.com" > ifconfig_em0="inet 66.xx.x.x netmask 255.255.255.0" Your setting in rc.conf is spelled correctly (see above). Could you try what happens if you start the inet subsystem manually (/etc/rc.d/netif and /etc/rc.d/routing)? The last one reads defaultrouter="..." from rc.conf. As far as I see, the settings in rc.conf are completely valid, and should work. If this is still the "old" rc.conf (that worked before), the services activated in there should be started, too... You could additionally check /etc/resolv.conf and /etc/hosts for any malformed entries. I think /etc/hosts could be altered / overwritten by freebsd-update? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...