From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id D326F1EF6B1; Thu, 13 Jun 2013 02:02:09 -0400 (EDT) Received: from linserver.gregn.net (linserver.gregn.net [IPv6:2001:470:d:6c5::1]) by befuddled.reisers.ca (Postfix) with ESMTPS id 80BAD1EF08B for ; Thu, 13 Jun 2013 02:02:07 -0400 (EDT) Received: from vbox.gregn.net (unknown [IPv6:2001:470:f156:201:5490:b9b7:517d:1170]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linserver.gregn.net (Postfix) with ESMTPSA id 7805A44041 for ; Wed, 12 Jun 2013 23:01:51 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gregn.net; s=default; t=1371103311; bh=DEjjEfKkksuZSGa/GYQV130zk+suAi74c/DGt9b43OI=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=ksPKY+qbfbq6bLlPPj+vs7/vqpe85nGgvVYxERtVwPGBLqCNlngt6KTizAXupYwDl 4n9TrxHEllnMBMELbrJnS/LiKN6eLkRYOuctnvKZxN4/Fu/gEJpjVU71Lgaz/Gz2el VmyvD0I1D06cQ5q9SJVdKv1rC7szvWMdUS/i9zns= Received: from greg by vbox.gregn.net with local (Exim 4.72) (envelope-from ) id 1Un0bW-0001Kb-PL for speakup@linux-speakup.org; Wed, 12 Jun 2013 23:01:50 -0700 Date: Wed, 12 Jun 2013 23:01:50 -0700 From: Gregory Nowak To: "Speakup is a screen review system for Linux." Subject: Re: /etc/network/interfaces Message-ID: <20130613060150.GA2090@gregn.net> References: <20130613034636.GA4788@Enterprise> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130613034636.GA4788@Enterprise> X-PGP-Key: http://www.gregn.net/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.97.6 at linserver X-Virus-Status: Clean 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:02:10 -0000 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 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. Greg On Wed, Jun 12, 2013 at 11:46:36PM -0400, Doug Smith wrote: > > > I have a couple of questions about /etc/network/interfaces. On this command line only debian testing system, I have found this to be really the only > effective way to configure networks. I have a question, though. > > If I put in stanzas for each connection we have here, an allow hotplug and then the interface info, will my ifup be able to connect to either of the > wireless networks depending on which one is in range or will it error out because there is more than one connection for the same wlan0 interface? > > > > Thanks. > > > > > -- > Doug Smith: Special Agent > S.W.A.T Spiritual Warfare and Advanced Technology > Forever serving our LORD and SAVIOUR, JESUS CHRIST. > > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > -- web site: http://www.gregn..net gpg public key: http://www.gregn..net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org