From owner-freebsd-mobile@FreeBSD.ORG Sat Nov 19 04:26:52 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA69E16A41F for ; Sat, 19 Nov 2005 04:26:52 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id D994F43D46 for ; Sat, 19 Nov 2005 04:26:51 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 7828C215E for ; Fri, 18 Nov 2005 20:26:33 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "satchel.alerce.com", Issuer "Alerce Certificate Authority" (not verified)) by merlin.alerce.com (Postfix) with ESMTP id 3F17D2152 for ; Fri, 18 Nov 2005 20:26:33 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.1/8.13.1) with ESMTP id jAJ4Qnk0001060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 18 Nov 2005 20:26:49 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.1/8.13.1/Submit) id jAJ4Qm9L001056; Fri, 18 Nov 2005 20:26:48 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17278.43399.488090.348946@satchel.alerce.com> Date: Fri, 18 Nov 2005 20:26:47 -0800 To: FreeBSD-mobile list X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Subject: Release 6.0 laptop network interface configuration. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 04:26:52 -0000 I'm updating my IBM T42p (2379-DYU) from 5.3-BETA4 to 6.0. I have ath0 working by adding WPA and DHCP to an ifconfig_ath0 line in /etc/rc.conf. em0 almost works by putting DHCP into an ifconfig_em0 line (dhclient doesn't always die when I pull the cable, I had similar problems with fxp0 on an older sony, Brooks is helping with it). Here's my question: I'd like to be able to specify a general configuration (e.g. WPA and DHCP for ath0, DHCP for em0), but not have them come up automagically. I'm content running a command (I figure I'll eventually tie the command to buttons via acpi_ibm), and adding ifconfig_{ath,em}0 lines to /etc/rc.conf and running /etc/rc.d/netif start {ath0, em0} by hand seems to work. The problem is that I can't seem to keep all of the interfaces from automagically configuring. I've tried playing with setting network_interfaces="" and "lo0", but the others still come up. What's the 6.0 state of the art for setting up a laptop that runs around a lot? Thanks, g.