[Ninux-Wireless] OLSR su PfSense

Michele Salerno mikysal78 a gmail.com
Dom 2 Nov 2014 11:55:59 CET


*** olsr.org -  0.6.3-git_-hash_ ***
 Build date: 2012-12-20 18:58:10 on packages-8_3-i386.builders.pfsense.org
 http://www.olsr.org

Parsing file: "/var/etc/olsr.conf"
Debug level: 2
IpVersion: 4
Clear screen enabled
Config line 30: syntax error
Error while reading config file /var/etc/olsr.conf!


facendo un cat -n | grep 30
la riga interessata è
    30          10.27.0.0/255.255.255.0

Hna4
{
10.27.0.0/255.255.255.0
0.0.0.0 0.0.0.0
}

qui ho capito che non vuole la / ma uno spazio, di default inserisce anche
0.0.0.0 che indica la presenza di internet...ok!


Il nuovo output è questo
############################################
*** olsr.org -  0.6.3-git_-hash_ ***
 Build date: 2012-12-20 18:58:10 on packages-8_3-i386.builders.pfsense.org
 http://www.olsr.org

Parsing file: "/var/etc/olsr.conf"
Debug level: 2
IpVersion: 4
Clear screen enabled
HNA IPv4 entry: 10.27.0.0/255.255.255.0
HNA IPv4 entry: 0.0.0.0/0.0.0.0
Noint set to 1
        IPC host: 127.0.0.1
Hysteresis disabled
Link quality level 2
Pollrate 0.05
TC redundancy 2
MPR coverage 3
Plugin: /usr/local/lib/olsrd_httpinfo.so.0.1
Plugin param key:"port" val: "8069"
Plugin param key:"Net" val: " "
setting ifs_in_curr_cfg = 0
        HELLO interval: 2.00
        HELLO validity: 20.00
        TC interval: 5.00
        TC validity: 30.00
        MID interval: 5.00
        MID validity: 30.00
        HNA interval: 5.00
        HNA validity: 30.00
setting ifs_in_curr_cfg = 0
        HELLO interval: 2.00
        HELLO validity: 20.00
        TC interval: 5.00
        TC validity: 30.00
        MID interval: 5.00
        MID validity: 30.00
        HNA interval: 5.00
        HNA validity: 30.00
        IPv4 broadcast/multicast : AUTO
        Mode           : mesh
        IPv6 multicast           : ::
        HELLO emission/validity  : 2.00 (d)/20.00 (d)
        TC emission/validity     : 5.00 (d)/30.00 (d)
        MID emission/validity    : 5.00 (d)/30.00 (d)
        HNA emission/validity    : 5.00 (d)/30.00 (d)
        Autodetect changes       : no
        IPv4 broadcast/multicast : AUTO
        Mode           : mesh
        IPv6 multicast           : ::
        HELLO emission/validity  : 2.00 (d)/20.00 (d)
        TC emission/validity     : 5.00 (d)/30.00 (d)
        MID emission/validity    : 5.00 (d)/30.00 (d)
        HNA emission/validity    : 5.00 (d)/30.00 (d)
        Autodetect changes       : no
 *** olsrd configuration ***
Debug Level      : 2
IpVersion        : 4
No interfaces    : ALLOWED
TOS              : 0xc0
OlsrPort          : 698
RtTable          : 0
RtTableDefault   : 0
RtTableTunnel    : 0
Willingness      : 3
IPC connections  : 0
        Host 127.0.0.1
Pollrate         : 0.05
NIC ChangPollrate: 2.50
TC redundancy    : 2
MPR coverage     : 3
LQ level         : 2
LQ fish eye      : 1
LQ aging factor  : 0.050000
LQ algorithm name: default
NAT threshold    : 1.000000
Clear screen     : yes
Use niit         : yes
Smart Gateway    : no
SmGw. Allow NAT  : yes
SmGw. period     : 10000
SmGw. stablecount: 6
SmGw. threshold  : 0%
Smart Gw. Uplink : both
SmGw. Uplink NAT : yes
Smart Gw. speed  : 128 kbit/s up, 1024 kbit/s down
# Smart Gw. prefix : ::/0
 InterfaceDefaults:
        IPv4 broadcast/multicast : AUTO
        Mode           : mesh
        IPv6 multicast           : ff02::6d
        HELLO emission/validity  : 2.00/20.00
        TC emission/validity     : 5.00/300.00
        MID emission/validity    : 5.00/300.00
        HNA emission/validity    : 5.00/300.00
        Autodetect changes       : yes
 dev: "rl2_vlan4"
        IPv4 broadcast/multicast : AUTO (d)
        Mode           : mesh (d)
        IPv6 multicast           : ff02::6d (d)
        HELLO emission/validity  : 2.00/20.00
        TC emission/validity     : 5.00/30.00
        MID emission/validity    : 5.00/30.00
        HNA emission/validity    : 5.00/30.00
        Autodetect changes       : yes (d)
 dev: "rl2_vlan3"
        IPv4 broadcast/multicast : AUTO (d)
        Mode           : mesh (d)
        IPv6 multicast           : ff02::6d (d)
        HELLO emission/validity  : 2.00/20.00
        TC emission/validity     : 5.00/30.00
        MID emission/validity    : 5.00/30.00
        HNA emission/validity    : 5.00/30.00
        Autodetect changes       : yes (d)
Plugins:
        Name: "/usr/local/lib/olsrd_httpinfo.so.0.1"
Not using hysteresis
HNA4 entries:
        0.0.0.0/0.0.0.0
        10.27.0.0/255.255.255.0
Added 0.0.0.0 to IP deny set
Added 127.0.0.1 to IP deny set

 ---- Interface configuration ----

Checking rl2_vlan4:
        Not a wireless interface
        Metric: 32
        MTU - IPhdr: 1472
        Index 10
        Address:10.27.0.129
        Netmask:255.255.255.128
        Broadcast address:10.27.0.255
New main address: 10.27.0.129
Checking rl2_vlan3:
        Not a wireless interface
        Metric: 32
        MTU - IPhdr: 1472
        Index 11
        Address:172.27.0.1
        Netmask:255.255.255.0
        Broadcast address:172.27.0.255
Using 'etx_ff' algorithm for lq calculation.
TC: add entry 10.27.0.129
RIB: add prefix 10.27.0.129/32 from 10.27.0.129
---------- LOADING LIBRARY /usr/local/lib/olsrd_httpinfo.so.0.1 ----------
Httpinfo olsrd plugin 0.1 by Andreas Tonnesen
Checking plugin interface version:  5 - OK
Trying to fetch plugin init function: OK
Trying to fetch parameter table and it's size...
Sending parameters...
"Net"/" "... (HTTPINFO) unknown access restriction parameter:  !





Il giorno 02 novembre 2014 02:04, Stefano De Carlo <stefanauss a gmail.com>
ha scritto:

> Il 27 ottobre 2014 22:54, Michele Salerno <mikysal78 a gmail.com> ha
> scritto:
> > Stefanauss, quella riga non l'ho trovata.
> > Allego il file di che hai indicato.
> > Premetto che è la versione di pfsense 2.1.5 ed il pacchetto di olsr è la
> > versione 1.0.1
> >
>
> Ciao Michele,
>
> niente, non la trovi perchè (finalmente!) hanno fixato il bug. Quindi
> non è quello il problema.
>
> Spulciando il thread ho notato che log dell'errore non ne hai postati.
> Per far partire al boot OLSR su pfSense conviene avviarlo nel
> "pfSense-way", lasciando che faccia le sue cose e semplicemente
> moddando quello che serve.
>
> Fai cosi:
> - Disabilita il tuo avvio manuale
> - Configura pfSense da GUI con le opzioni che ti interessano
> - Fai enable, e chiaramente non ti parte
> - vai da terminale e manda
>
> olsrd -f /var/etc/olsr.conf
>
> e incolla qui in lista l'output.
> È rilevante perchè in questo caso /var/etc/olsr.conf è il file
> autogenerato da /usr/local/pkg/olsrd.inc, quindi l'output dovrebbe
> contenere indizi sul problema che impedisce l'autoboot del demone.
>
> Stefanauss.
> _______________________________________________
> Wireless mailing list
> Wireless a ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/wireless
>



-- 
Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si
precisa che le informazioni contenute in questo messaggio sono riservate e
ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse
pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non
inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.

Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy
Code), may contain confidential and/or privileged information. If you are
not the addressee or authorized to receive this for the addressee, you must
not use, copy, disclose or take any action based on this message or any
information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.
Thank you for your cooperation.
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://ml.ninux.org/pipermail/wireless/attachments/20141102/91364a5a/attachment-0001.html>


Maggiori informazioni sulla lista Wireless