From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 14:58:24 2011 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 F16B8106564A for ; Tue, 29 Nov 2011 14:58:24 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id B6DAB8FC12 for ; Tue, 29 Nov 2011 14:58:24 +0000 (UTC) Received: by qaea17 with SMTP id a17so2236143qae.13 for ; Tue, 29 Nov 2011 06:58:24 -0800 (PST) Received: by 10.224.210.70 with SMTP id gj6mr1392394qab.71.1322578703955; Tue, 29 Nov 2011 06:58:23 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id h9sm14192783qac.13.2011.11.29.06.58.21 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 06:58:22 -0800 (PST) Message-ID: <4ED4F30C.3080302@my.gd> Date: Tue, 29 Nov 2011 15:58:20 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4ED4D533.6020103@locolomo.org> <4ED4D6DA.9020604@locolomo.org> In-Reply-To: <4ED4D6DA.9020604@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: No network in mixed FBSD81/90 chroot environment 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: Tue, 29 Nov 2011 14:58:25 -0000 On 11/29/11 1:58 PM, Erik Nørgaard wrote: > On 29/11/2011 13:50, Erik Nørgaard wrote: >> Today I finished make build/install world/kernel in /mnt, and now I no >> longer have network access, interfaces are visible with ifconfig but >> no ip is set and can't be set from within the chroot environment. >> >> Is this to be expected? How do I get my network access back? > Should add: Network on the host FBSD81 system works fine. > When you chroot to your /mnt/ folder you're still using the 8.x kernel and thus the 8.x NIC drivers, with a 9.x userland. This might be your problem. What are you trying to achieve with this, a smooth 8.x -> 9.x transition ? You may want to, instead, install your 9.0 on a different machine (possibly a VM), then use dump on the filesystems to inject them properly on your new disk on the original machine. You should then be able to reboot on the new disk just fine.