From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 7E9631EF6B1; Thu, 13 Jun 2013 02:17:09 -0400 (EDT) Received: from jdc.jasonjgw.net (jdc.jasonjgw.net [59.167.198.218]) by befuddled.reisers.ca (Postfix) with ESMTPS id 9EDDC1EF08B for ; Thu, 13 Jun 2013 02:17:07 -0400 (EDT) Received: by jdc.jasonjgw.net (Postfix, from userid 1000) id BB4FC180941B3; Thu, 13 Jun 2013 16:17:00 +1000 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jasonjgw.net; s=mail; t=1371104220; bh=R6aDPvg6EEF0jAK91x5QQ5sNIy0W8wg4JJuJ34mqiXw=; h=Date:From:To:Subject:References:In-Reply-To; b=E/WfdtufTTmCbpLf4KSz+ISMlbBMpRkOP3Z08dUKSMo2ec9BOsFr4SL27ET2jq+AC +Vxc0QmDOxk18kNtDnVwI4T4Y53AODEtzhw2PqxzLgp/ik+aiSVjTTGIxsRTeemtkw Ini52XX+l8aLDqA8Py9SufMi394n5TSWxnoHZE0o= Date: Thu, 13 Jun 2013 16:17:00 +1000 From: Jason White To: speakup@linux-speakup.org Subject: Re: /etc/network/interfaces Message-ID: <20130613061700.GB12774@jdc.jasonjgw.net> References: <20130613034636.GA4788@Enterprise> <20130613060150.GA2090@gregn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130613060150.GA2090@gregn.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 06:17:09 -0000 Gregory Nowak wrote: > It's been a while since I had access to multiple networks. From what I > recall, each connection requires its own wlan0 configuration block > (I.E. you can't have multiple network configurations for the same wlan > interface). You also can't have multiple wlan0 interfaces defined at > the same time, or you'll get an error. > My recollection is that you can label the connections in the interfaces file, and then bring up the right connection manually with the ifup command. > My quick and dirty work around was to comment out the network I didn't > want to use, and to uncomment the one I did. If you don't want to play > with commenting and uncommenting your interfaces file every time you > want to connect to a different network, then wpasupplicant can be > configured to connect to multiple networks, and to prefer one over > another if they are both in range. Have a look at the wpa_supplicant, > and wpa_supplicant.conf man pages. Oh yes, and from what I recall, > wpasupplicant does integrate nicely with your interfaces file. It's the right tool to use for wireless networks, especially if they're using WPa 2, as they should be for security reasons.