From owner-freebsd-questions@FreeBSD.ORG Fri Apr 16 10:23:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACAEC16A4CE for ; Fri, 16 Apr 2004 10:23:56 -0700 (PDT) Received: from mail.hitmedia.com (mail.hitmedia.com [205.162.11.163]) by mx1.FreeBSD.org (Postfix) with SMTP id DACE443D41 for ; Fri, 16 Apr 2004 10:23:53 -0700 (PDT) (envelope-from bsdlap@hitmedia.com) Received: (qmail 1458 invoked by uid 0); 16 Apr 2004 17:23:54 -0000 Date: Fri, 16 Apr 2004 10:23:54 -0700 From: BSD baby To: Remko Lodder Message-ID: <20040416172354.GA751@mail.hitmedia.com> References: <20040416133326.GA80435@mail.hitmedia.com> <407FE506.3090405@elvandar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <407FE506.3090405@elvandar.org> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org Subject: Re: how do you switch between wireless networks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 17:23:56 -0000 > >I just got my wireless connection working with a new PCMCIA card. > >But I'm still naming the wireless network in my rc.conf file. (DHCP > >connection) > >But as I go to join other wireless DHCP networks around the world, > >what's the best way to switch to that network without rebooting to do it > >from rc.conf? > > ifconfig ssid netmask > should do that trick without rebooting. What I couldn't find in the handbook was how to do this for DHCP? If I don't know the IP or netmask, and want to let the DHCP server decide, how to I tell that to ifconfig?