You are not logged in.

#1 2008-09-17 11:42:18

Black Mage
Member
Registered: 2008-09-17
Posts: 32

netcfg - Fall back to any available network (W/A a profile) [solved]

to be more clear, what im trying to archive is that netcfg will first try to connect to my home network, and if fails maybe some other predifined networks that i use often, but if fails on all profiles it should try to connect to any network avaible.

is it possible? if so please tell me how, i tried a lot of combinations and documentation reading but found no solution
on bithe the stable netcfg and the one in testing.

thanks.

Last edited by Black Mage (2008-09-18 14:40:28)

Offline

#2 2008-09-17 19:38:19

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: netcfg - Fall back to any available network (W/A a profile) [solved]

I think you could do this: have a profile defined with SCAN=no and SECURITY=wpa-config. Then in your wpa_supplicant.conf file, you tell it to connect to the networks you most want, if it can (I think the setting for this is priority=N, with higher N being tried first), otherwise connect to any open network. With this setup, wpa_supplicant does all the work of checking for the different networks. You'd only have one netcfg profile, which passed off control to your wpa_supplicant.conf file.

Offline

#3 2008-09-18 14:35:43

Black Mage
Member
Registered: 2008-09-17
Posts: 32

Re: netcfg - Fall back to any available network (W/A a profile) [solved]

Thanks for the quick answer the "problem" was solved and it all worked.

Offline

Board footer

Powered by FluxBB