On Monday, February 27, 2012 20:42:58 Filippo Sallemi wrote:
Il 27 febbraio 2012 09:11, Marek Lindner lindner_marek@yahoo.de ha
scritto:
On Monday, February 27, 2012 01:49:44 Filippo Sallemi wrote:
Ok in this email my proposal patch. I've to sleep 4s if you have an ap + adhoc vifs.
[ "$(echo $interface | awk '$0 ~ /^wlan[0-9]*/')" ] && sleep 4s
For convenience I sleep only if an wlan was triggered. If you have only one interface in adhoc mode per radio 3 seconds are enought.
What if somebody calls his interfaces in a different way ? As you know the name can freely be chosen.
You can chose another name instead of wlan0 wlan0-1 wlan1 wlan1-1 eth0 eth1 ...?
Yes, you can. I thought you were doing it to after I saw your config:
config 'mesh' 'mesh' option 'interfaces' 'msh0'
msh0 does not look like wlanX at all, wouldn't you say so ?
Cheers, Marek