From owner-freebsd-questions@FreeBSD.ORG Thu Dec 24 15:47:52 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 61D221065676 for ; Thu, 24 Dec 2009 15:47:52 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from snt0-omc2-s22.snt0.hotmail.com (snt0-omc2-s22.snt0.hotmail.com [65.55.90.97]) by mx1.freebsd.org (Postfix) with ESMTP id 361298FC14 for ; Thu, 24 Dec 2009 15:47:52 +0000 (UTC) Received: from SNT103-W26 ([65.55.90.72]) by snt0-omc2-s22.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Dec 2009 07:47:51 -0800 Message-ID: X-Originating-IP: [195.226.241.85] From: Marwan Sultan To: Date: Thu, 24 Dec 2009 15:47:51 +0000 Importance: Normal In-Reply-To: <20091224153544.d8485e6a.freebsd@edvax.de> References: , <20091224144648.cc5d8ba1.freebsd@edvax.de>, , <20091224153544.d8485e6a.freebsd@edvax.de> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Dec 2009 15:47:51.0791 (UTC) FILETIME=[735A9FF0:01CA84B0] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 15:47:52 -0000 Dear Poly=2C =20 /etc/resolv.conf and /etc/hosts and /etc/rc.conf are untouched. =20 The only problem that freebsd ignores the "defaultrouter" line in /etc/rc= .conf and just for the archives=2C kernel has been restored to default=2C but i have recompiled my kernel and its okay. =20 I will today use the ordiary freebsd update (csup) and see if this will f= ix what freebsd-update broke- and will update this list. =20 This is a lesson for me and everyone to never run freebsd-update on a cus= tom kernel system=2C however It shouldnot produce such problem. (i think) =20 Thank you =20 - Marwan Sultan System Administrator =20 > Date: Thu=2C 24 Dec 2009 15:35:44 +0100 > From: freebsd@edvax.de > To: dead_line@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: After freebsd-update - all went wrong. >=20 > On Thu=2C 24 Dec 2009 14:06:48 +0000=2C Marwan Sultan wrote: > > well=2C 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 >=20 > Is this possibly a spelling error? The setting in rc.conf > is defaultrouter=3D"..." - routeR. >=20 >=20 >=20 > > But eventho it shouldnot touch rc.conf right? >=20 > 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). >=20 >=20 > > my rc.local now has > >=20 > > route add default 66.xx.x.x > > ifconfig em0 66.xx.x.x netmask 255.255.255.255 alias >=20 >=20 >=20 > > If i take it off=2C system will not have any defaultroute > > anymore although its in rc.conf > >=20 > > defaultrouter=3D"66.xx.x.x" > > hostname=3D"xxxxxx.com" > > ifconfig_em0=3D"inet 66.xx.x.x netmask 255.255.255.0" >=20 > Your setting in rc.conf is spelled correctly (see above). >=20 > 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=3D"..." from rc.conf. >=20 > As far as I see=2C the settings in rc.conf are completely > valid=2C and should work. If this is still the "old" rc.conf > (that worked before)=2C the services activated in there > should be started=2C too... >=20 > 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? >=20 >=20 >=20 >=20 > --=20 > Polytropon > Magdeburg=2C Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe=2C Mousa=2C ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" =20 _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/=