[Ninux-Wireless] qualche progresso

Gioacchino gmazzurco89 a gmail.com
Sab 6 Mar 2010 03:36:45 CET


ho finito gli esperimenti con ipv4 con questi risultati:
1) Per funzionare bene olsr sul mio computer devo spegnere tutte le altre 
interfacce di rete
2) Il Nokia n810 riesce a collegarsi in modalita' adhoc con olsr a un nodo e 
riesce a fare tutto ma non sa che fare nel caso arrivi troppo bene il segnale 
di due nodi ( continuamente si disconnete da uno e si connette all'altro ) in 
oltre la batteria viene divorata con questa modalita' perche' l'interfaccia 
wifi viene usata continuamente anche quando non servirebbe ( bisognerebbe 
integrare olsr nel manaer della rete dell'n810 cosi' che quando non serve lo 
spenga e lo riaccenda all'occorrenza)
3) le due bullet funzionano perfettamente con entrambe le interfacce

Adesso sto cominciando a fare delle prove con ipv6 ho messo questi ip:
Computer mio: eth1 : fd7d:d7bb:2c97:dec3:0:18:f387:9494 ( non capisco bene 
perche quando faccio ifconfig appaiono due indirizzi ipv6:
  inet6 addr: fe80::218:f3ff:fe87:74f0/64 Scope:Link
  inet6 addr: fd7d:d7bb:2c97:dec3:0:18:f387:74f0/64 Scope:Global
)
Bullet2: 
ath0:  fd7d:d7bb:2c97:dec3:0:15:6dd4:f7d1
br-lan : fd7d:d7bb:2c97:dec3:0:15:6dd5:f7d1

anche qui quando faccio ifconfig appaiono due ip:
ath0:          inet6 addr: fe80::215:6dff:fed4:f7d1/64 Scope:Link
          inet6 addr: fd7d:d7bb:2c97:dec3:0:15:6dd4:f7d1/0 Scope:Global

br-lan:          inet6 addr: fd7d:d7bb:2c97:dec3:0:15:6dd5:f7d1/0 Scope:Global
          inet6 addr: fe80::20c2:2bff:fe74:25f/64 Scope:Link

quando cerco di avviare olsr sulla bullet mi dice questo:
root a OpenWrt:/etc# /etc/init.d/olsrd start  
root a OpenWrt:/etc# Join multicast send: Address already in use
Join multicast send: Address already in use

in allegato olsrd.conf della bullet

cosa sbaglio?




On Friday 05 March 2010 20:43:27 you wrote:
> Ora sono sull iPhone e nn riesco a leggere bene la topology cmq sia l
> indirizzo 169.254 e del protocollo ipv4ll (link logical) cioè un
> indirizzo fittizio per l autoconfigurazione degli apparati in una rete
> senza dhcp...come mai hai quell indirizzo?!? Puoi postare la config di
> olsr?!?
> 
> Stefano Pilla
> 
> Inviato da iPhone
> 
> Il giorno 05/mar/2010, alle ore 20.22, Gioacchino
> 
> <gmazzurco89 a gmail.com> ha scritto:
> > puo essere che si confonde?? che fa una specie di loop quando
> > nell'istradamento? riavviando olsr ecco la topology che mi fa!
> > 
> >       *** olsr.org - 0.5.6-r8 (2010-02-27 15:57:50 on HackLab) ***
> > 
> > --- 20:20:34.697401
> > ---------------------------------------------------- LINKS
> > 
> > IP address       hyst         LQ       ETX
> > 192.168.1.30     0.000  1.000/1.000    1.000
> > 
> > --- 20:20:34.697419 ----------------------- TWO-HOP NEIGHBORS
> > 
> > IP addr (2-hop)  IP addr (1-hop)  Total cost
> > 169.254.233.64   192.168.10.19    2.000
> > 
> > --- 20:20:34.697430
> > ------------------------------------------------- TOPOLOGY
> > 
> > Source IP addr  Dest IP addr          LQ        ETX
> > 192.168.1.3     192.168.10.19   1.000/1.000    1.000         <------
> > notare
> > 192.168.10.19   192.168.1.3     1.000/1.000    1.000         <------
> > notare
> > 192.168.10.19   169.254.233.64  1.000/1.000    1.000
> > 169.254.233.64  192.168.10.19   1.000/1.000    1.000
> > 
> > On Friday 05 March 2010 20:16:08 Pilla Stefano wrote:
> >> Perché nn posti la configurazione?!?
> >> 
> >> Stefano Pilla
> >> 
> >> Inviato da iPhone
> >> 
> >> Il giorno 05/mar/2010, alle ore 20.06, Gioacchino
> >> 
> >> <gmazzurco89 a gmail.com> ha scritto:
> >>> adesso olsr e' attivo pure sull'interfaccia ethernet mi arrivano
> >>> pure i
> >>> pacchetti olsr dall'indirizzo ip della scheda di rete della bullet
> >>> ma dal mio
> >>> computer ( che e' collegato via ethernet alla bullet e che ha anche
> >>> lui olsr
> >>> che spara pacchetti ) non riesco a pingare l'ip della scheda
> >>> wireless della
> >>> bullet o altri collegati alla bullet via wireless ( siamo tutti con
> >>> olsr che
> >>> spara pacchetti compreso il mio computer )
> >>> 
> >>> cosa pensate che non va ?
> >>> 
> >>> On Friday 05 March 2010 10:16:18 you wrote:
> >>>> Il 05/03/10 03.24, Gioacchino ha scritto:
> >>>>> adesso la bullet e l'n810 si pingano il problema era che la
> >>>>> versione di
> >>>>> olsr sull'n810 non usa 255.255.255.255 come broadcast di default!
> >>>>> 
> >>>>> adesso devo vedere di far andare olsr sulla lan della bullet...
> >>>> 
> >>>> ma se nell'olsr.conf gli metti tra le interfacce anche la lan non
> >>>> funziona?
> >>>> 
> >>>> quelle che non inviano traffico olsr si chiamano tecnicamente HNA e
> >>>> nel
> >>>> file olsr.conf c'è una sezione dove specificare quali interfac
> >>>> ce non
> >>>> devono parlare olsr. Tra l'altro anche nell'mdns plug-in dovrai
> >>>> speficare le interfacce HNA...
> >>>> 
> >>>> Stefano
-------------- parte successiva --------------
#
# OLSR.org routing daemon config file
#
# Lines starting with a # are discarded
#

# Debug level(0-9)
# If set to 0 the daemon runs in the background
DebugLevel	1

# IP version to use (4 or 6)
IpVersion	6

Hna4
{
# Internet gateway
#    0.0.0.0   0.0.0.0

# specific small networks reachable through this node
#    15.15.0.0 255.255.255.0
#    15.16.0.0 255.255.255.0
}

# HNA IPv6 routes
# syntax: netaddr prefix
# Example Internet gateway:
#Hna6
#{
# Internet gateway
#     ::              0

# specific small networks reachable through this node
#    fec0:2200:106:0:0:0:0:0 48
#}


IpcConnect
{
     # Determines how many simultaneously
     # IPC connections that will be allowed
     # Setting this to 0 disables IPC

     # MaxConnections  0

     # By default only 127.0.0.1 is allowed
     # to connect. Here allowed hosts can
     # be added

     # Host            127.0.0.1
     # Host            10.0.0.5

     # Specify entire net-ranges that are 
     # allowed to connect

     # Net             192.168.1.0 255.255.255.0     
}

LinkQualityFishEye	0

# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH 
#   environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
#
# the examples in this list are for linux, so check if the plugin is
# available if you use windows/BSD.

Interface "ath0"
{
    # Interface Mode is used to prevent unnecessary
    # packet forwarding on switched ethernet interfaces
    # valid Modes are "mesh" and "ether"
    # The default value is mesh!

    # Mode "mesh"

    # IPv4 broadcast address to use. The
    # one usefull example would be 255.255.255.255
    # If not defined the broadcastaddress
    # every card is configured with is used
    # The second useful value would be to
    # specify the peer adress of an ptp-tunnel.
    # another name of this parameter is "IPv4Multicast"
 
    #Ip4Broadcast      255.255.255.255

    # IPv6 multicast address
    # If not defined, FF02::1 is used

    #IPv6Multicast	FF02::1

		# IPv4 src address
    # If not defined (0.0.0.0), the interface IP is used
		
		# IPv4Src 0.0.0.0
		
		# IPv6 src prefix.
		# If not defined (::/0), a not-linklocal interface IP is used
		
		# IPv6Src ::/0
		
    # Emission intervals.
    # If not defined, RFC proposed values will
    # be used in most cases.

    # Hello interval in seconds(float)
    # HelloInterval    2.0

    # HELLO validity time
    # HelloValidityTime	20.0

    # TC interval in seconds(float)
    # TcInterval        5.0

    # TC validity time
    # TcValidityTime	300.0

    # MID interval in seconds(float)
    # MidInterval	5.0

    # MID validity time
    # MidValidityTime	300.0

    # HNA interval in seconds(float)
    # HnaInterval	5.0

    # HNA validity time
    # HnaValidityTime 	300.0
    
    # When multiple links exist between hosts
    # the weight of interface is used to determine
    # the link to use. Normally the weight is
    # automatically calculated by olsrd based
    # on the characteristics of the interface,
    # but here you can specify a fixed value.
    # Olsrd will choose links with the lowest value.
    # Note:
    # Interface weight is used only when LinkQualityLevel is set to 0.
    # For any other value of LinkQualityLevel, the interface ETX
    # value is used instead.
    # Weight 0


    # If a certain route should be preferred 
    # or ignored by the mesh, the Link Quality 
    # value of a node can be multiplied with a factor 
    # entered here. In the example the route 
    # using 192.168.0.1 would rather be ignored.
    # A multiplier of 0.5 will result in a small
    # (bad) LinkQuality value and a high (bad)
    # ETX value.
    # Note:
    # Link quality multiplier is used only when
    # LinkQualityLevel is > 0.

    # Example 1: LinkQualityMult 192.168.0.1 0.5

    # This multiplier applies to all other nodes 
    # Example 2: LinkQualityMult default 0.8
}

# another Interface (with different configs)
Interface "br-lan"
{
    # IPv4 broadcast address to use. 
    # One usefull example would be 255.255.255.255
    # If not defined the broadcastaddress of
    # every interface which has one configured gets used
    # The second useful value would be to 
    # specify the peer adress of an ptp-tunnel

    #IPv4Multicast	255.255.255.255

    # Interface Mode is used to prevent unnecessary
    # packet forwardin on switched ethernet interfaces
    # valid Modes are "mesh" and "ether"
    # The default value is mesh!

    #Mode "ether"
}


Maggiori informazioni sulla lista Wireless