[Ninux-Wireless] Testing firmware eigennet con batman-adv >= 2013.0.0

Luca Postregna luca.postregna a gmail.com
Mar 14 Maggio 2013 20:41:07 CEST


un'altra cosa, se nella build dir ci metto un files/etc/config/eigennet
customizzato, posso lasciarli il suo bootmode a 2?


2013/5/14 Luca Postregna <luca.postregna a gmail.com>

> così va:
>
>                 case $devtype in
>
>                         "eth")
>
>                                 if [ $accept_clients -eq 1 ] && [
> $eth_clients -eq 1 ]
>                                 then
>
>                                 {
>
>                                         uci add_list
> network.clients.ifname=$device
>                                 }
>
>                                 fi
>
>
>
>                                 uci set network.$device=interface
>
>                                 uci set network.$device.ifname=$device
>
>                                 uci set network.$device.auto=1
>
>
>                                 if [ $eth_mesh -eq 1 ]
>                                 then
>
>                                 {
>                                         uci set
> network.$device.proto=batadv
>
>                                         uci set network.$device.mesh=bat0
>                                 }
>                                 else
>                                 {
>                                         uci set network.$device.proto=none
>
>                                 }
>                                 fi
>
>
> 2013/5/14 Luca Postregna <luca.postregna a gmail.com>
>
>> non funziona, con eth_mesh attivo la eth0 non viene aggiunta alla bat0.
>>
>> credo l'errore sia nel fatto che, essendo eth_clients attivo, lo script
>> non esegue mai l'esle di riga 288.
>>
>>
>> 2013/5/14 Gioacchino Mazzurco <gio a eigenlab.org>
>>
>>> On Tuesday 14 May 2013 15:18:34 Luca Postregna wrote:
>>> > Lo disabilito solo quando la mesh è disattiva e il client è attivo.
>>> Infatti
>>> > in questo caso eth0 è già nel bridge.
>>>
>>> in ogni caso e' meglio che sia attiva con il suo ipv6 link local se si
>>> impalla
>>> qualcosa nel bridge cosi' riesci comunque a entrarenel device
>>>
>>
>>
>>
>> --
>> luca.postregna.name
>> twitter.com/lucapost
>>
>
>
>
> --
> luca.postregna.name
> twitter.com/lucapost
>



-- 
luca.postregna.name
twitter.com/lucapost
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://ml.ninux.org/pipermail/wireless/attachments/20130514/ff255647/attachment-0001.html>


Maggiori informazioni sulla lista Wireless