Thread (8 messages) flat view 8 messages, 2 authors, 2012-02-28

Re: [B.A.T.M.A.N.] Fwd: /lib/batman-adv/config.sh

From: Filippo Sallemi <hidden>
Date: 2012-02-28 08:06:44

Ok but i' dont wait for this. Hotplug was called when a new interface
is added. msh0 is no a real interface so when wlan0 is added I sleep 4
seconds and check if wlan0 is part o batman-adv interfaces.


Rgds


Il 28 febbraio 2012 06:44, Marek Lindner [off-list ref] ha scritto:
On Monday, February 27, 2012 20:42:58 Filippo Sallemi wrote:
quoted
Il 27 febbraio 2012 09:11, Marek Lindner [off-list ref] ha
scritto:
quoted
quoted
On Monday, February 27, 2012 01:49:44 Filippo Sallemi wrote:
quoted
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


-- 
Filippo Sallemi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help