Date: Fri, 16 Apr 2004 19:31:47 +0200 From: Remko Lodder <remko@elvandar.org> To: questions@freebsd.org Subject: Re: how do you switch between wireless networks? Message-ID: <40801883.9040804@elvandar.org> In-Reply-To: <20040416172354.GA751@mail.hitmedia.com> References: <20040416133326.GA80435@mail.hitmedia.com> <407FE506.3090405@elvandar.org> <20040416172354.GA751@mail.hitmedia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
BSD baby wrote: >>>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 <interface> ssid <ssidofwirelessnetwork> <ip> netmask <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? > dhclient $ifname ? (only i am not sure whether the sid gets caught, it might do it when the ssid is not hidden, but mostly the ssid is hidden (as it should), if you know that you can first ifconfig wi0 ssid <sidname> and then run dhcp or something.) Hope this helps a bit... -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40801883.9040804>