[ninux-Firenze] Il koala ci ha lasciati

Leandro Noferini lnoferin at cybervalley.org
Tue Apr 8 18:34:29 CEST 2014


On Tue, Apr 08, 2014 at 10:06:31AM +0200, Leandro Noferini wrote:


> Appena ho modo sistemo un altro computer dello stesso genere e glielo porto.

Sono riuscito a mettere un altro computer al posto del defunto koala.

Il nuovo computer ha una sola scheda di rete così ho creato questo
/etc/network/interfaces

============================================================
auto eth0
iface eth0 inet static
        address 10.150.8.1
        netmask 255.255.255.0
        gateway 10.150.8.3

auto eth0.2
iface eth0.2 inet static
        vlan_raw_device eth0
        address 172.19.192.0
        netmask 255.255.0.0
============================================================

E ho cambiato di conseguenza il file di configurazione di olsr così:

============================================================
DebugLevel  0
IpVersion 4

Pollrate  0.025
FIBMetric "flat"

#RtTable 111
#RtTableDefault 112

UseNiit no
SmartGateway no

Hna4
{
        10.150.8.0 255.255.255.0
}

#Hna6
#{
#}

UseHysteresis no
TcRedundancy  2
MprCoverage 7

LinkQualityLevel 2
LinkQualityAlgorithm    "etx_ff"
LinkQualityAging 0.05
LinkQualityFishEye  1

# Don't remove olsrd_txtinfo from this file
# as this plugin is used by the Webinterface
# to display the OLSR Info
LoadPlugin "olsrd_txtinfo.so.0.1"
{
   PlParam     "port"   "2006"
   PlParam     "Accept"   "0.0.0.0"
}

LoadPlugin "olsrd_mdns.so.1.0.1"
{
 PlParam     "NonOlsrIf"  "eth0"
 PlParam     "MDNS_TTL"   "20"
 PlParam     "TTL_Check"  "true"
 PlParam     "Network_ID" "2"
 #PlParam     "FilteredHost" "192.168.0.1"
}


InterfaceDefaults {
   HelloInterval 3.0
   HelloValidityTime 125.0
   TcInterval 2.0
   TcValidityTime 500.0
   MidInterval 25.0
   MidValidityTime 500.0
   HnaInterval 10.0
   HnaValidityTime 125.0
}

Interface "eth0.2"
{
    Mode "mesh"

    # LinkQualityMult 192.168.0.1 0.5
    # LinkQualityMult default 0.8
}
============================================================

Ora mi mancano gli script 4olsr per vedere se la cosa funziona (ho cambiato
anche disco).

@Alessio: me li puoi mandare?

-- 
leandro
L'unica cosa che sappiamo del futuro
è che non ha alternative
http://6xukrlqedfabdjrb.onion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 465 bytes
Desc: Digital signature
URL: <http://ml.ninux.org/pipermail/firenze/attachments/20140408/e724ea35/attachment-0001.sig>


More information about the Firenze mailing list