/etc/network/interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at 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 at EU.org


[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux