From owner-freebsd-net@FreeBSD.ORG Wed Dec 28 16:05:34 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6802216A41F for ; Wed, 28 Dec 2005 16:05:34 +0000 (GMT) (envelope-from jdkullmann@aliencamel.com) Received: from aliencamel.com (aliencamel.com [69.93.161.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B2E443D58 for ; Wed, 28 Dec 2005 16:05:27 +0000 (GMT) (envelope-from jdkullmann@aliencamel.com) X-Virus-Scanned: by both ClamAV and Kaspersky at http://aliencamel.com/ Received: from [67.81.216.207] (account jdkullmann@aliencamel.com) by aliencamel.com (CommuniGate Pro WebUser 4.2.10) with HTTP id 20075673 for freebsd-net@freebsd.org; Wed, 28 Dec 2005 16:05:10 +0000 From: "JK" To: freebsd-net@freebsd.org X-Mailer: CommuniGate Pro WebUser Interface v.4.2.10 Date: Wed, 28 Dec 2005 12:05:10 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Subject: 5.4 / 6.0 wi0 and dhcp with closed network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2005 16:05:34 -0000 I cannot get this to work at startup time on 5.4 On 6.0 I put ifconfig_wi0="ssid mynet DHCP" into /etc/rc.conf and that works. I end up on the closed 'mynet' network via a DHCP address. On 5.4 neither that line nor other combinations in /etc/rc.conf of ifconfig_wi0="DHCP" ifconfig_wi0="ssid mynet" dhclient wi0 work. I _can_ get up on 5.4 by booting and then manually doing ifconfig wi0 ssid mynet dhclient wi0 After dhclient receives the IP etc from the server the machine is up fine. How in the world do I do this in /etc/rc.conf ( or other files ) on 5.4 so it works automatically at startup time?