[WLANware] olsrd init patch für ipv6 und ipv4

Patrick patrick at lunatiki.de
Wed Jan 16 12:44:11 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

This Patch is Freifunk Berlin related.

IPv6 Config:

replace ipv4 with ipv6 wildcard.
's/0.0.0.0/::/'

delete all ipv4 addr
'/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/d'

New metric for ipv6. It is for etx value 0.100 on ether interfaces.
This is also in the freifunk white russian firmware from sven-ola.
http://ipkg.berlin.freifunk.net/RELNOTES

Metric    Iface LQ  NLQ ETX
etx_ff    lan   1.0 1.0 1.0
etx_ffeth lan   1.0 1.0 0.1

's/etx_ff/etx_ffeth/'


remove NatThreshold
olsr doc:
# WARNING: This parameter should not be used together with
# the etx_ffeth metric !!
'/NatThreshold/d'

I don't need routing Tables on ipv6
'/RtTable/d'


IPv4 Config:

Remove ipv6 addr in the nameservice section.
's/^\tPlParam \"[A-Fa-f0-9.:]*[:][A-Fa-f0-9.:].*//'


Remove interface mode ether. It is only for etx_ffeth on ipv6.
's/ether/mesh/'

@soma
I think the dualstack olsr is only temporary.
I want only one configuration file.

Greetings
                Patrick


Am 16.01.13 11:38, schrieb Saverio Proto:
> Hello,
> 
> I maintain the olsrd package in OpenWRT. I will be happy to test
> and review your patch.
> 
> can you write in English so I can understand the meaning of your
> patch ?
> 
> thanks
> 
> Saverio
> 
> 
> 2013/1/15 Patrick <patrick at lunatiki.de>: Hi
> 
> Das patch [AA] fügt sed regex ein um die verschiedenen config 
> parameter fuer ipv4 und ipv6 aus zu tauschen.
> 
> 
> IPv6 Config:
> 
> wildcard 's/0.0.0.0/::/'
> 
> alles was nach ipv4 aussieht loeschen 
> '/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/d'
> 
> Neue metric fuer ipv6 's/etx_ff/etx_ffeth/'
> 
> NatThreshold entfernen. (Weis gerade nicht mehr warum) 
> '/NatThreshold/d'
> 
> Routing Tabellen brauch ich bei ipv4 wegen den ganzen nicht PI
> Netzen im Freifunk. Bei ipv6 ist es eher eine unnötige
> Fehlerquelle. '/RtTable/d'
> 
> 
> IPv4 Config:
> 
> in nameservice PlParm kann auch eine ipv6 adresse stehen. 
> 's/^\tPlParam \"[A-Fa-f0-9.:]*[:][A-Fa-f0-9.:].*//'
> 
> Interface mode ether gibt es nur bei der etx_ffeth Metric und die 
> wollen wir nur bei ipv6 's/ether/mesh/'
> 
> 
> Gruss Patrick
>> 
>> _______________________________________________ WLANware mailing
>> list WLANware at freifunk.net Abonnement abbestellen? ->
>> http://lists.freifunk.net/mailman/listinfo/wlanware-freifunk.net
>> 
>> Weitere Infos zu den freifunk.net Mailinglisten und zur An- und
>> Abmeldung unter http://freifunk.net/mailinglisten
> _______________________________________________ WLANware mailing
> list WLANware at freifunk.net Abonnement abbestellen? ->
> http://lists.freifunk.net/mailman/listinfo/wlanware-freifunk.net
> 
> Weitere Infos zu den freifunk.net Mailinglisten und zur An- und
> Abmeldung unter http://freifunk.net/mailinglisten
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD2kosACgkQr9m0OkMZoqSAxACdG8I5d25Oh+RTJjpvFh9t4bI1
G0oAn0vQH8yvaXWAu1SReBRsrKih0mQW
=SX8P
-----END PGP SIGNATURE-----


More information about the WLANware mailing list