On 09/11/2011 02:09 PM, Erich Titl wrote:
> Hi Folks
>
> In my attempt to build a wifi connected router I am facing a little
> problem definig my wifi based uplink
>
> right now I have defined
>
> #auto wlan0
> iface wlan0 inet dhcp
>
> As soon as I call ifup on the interface, dhcp tries to get an address
> and waits for the carrier, e.g. the prompt does not return. Basically
> that is what I want, only I would like to scan for available networks
> first, then select a certain network, get connected and then start the
> dhcp daemon.
>
> Is this feasible at all with ifup or do I have to write my own?
>
> Thanks
>
> Erich
Yes, use map and a script to scan for different conditions.

then you can use
ifup wlan0=wlan0-net1
ifup wlan0=wlan0-net2

or just
ifup wlan0

see

http://manpages.ubuntu.com/manpages/hardy/man5/interfaces.5.html

https://help.ubuntu.com/community/WifiDocs/WiFiHowTo#Automatic_WLAN_Picker_Script

Remember wpa_supplicant.conf

/Per

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to