From owner-freebsd-bugs Thu Aug 15 11:20:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1D2537B400 for ; Thu, 15 Aug 2002 11:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D4343E6A for ; Thu, 15 Aug 2002 11:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7FIK2JU080966 for ; Thu, 15 Aug 2002 11:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7FIK2u9080965; Thu, 15 Aug 2002 11:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74BA937B400 for ; Thu, 15 Aug 2002 11:13:19 -0700 (PDT) Received: from lambda.foldr.org (lambda.foldr.org [198.78.66.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D3B243E72 for ; Thu, 15 Aug 2002 11:13:19 -0700 (PDT) (envelope-from vs@lambda.foldr.org) Received: from lambda.foldr.org (lambda.foldr.org [198.78.66.36]) by lambda.foldr.org (8.12.3/8.11.6) with ESMTP id g7FIDJgQ096004 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for ; Thu, 15 Aug 2002 20:13:25 +0200 (CEST) (envelope-from vs@lambda.foldr.org) Received: (from vs@localhost) by lambda.foldr.org (8.12.3/8.11.6/Submit) id g7FID8ff095861; Thu, 15 Aug 2002 20:13:08 +0200 (CEST) (envelope-from vs) Message-Id: <200208151813.g7FID8ff095861@lambda.foldr.org> Date: Thu, 15 Aug 2002 20:13:08 +0200 (CEST) From: Volker Stolz Reply-To: Volker Stolz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/41691: Combining WLAN-SSID & DHCP in rc.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41691 >Category: conf >Synopsis: Combining WLAN-SSID & DHCP in rc.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 15 11:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.5-RELEASE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD lambda.foldr.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Aug 12 20:33:20 PDT 2002 user@jail2.johncompanies.com:/usr/src/sys/compile/6300 i386 >Description: Currently there's no way of setting a preferred SSID for wireless NICs and asking for DHCP-setup in rc.conf. You can either configure the NIC manually using e.g. ifconfig_wi0="... ssid foo..." *or* set ifconfig_wi0 to DHCP and hope you end up in the correct network. >How-To-Repeat: Use two accesspoints to offer two different networks, enable DHCP in both and then try setting up your NIC correctly in rc.conf. >Fix: Add an option to rc.conf which gets queried before setting up the NIC and which contains the preferred SSID, e.g. ifconfig_wi0_ssid="foo" Modify /etc/rc.network accordingly. Another, more generic approach would be to have wicontrol_wi0="..." in rc.conf, which would allow for setting *any* parameter understood by wicontrol, including the SSID. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message