From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 08:50:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4CD616A469 for ; Wed, 4 Jul 2007 08:50:21 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 90B0813C45A for ; Wed, 4 Jul 2007 08:50:21 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by py-out-1112.google.com with SMTP id u77so4199907pyb for ; Wed, 04 Jul 2007 01:50:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=Oez645XXvWGaWBAneIic5E8soavT9fpnVyV6NHo0lN1NW0oJf/9A1J8hTYtengW7nbFAwosLi2cAng4PdBPrSo50cMwNWRvHNfZQaWR/hkeMHUjR4a8+dXPHQjn3WotHZDuV4kFQZFFymUDIBY1VBxcIBen8K/46rTKQV1dqjec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=n+X1pBe2V591aXgxLRSzmXrFNM02ssYTRk9SZZiF5uvct3Lp2WN/QBS9Rl8UxcxAT+Q/sUS40p/JzM7IX9uXb9Qqp1WSbu8BySa90wb7/p/QQ/L9+qmUSoyD3aEe6j/VE3UhAa1lGl26Hie/mchzTTDYqbIBxT4LoXYRgDE8sY8= Received: by 10.65.186.18 with SMTP id n18mr12530258qbp.1183539021180; Wed, 04 Jul 2007 01:50:21 -0700 (PDT) Received: from ?IPv6:::ffff:127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id h6sm10029406nfh.2007.07.04.01.50.20 (version=SSLv3 cipher=RC4-MD5); Wed, 04 Jul 2007 01:50:20 -0700 (PDT) From: Tom Evans To: Peter Boosten In-Reply-To: <468B374D.3020202@boosten.org> References: <20070704052737.GB40018@demeter.hydra> <468B374D.3020202@boosten.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YsSZ+33LOJPzSVHTNcSv" Date: Wed, 04 Jul 2007 09:50:18 +0100 Message-Id: <1183539018.1213.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: FreeBSD Questions Subject: Re: "late filesystems" and switching net configs 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: Wed, 04 Jul 2007 08:50:21 -0000 --=-YsSZ+33LOJPzSVHTNcSv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote: > Chad Perrin wrote: > > I have a couple of niggling little, er, "quirks" that I'd like to get > > sorted out on my FreeBSD Thinkpad. > >=20 > > 2. For some reason, if I use DHCP at all then want to switch back to = my > > static IP setup, I have to restart the computer to get it to access t= he > > Internet. I haven't been able to figure out why. If I recall > > correctly, I can switch to static IP on bge0 and access other systems > > on the network, but I can't do anything related to the Internet. Yes= , > > by the way, I am checking to make sure the contents of resolv.conf ar= e > > correct. > >=20 >=20 > Check your default gateway when switching from DHCP to static. IIRC a > /etc/rc.d/netif stop/start will recreate the default route. >=20 > Peter Not as I recall though. You will need to do a /etc/rc.d/routing restart if your default router changes. The only time you might not need it is when your routes are setup via DHCP. --=-YsSZ+33LOJPzSVHTNcSv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGi19GlcRvFfyds/cRAhIXAJ9i8ZHYAemuzqz0ki2zzp+74bo5+ACgrV9E 692JgW+yigm5mKGnw0UqvJI= =GNdV -----END PGP SIGNATURE----- --=-YsSZ+33LOJPzSVHTNcSv--